@letta-ai/letta-client 0.1.47 → 0.1.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/agents/client/Client.d.ts +27 -0
- package/api/resources/agents/client/Client.js +142 -8
- package/api/resources/agents/client/requests/BodyUploadAgentSerialized.d.ts +13 -0
- package/api/resources/agents/client/requests/BodyUploadAgentSerialized.js +5 -0
- package/api/resources/agents/client/requests/index.d.ts +1 -0
- package/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/api/resources/agents/resources/context/client/Client.js +1 -1
- package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/api/resources/agents/resources/messages/client/Client.js +5 -5
- package/api/resources/agents/resources/passages/client/Client.js +3 -3
- package/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItem.d.ts +1 -0
- package/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemArgsJsonSchema.d.ts +5 -0
- package/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemArgsJsonSchema.js +5 -0
- package/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemArgsJsonSchemaItem.d.ts +4 -0
- package/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemArgsJsonSchemaItem.js +5 -0
- package/api/resources/agents/types/index.d.ts +2 -0
- package/api/resources/agents/types/index.js +2 -0
- package/api/resources/blocks/client/Client.js +6 -6
- package/api/resources/health/client/Client.js +1 -1
- package/api/resources/identities/client/Client.js +6 -6
- package/api/resources/jobs/client/Client.js +4 -4
- package/api/resources/models/client/Client.js +2 -2
- package/api/resources/providers/client/Client.js +4 -4
- package/api/resources/runs/client/Client.d.ts +23 -0
- package/api/resources/runs/client/Client.js +97 -6
- package/api/resources/runs/client/requests/ListRunStepsRequest.d.ts +25 -0
- package/api/resources/runs/client/requests/ListRunStepsRequest.js +5 -0
- package/api/resources/runs/client/requests/index.d.ts +1 -0
- package/api/resources/sources/client/Client.js +6 -6
- package/api/resources/sources/resources/files/client/Client.js +3 -3
- package/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/api/resources/steps/client/Client.js +2 -2
- package/api/resources/tag/client/Client.js +1 -1
- package/api/resources/templates/client/Client.js +1 -1
- package/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolsItem.d.ts +1 -0
- package/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchema.d.ts +5 -0
- package/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchema.js +5 -0
- package/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchemaItem.d.ts +4 -0
- package/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchemaItem.js +5 -0
- package/api/resources/templates/types/index.d.ts +2 -0
- package/api/resources/templates/types/index.js +2 -0
- package/api/resources/tools/client/Client.js +11 -11
- package/api/resources/tools/client/requests/ToolRunFromSource.d.ts +2 -0
- package/api/resources/tools/client/requests/ToolUpdate.d.ts +2 -0
- package/api/resources/voice/client/Client.js +1 -1
- package/api/types/CompletionCreateParamsNonStreamingModel.d.ts +1 -1
- package/api/types/CompletionCreateParamsStreamingModel.d.ts +1 -1
- package/api/types/Tool.d.ts +2 -0
- package/api/types/ToolCreate.d.ts +2 -0
- package/core/index.d.ts +1 -1
- package/core/index.js +1 -1
- package/dist/api/resources/agents/client/Client.d.ts +27 -0
- package/dist/api/resources/agents/client/Client.js +142 -8
- package/dist/api/resources/agents/client/requests/BodyUploadAgentSerialized.d.ts +13 -0
- package/dist/api/resources/agents/client/requests/BodyUploadAgentSerialized.js +5 -0
- package/dist/api/resources/agents/client/requests/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/messages/client/Client.js +5 -5
- package/dist/api/resources/agents/resources/passages/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItem.d.ts +1 -0
- package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemArgsJsonSchema.d.ts +5 -0
- package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemArgsJsonSchema.js +5 -0
- package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemArgsJsonSchemaItem.d.ts +4 -0
- package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemArgsJsonSchemaItem.js +5 -0
- package/dist/api/resources/agents/types/index.d.ts +2 -0
- package/dist/api/resources/agents/types/index.js +2 -0
- package/dist/api/resources/blocks/client/Client.js +6 -6
- package/dist/api/resources/health/client/Client.js +1 -1
- package/dist/api/resources/identities/client/Client.js +6 -6
- package/dist/api/resources/jobs/client/Client.js +4 -4
- package/dist/api/resources/models/client/Client.js +2 -2
- package/dist/api/resources/providers/client/Client.js +4 -4
- package/dist/api/resources/runs/client/Client.d.ts +23 -0
- package/dist/api/resources/runs/client/Client.js +97 -6
- package/dist/api/resources/runs/client/requests/ListRunStepsRequest.d.ts +25 -0
- package/dist/api/resources/runs/client/requests/ListRunStepsRequest.js +5 -0
- package/dist/api/resources/runs/client/requests/index.d.ts +1 -0
- package/dist/api/resources/sources/client/Client.js +6 -6
- package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
- package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/dist/api/resources/steps/client/Client.js +2 -2
- package/dist/api/resources/tag/client/Client.js +1 -1
- package/dist/api/resources/templates/client/Client.js +1 -1
- package/dist/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolsItem.d.ts +1 -0
- package/dist/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchema.d.ts +5 -0
- package/dist/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchema.js +5 -0
- package/dist/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchemaItem.d.ts +4 -0
- package/dist/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchemaItem.js +5 -0
- package/dist/api/resources/templates/types/index.d.ts +2 -0
- package/dist/api/resources/templates/types/index.js +2 -0
- package/dist/api/resources/tools/client/Client.js +11 -11
- package/dist/api/resources/tools/client/requests/ToolRunFromSource.d.ts +2 -0
- package/dist/api/resources/tools/client/requests/ToolUpdate.d.ts +2 -0
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/api/types/CompletionCreateParamsNonStreamingModel.d.ts +1 -1
- package/dist/api/types/CompletionCreateParamsStreamingModel.d.ts +1 -1
- package/dist/api/types/Tool.d.ts +2 -0
- package/dist/api/types/ToolCreate.d.ts +2 -0
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.js +1 -1
- package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItem.d.ts +2 -0
- package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItem.js +2 -0
- package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemArgsJsonSchema.d.ts +11 -0
- package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemArgsJsonSchema.js +46 -0
- package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemArgsJsonSchemaItem.d.ts +10 -0
- package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemArgsJsonSchemaItem.js +41 -0
- package/dist/serialization/resources/agents/types/index.d.ts +2 -0
- package/dist/serialization/resources/agents/types/index.js +2 -0
- package/dist/serialization/resources/runs/client/index.d.ts +1 -0
- package/dist/serialization/resources/runs/client/index.js +2 -1
- package/dist/serialization/resources/runs/client/listRunSteps.d.ts +11 -0
- package/dist/serialization/resources/runs/client/listRunSteps.js +42 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolsItem.d.ts +2 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolsItem.js +2 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchema.d.ts +11 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchema.js +46 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchemaItem.d.ts +10 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchemaItem.js +41 -0
- package/dist/serialization/resources/templates/types/index.d.ts +2 -0
- package/dist/serialization/resources/templates/types/index.js +2 -0
- package/dist/serialization/resources/tools/client/requests/ToolRunFromSource.d.ts +1 -0
- package/dist/serialization/resources/tools/client/requests/ToolRunFromSource.js +1 -0
- package/dist/serialization/resources/tools/client/requests/ToolUpdate.d.ts +1 -0
- package/dist/serialization/resources/tools/client/requests/ToolUpdate.js +1 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingModel.d.ts +1 -1
- package/dist/serialization/types/CompletionCreateParamsNonStreamingModel.js +2 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingModel.d.ts +1 -1
- package/dist/serialization/types/CompletionCreateParamsStreamingModel.js +2 -0
- package/dist/serialization/types/Tool.d.ts +1 -0
- package/dist/serialization/types/Tool.js +1 -0
- package/dist/serialization/types/ToolCreate.d.ts +1 -0
- package/dist/serialization/types/ToolCreate.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +215 -0
- package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItem.d.ts +2 -0
- package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItem.js +2 -0
- package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemArgsJsonSchema.d.ts +11 -0
- package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemArgsJsonSchema.js +46 -0
- package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemArgsJsonSchemaItem.d.ts +10 -0
- package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolsItemArgsJsonSchemaItem.js +41 -0
- package/serialization/resources/agents/types/index.d.ts +2 -0
- package/serialization/resources/agents/types/index.js +2 -0
- package/serialization/resources/runs/client/index.d.ts +1 -0
- package/serialization/resources/runs/client/index.js +2 -1
- package/serialization/resources/runs/client/listRunSteps.d.ts +11 -0
- package/serialization/resources/runs/client/listRunSteps.js +42 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolsItem.d.ts +2 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolsItem.js +2 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchema.d.ts +11 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchema.js +46 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchemaItem.d.ts +10 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchemaItem.js +41 -0
- package/serialization/resources/templates/types/index.d.ts +2 -0
- package/serialization/resources/templates/types/index.js +2 -0
- package/serialization/resources/tools/client/requests/ToolRunFromSource.d.ts +1 -0
- package/serialization/resources/tools/client/requests/ToolRunFromSource.js +1 -0
- package/serialization/resources/tools/client/requests/ToolUpdate.d.ts +1 -0
- package/serialization/resources/tools/client/requests/ToolUpdate.js +1 -0
- package/serialization/types/CompletionCreateParamsNonStreamingModel.d.ts +1 -1
- package/serialization/types/CompletionCreateParamsNonStreamingModel.js +2 -0
- package/serialization/types/CompletionCreateParamsStreamingModel.d.ts +1 -1
- package/serialization/types/CompletionCreateParamsStreamingModel.js +2 -0
- package/serialization/types/Tool.d.ts +1 -0
- package/serialization/types/Tool.js +1 -0
- package/serialization/types/ToolCreate.d.ts +1 -0
- package/serialization/types/ToolCreate.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.AgentsSearchResponseAgentsItemToolsItemArgsJsonSchemaItem = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.AgentsSearchResponseAgentsItemToolsItemArgsJsonSchemaItem = core.serialization.undiscriminatedUnion([core.serialization.unknown(), core.serialization.string().optional()]);
|
|
@@ -111,6 +111,8 @@ export * from "./AgentsSearchResponseAgentsItemToolsItemSourceCodeItem";
|
|
|
111
111
|
export * from "./AgentsSearchResponseAgentsItemToolsItemSourceCode";
|
|
112
112
|
export * from "./AgentsSearchResponseAgentsItemToolsItemJsonSchemaItem";
|
|
113
113
|
export * from "./AgentsSearchResponseAgentsItemToolsItemJsonSchema";
|
|
114
|
+
export * from "./AgentsSearchResponseAgentsItemToolsItemArgsJsonSchemaItem";
|
|
115
|
+
export * from "./AgentsSearchResponseAgentsItemToolsItemArgsJsonSchema";
|
|
114
116
|
export * from "./AgentsSearchResponseAgentsItemToolsItemCreatedByIdItem";
|
|
115
117
|
export * from "./AgentsSearchResponseAgentsItemToolsItemCreatedById";
|
|
116
118
|
export * from "./AgentsSearchResponseAgentsItemToolsItemLastUpdatedByIdItem";
|
|
@@ -127,6 +127,8 @@ __exportStar(require("./AgentsSearchResponseAgentsItemToolsItemSourceCodeItem"),
|
|
|
127
127
|
__exportStar(require("./AgentsSearchResponseAgentsItemToolsItemSourceCode"), exports);
|
|
128
128
|
__exportStar(require("./AgentsSearchResponseAgentsItemToolsItemJsonSchemaItem"), exports);
|
|
129
129
|
__exportStar(require("./AgentsSearchResponseAgentsItemToolsItemJsonSchema"), exports);
|
|
130
|
+
__exportStar(require("./AgentsSearchResponseAgentsItemToolsItemArgsJsonSchemaItem"), exports);
|
|
131
|
+
__exportStar(require("./AgentsSearchResponseAgentsItemToolsItemArgsJsonSchema"), exports);
|
|
130
132
|
__exportStar(require("./AgentsSearchResponseAgentsItemToolsItemCreatedByIdItem"), exports);
|
|
131
133
|
__exportStar(require("./AgentsSearchResponseAgentsItemToolsItemCreatedById"), exports);
|
|
132
134
|
__exportStar(require("./AgentsSearchResponseAgentsItemToolsItemLastUpdatedByIdItem"), exports);
|
|
@@ -33,7 +33,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.listRunMessages = exports.listActiveRuns = exports.listRuns = void 0;
|
|
36
|
+
exports.listRunSteps = exports.listRunMessages = exports.listActiveRuns = exports.listRuns = void 0;
|
|
37
37
|
exports.listRuns = __importStar(require("./listRuns"));
|
|
38
38
|
exports.listActiveRuns = __importStar(require("./listActiveRuns"));
|
|
39
39
|
exports.listRunMessages = __importStar(require("./listRunMessages"));
|
|
40
|
+
exports.listRunSteps = __importStar(require("./listRunSteps"));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Letta from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { Step } from "../../../types/Step";
|
|
8
|
+
export declare const Response: core.serialization.Schema<serializers.runs.listRunSteps.Response.Raw, Letta.Step[]>;
|
|
9
|
+
export declare namespace Response {
|
|
10
|
+
type Raw = Step.Raw[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.Response = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const Step_1 = require("../../../types/Step");
|
|
42
|
+
exports.Response = core.serialization.list(Step_1.Step);
|
|
@@ -11,6 +11,7 @@ import { TemplatesCreateAgentsResponseAgentsItemToolsItemOrganizationId } from "
|
|
|
11
11
|
import { TemplatesCreateAgentsResponseAgentsItemToolsItemName } from "./TemplatesCreateAgentsResponseAgentsItemToolsItemName";
|
|
12
12
|
import { TemplatesCreateAgentsResponseAgentsItemToolsItemSourceCode } from "./TemplatesCreateAgentsResponseAgentsItemToolsItemSourceCode";
|
|
13
13
|
import { TemplatesCreateAgentsResponseAgentsItemToolsItemJsonSchema } from "./TemplatesCreateAgentsResponseAgentsItemToolsItemJsonSchema";
|
|
14
|
+
import { TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchema } from "./TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchema";
|
|
14
15
|
import { TemplatesCreateAgentsResponseAgentsItemToolsItemCreatedById } from "./TemplatesCreateAgentsResponseAgentsItemToolsItemCreatedById";
|
|
15
16
|
import { TemplatesCreateAgentsResponseAgentsItemToolsItemLastUpdatedById } from "./TemplatesCreateAgentsResponseAgentsItemToolsItemLastUpdatedById";
|
|
16
17
|
export declare const TemplatesCreateAgentsResponseAgentsItemToolsItem: core.serialization.ObjectSchema<serializers.TemplatesCreateAgentsResponseAgentsItemToolsItem.Raw, Letta.TemplatesCreateAgentsResponseAgentsItemToolsItem>;
|
|
@@ -25,6 +26,7 @@ export declare namespace TemplatesCreateAgentsResponseAgentsItemToolsItem {
|
|
|
25
26
|
tags?: string[] | null;
|
|
26
27
|
source_code?: TemplatesCreateAgentsResponseAgentsItemToolsItemSourceCode.Raw | null;
|
|
27
28
|
json_schema?: TemplatesCreateAgentsResponseAgentsItemToolsItemJsonSchema.Raw | null;
|
|
29
|
+
args_json_schema?: TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchema.Raw | null;
|
|
28
30
|
return_char_limit?: number | null;
|
|
29
31
|
created_by_id?: TemplatesCreateAgentsResponseAgentsItemToolsItemCreatedById.Raw | null;
|
|
30
32
|
last_updated_by_id?: TemplatesCreateAgentsResponseAgentsItemToolsItemLastUpdatedById.Raw | null;
|
package/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolsItem.js
CHANGED
|
@@ -45,6 +45,7 @@ const TemplatesCreateAgentsResponseAgentsItemToolsItemOrganizationId_1 = require
|
|
|
45
45
|
const TemplatesCreateAgentsResponseAgentsItemToolsItemName_1 = require("./TemplatesCreateAgentsResponseAgentsItemToolsItemName");
|
|
46
46
|
const TemplatesCreateAgentsResponseAgentsItemToolsItemSourceCode_1 = require("./TemplatesCreateAgentsResponseAgentsItemToolsItemSourceCode");
|
|
47
47
|
const TemplatesCreateAgentsResponseAgentsItemToolsItemJsonSchema_1 = require("./TemplatesCreateAgentsResponseAgentsItemToolsItemJsonSchema");
|
|
48
|
+
const TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchema_1 = require("./TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchema");
|
|
48
49
|
const TemplatesCreateAgentsResponseAgentsItemToolsItemCreatedById_1 = require("./TemplatesCreateAgentsResponseAgentsItemToolsItemCreatedById");
|
|
49
50
|
const TemplatesCreateAgentsResponseAgentsItemToolsItemLastUpdatedById_1 = require("./TemplatesCreateAgentsResponseAgentsItemToolsItemLastUpdatedById");
|
|
50
51
|
exports.TemplatesCreateAgentsResponseAgentsItemToolsItem = core.serialization.object({
|
|
@@ -57,6 +58,7 @@ exports.TemplatesCreateAgentsResponseAgentsItemToolsItem = core.serialization.ob
|
|
|
57
58
|
tags: core.serialization.list(core.serialization.string()).optional(),
|
|
58
59
|
sourceCode: core.serialization.property("source_code", TemplatesCreateAgentsResponseAgentsItemToolsItemSourceCode_1.TemplatesCreateAgentsResponseAgentsItemToolsItemSourceCode.optional()),
|
|
59
60
|
jsonSchema: core.serialization.property("json_schema", TemplatesCreateAgentsResponseAgentsItemToolsItemJsonSchema_1.TemplatesCreateAgentsResponseAgentsItemToolsItemJsonSchema.optional()),
|
|
61
|
+
argsJsonSchema: core.serialization.property("args_json_schema", TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchema_1.TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchema.optional()),
|
|
60
62
|
returnCharLimit: core.serialization.property("return_char_limit", core.serialization.number().optional()),
|
|
61
63
|
createdById: core.serialization.property("created_by_id", TemplatesCreateAgentsResponseAgentsItemToolsItemCreatedById_1.TemplatesCreateAgentsResponseAgentsItemToolsItemCreatedById.optional()),
|
|
62
64
|
lastUpdatedById: core.serialization.property("last_updated_by_id", TemplatesCreateAgentsResponseAgentsItemToolsItemLastUpdatedById_1.TemplatesCreateAgentsResponseAgentsItemToolsItemLastUpdatedById.optional()),
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Letta from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchemaItem } from "./TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchemaItem";
|
|
8
|
+
export declare const TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchema: core.serialization.Schema<serializers.TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchema.Raw, Letta.TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchema>;
|
|
9
|
+
export declare namespace TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchema {
|
|
10
|
+
type Raw = unknown | (string | null | undefined) | (TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchemaItem.Raw | null | undefined)[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchema = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchemaItem_1 = require("./TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchemaItem");
|
|
42
|
+
exports.TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchema = core.serialization.undiscriminatedUnion([
|
|
43
|
+
core.serialization.unknown(),
|
|
44
|
+
core.serialization.string().optional(),
|
|
45
|
+
core.serialization.list(TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchemaItem_1.TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchemaItem.optional()),
|
|
46
|
+
]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Letta from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchemaItem: core.serialization.Schema<serializers.TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchemaItem.Raw, Letta.TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchemaItem>;
|
|
8
|
+
export declare namespace TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchemaItem {
|
|
9
|
+
type Raw = unknown | (string | null | undefined);
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchemaItem = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchemaItem = core.serialization.undiscriminatedUnion([core.serialization.unknown(), core.serialization.string().optional()]);
|
|
@@ -104,6 +104,8 @@ export * from "./TemplatesCreateAgentsResponseAgentsItemToolsItemSourceCodeItem"
|
|
|
104
104
|
export * from "./TemplatesCreateAgentsResponseAgentsItemToolsItemSourceCode";
|
|
105
105
|
export * from "./TemplatesCreateAgentsResponseAgentsItemToolsItemJsonSchemaItem";
|
|
106
106
|
export * from "./TemplatesCreateAgentsResponseAgentsItemToolsItemJsonSchema";
|
|
107
|
+
export * from "./TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchemaItem";
|
|
108
|
+
export * from "./TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchema";
|
|
107
109
|
export * from "./TemplatesCreateAgentsResponseAgentsItemToolsItemCreatedByIdItem";
|
|
108
110
|
export * from "./TemplatesCreateAgentsResponseAgentsItemToolsItemCreatedById";
|
|
109
111
|
export * from "./TemplatesCreateAgentsResponseAgentsItemToolsItemLastUpdatedByIdItem";
|
|
@@ -120,6 +120,8 @@ __exportStar(require("./TemplatesCreateAgentsResponseAgentsItemToolsItemSourceCo
|
|
|
120
120
|
__exportStar(require("./TemplatesCreateAgentsResponseAgentsItemToolsItemSourceCode"), exports);
|
|
121
121
|
__exportStar(require("./TemplatesCreateAgentsResponseAgentsItemToolsItemJsonSchemaItem"), exports);
|
|
122
122
|
__exportStar(require("./TemplatesCreateAgentsResponseAgentsItemToolsItemJsonSchema"), exports);
|
|
123
|
+
__exportStar(require("./TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchemaItem"), exports);
|
|
124
|
+
__exportStar(require("./TemplatesCreateAgentsResponseAgentsItemToolsItemArgsJsonSchema"), exports);
|
|
123
125
|
__exportStar(require("./TemplatesCreateAgentsResponseAgentsItemToolsItemCreatedByIdItem"), exports);
|
|
124
126
|
__exportStar(require("./TemplatesCreateAgentsResponseAgentsItemToolsItemCreatedById"), exports);
|
|
125
127
|
__exportStar(require("./TemplatesCreateAgentsResponseAgentsItemToolsItemLastUpdatedByIdItem"), exports);
|
|
@@ -44,4 +44,5 @@ exports.ToolRunFromSource = core.serialization.object({
|
|
|
44
44
|
envVars: core.serialization.property("env_vars", core.serialization.record(core.serialization.string(), core.serialization.string()).optional()),
|
|
45
45
|
name: core.serialization.string().optional(),
|
|
46
46
|
sourceType: core.serialization.property("source_type", core.serialization.string().optional()),
|
|
47
|
+
argsJsonSchema: core.serialization.property("args_json_schema", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
47
48
|
});
|
|
@@ -44,5 +44,6 @@ exports.ToolUpdate = core.serialization.object({
|
|
|
44
44
|
sourceCode: core.serialization.property("source_code", core.serialization.string().optional()),
|
|
45
45
|
sourceType: core.serialization.property("source_type", core.serialization.string().optional()),
|
|
46
46
|
jsonSchema: core.serialization.property("json_schema", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
47
|
+
argsJsonSchema: core.serialization.property("args_json_schema", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
47
48
|
returnCharLimit: core.serialization.property("return_char_limit", core.serialization.number().optional()),
|
|
48
49
|
});
|
|
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const CompletionCreateParamsNonStreamingModel: core.serialization.Schema<serializers.CompletionCreateParamsNonStreamingModel.Raw, Letta.CompletionCreateParamsNonStreamingModel>;
|
|
8
8
|
export declare namespace CompletionCreateParamsNonStreamingModel {
|
|
9
|
-
type Raw = string | "o3-mini" | "o3-mini-2025-01-31" | "o1" | "o1-2024-12-17" | "o1-preview" | "o1-preview-2024-09-12" | "o1-mini" | "o1-mini-2024-09-12" | "gpt-4o" | "gpt-4o-2024-11-20" | "gpt-4o-2024-08-06" | "gpt-4o-2024-05-13" | "gpt-4o-audio-preview" | "gpt-4o-audio-preview-2024-10-01" | "gpt-4o-audio-preview-2024-12-17" | "gpt-4o-mini-audio-preview" | "gpt-4o-mini-audio-preview-2024-12-17" | "chatgpt-4o-latest" | "gpt-4o-mini" | "gpt-4o-mini-2024-07-18" | "gpt-4-turbo" | "gpt-4-turbo-2024-04-09" | "gpt-4-0125-preview" | "gpt-4-turbo-preview" | "gpt-4-1106-preview" | "gpt-4-vision-preview" | "gpt-4" | "gpt-4-0314" | "gpt-4-0613" | "gpt-4-32k" | "gpt-4-32k-0314" | "gpt-4-32k-0613" | "gpt-3.5-turbo" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo-0301" | "gpt-3.5-turbo-0613" | "gpt-3.5-turbo-1106" | "gpt-3.5-turbo-0125" | "gpt-3.5-turbo-16k-0613";
|
|
9
|
+
type Raw = string | "o3-mini" | "o3-mini-2025-01-31" | "o1" | "o1-2024-12-17" | "o1-preview" | "o1-preview-2024-09-12" | "o1-mini" | "o1-mini-2024-09-12" | "gpt-4.5-preview" | "gpt-4.5-preview-2025-02-27" | "gpt-4o" | "gpt-4o-2024-11-20" | "gpt-4o-2024-08-06" | "gpt-4o-2024-05-13" | "gpt-4o-audio-preview" | "gpt-4o-audio-preview-2024-10-01" | "gpt-4o-audio-preview-2024-12-17" | "gpt-4o-mini-audio-preview" | "gpt-4o-mini-audio-preview-2024-12-17" | "chatgpt-4o-latest" | "gpt-4o-mini" | "gpt-4o-mini-2024-07-18" | "gpt-4-turbo" | "gpt-4-turbo-2024-04-09" | "gpt-4-0125-preview" | "gpt-4-turbo-preview" | "gpt-4-1106-preview" | "gpt-4-vision-preview" | "gpt-4" | "gpt-4-0314" | "gpt-4-0613" | "gpt-4-32k" | "gpt-4-32k-0314" | "gpt-4-32k-0613" | "gpt-3.5-turbo" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo-0301" | "gpt-3.5-turbo-0613" | "gpt-3.5-turbo-1106" | "gpt-3.5-turbo-0125" | "gpt-3.5-turbo-16k-0613";
|
|
10
10
|
}
|
|
@@ -48,6 +48,8 @@ exports.CompletionCreateParamsNonStreamingModel = core.serialization.undiscrimin
|
|
|
48
48
|
core.serialization.stringLiteral("o1-preview-2024-09-12"),
|
|
49
49
|
core.serialization.stringLiteral("o1-mini"),
|
|
50
50
|
core.serialization.stringLiteral("o1-mini-2024-09-12"),
|
|
51
|
+
core.serialization.stringLiteral("gpt-4.5-preview"),
|
|
52
|
+
core.serialization.stringLiteral("gpt-4.5-preview-2025-02-27"),
|
|
51
53
|
core.serialization.stringLiteral("gpt-4o"),
|
|
52
54
|
core.serialization.stringLiteral("gpt-4o-2024-11-20"),
|
|
53
55
|
core.serialization.stringLiteral("gpt-4o-2024-08-06"),
|
|
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const CompletionCreateParamsStreamingModel: core.serialization.Schema<serializers.CompletionCreateParamsStreamingModel.Raw, Letta.CompletionCreateParamsStreamingModel>;
|
|
8
8
|
export declare namespace CompletionCreateParamsStreamingModel {
|
|
9
|
-
type Raw = string | "o3-mini" | "o3-mini-2025-01-31" | "o1" | "o1-2024-12-17" | "o1-preview" | "o1-preview-2024-09-12" | "o1-mini" | "o1-mini-2024-09-12" | "gpt-4o" | "gpt-4o-2024-11-20" | "gpt-4o-2024-08-06" | "gpt-4o-2024-05-13" | "gpt-4o-audio-preview" | "gpt-4o-audio-preview-2024-10-01" | "gpt-4o-audio-preview-2024-12-17" | "gpt-4o-mini-audio-preview" | "gpt-4o-mini-audio-preview-2024-12-17" | "chatgpt-4o-latest" | "gpt-4o-mini" | "gpt-4o-mini-2024-07-18" | "gpt-4-turbo" | "gpt-4-turbo-2024-04-09" | "gpt-4-0125-preview" | "gpt-4-turbo-preview" | "gpt-4-1106-preview" | "gpt-4-vision-preview" | "gpt-4" | "gpt-4-0314" | "gpt-4-0613" | "gpt-4-32k" | "gpt-4-32k-0314" | "gpt-4-32k-0613" | "gpt-3.5-turbo" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo-0301" | "gpt-3.5-turbo-0613" | "gpt-3.5-turbo-1106" | "gpt-3.5-turbo-0125" | "gpt-3.5-turbo-16k-0613";
|
|
9
|
+
type Raw = string | "o3-mini" | "o3-mini-2025-01-31" | "o1" | "o1-2024-12-17" | "o1-preview" | "o1-preview-2024-09-12" | "o1-mini" | "o1-mini-2024-09-12" | "gpt-4.5-preview" | "gpt-4.5-preview-2025-02-27" | "gpt-4o" | "gpt-4o-2024-11-20" | "gpt-4o-2024-08-06" | "gpt-4o-2024-05-13" | "gpt-4o-audio-preview" | "gpt-4o-audio-preview-2024-10-01" | "gpt-4o-audio-preview-2024-12-17" | "gpt-4o-mini-audio-preview" | "gpt-4o-mini-audio-preview-2024-12-17" | "chatgpt-4o-latest" | "gpt-4o-mini" | "gpt-4o-mini-2024-07-18" | "gpt-4-turbo" | "gpt-4-turbo-2024-04-09" | "gpt-4-0125-preview" | "gpt-4-turbo-preview" | "gpt-4-1106-preview" | "gpt-4-vision-preview" | "gpt-4" | "gpt-4-0314" | "gpt-4-0613" | "gpt-4-32k" | "gpt-4-32k-0314" | "gpt-4-32k-0613" | "gpt-3.5-turbo" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo-0301" | "gpt-3.5-turbo-0613" | "gpt-3.5-turbo-1106" | "gpt-3.5-turbo-0125" | "gpt-3.5-turbo-16k-0613";
|
|
10
10
|
}
|
|
@@ -48,6 +48,8 @@ exports.CompletionCreateParamsStreamingModel = core.serialization.undiscriminate
|
|
|
48
48
|
core.serialization.stringLiteral("o1-preview-2024-09-12"),
|
|
49
49
|
core.serialization.stringLiteral("o1-mini"),
|
|
50
50
|
core.serialization.stringLiteral("o1-mini-2024-09-12"),
|
|
51
|
+
core.serialization.stringLiteral("gpt-4.5-preview"),
|
|
52
|
+
core.serialization.stringLiteral("gpt-4.5-preview-2025-02-27"),
|
|
51
53
|
core.serialization.stringLiteral("gpt-4o"),
|
|
52
54
|
core.serialization.stringLiteral("gpt-4o-2024-11-20"),
|
|
53
55
|
core.serialization.stringLiteral("gpt-4o-2024-08-06"),
|
|
@@ -16,6 +16,7 @@ export declare namespace Tool {
|
|
|
16
16
|
tags?: string[] | null;
|
|
17
17
|
source_code?: string | null;
|
|
18
18
|
json_schema?: Record<string, unknown> | null;
|
|
19
|
+
args_json_schema?: Record<string, unknown> | null;
|
|
19
20
|
return_char_limit?: number | null;
|
|
20
21
|
created_by_id?: string | null;
|
|
21
22
|
last_updated_by_id?: string | null;
|
|
@@ -48,6 +48,7 @@ exports.Tool = core.serialization.object({
|
|
|
48
48
|
tags: core.serialization.list(core.serialization.string()).optional(),
|
|
49
49
|
sourceCode: core.serialization.property("source_code", core.serialization.string().optional()),
|
|
50
50
|
jsonSchema: core.serialization.property("json_schema", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
51
|
+
argsJsonSchema: core.serialization.property("args_json_schema", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
51
52
|
returnCharLimit: core.serialization.property("return_char_limit", core.serialization.number().optional()),
|
|
52
53
|
createdById: core.serialization.property("created_by_id", core.serialization.string().optional()),
|
|
53
54
|
lastUpdatedById: core.serialization.property("last_updated_by_id", core.serialization.string().optional()),
|
|
@@ -44,5 +44,6 @@ exports.ToolCreate = core.serialization.object({
|
|
|
44
44
|
sourceCode: core.serialization.property("source_code", core.serialization.string()),
|
|
45
45
|
sourceType: core.serialization.property("source_type", core.serialization.string().optional()),
|
|
46
46
|
jsonSchema: core.serialization.property("json_schema", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
47
|
+
argsJsonSchema: core.serialization.property("args_json_schema", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
47
48
|
returnCharLimit: core.serialization.property("return_char_limit", core.serialization.number().optional()),
|
|
48
49
|
});
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.49";
|
package/version.js
CHANGED