@letta-ai/letta-client 1.0.0-alpha.18 → 1.0.0-alpha.19
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/CHANGELOG.md +22 -0
- package/README.md +5 -15
- package/client.d.mts +20 -20
- package/client.d.mts.map +1 -1
- package/client.d.ts +20 -20
- package/client.d.ts.map +1 -1
- package/client.js +28 -22
- package/client.js.map +1 -1
- package/client.mjs +28 -22
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agents/agents.d.mts +319 -935
- package/resources/agents/agents.d.mts.map +1 -1
- package/resources/agents/agents.d.ts +319 -935
- package/resources/agents/agents.d.ts.map +1 -1
- package/resources/agents/agents.js +12 -4
- package/resources/agents/agents.js.map +1 -1
- package/resources/agents/agents.mjs +12 -4
- package/resources/agents/agents.mjs.map +1 -1
- package/resources/agents/archives.d.mts +31 -0
- package/resources/agents/archives.d.mts.map +1 -0
- package/resources/agents/archives.d.ts +31 -0
- package/resources/agents/archives.d.ts.map +1 -0
- package/resources/agents/archives.js +24 -0
- package/resources/agents/archives.js.map +1 -0
- package/resources/agents/archives.mjs +20 -0
- package/resources/agents/archives.mjs.map +1 -0
- package/resources/agents/folders.d.mts +1 -1
- package/resources/agents/folders.d.mts.map +1 -1
- package/resources/agents/folders.d.ts +1 -1
- package/resources/agents/folders.d.ts.map +1 -1
- package/resources/agents/identities.d.mts +31 -0
- package/resources/agents/identities.d.mts.map +1 -0
- package/resources/agents/identities.d.ts +31 -0
- package/resources/agents/identities.d.ts.map +1 -0
- package/resources/agents/identities.js +24 -0
- package/resources/agents/identities.js.map +1 -0
- package/resources/agents/identities.mjs +20 -0
- package/resources/agents/identities.mjs.map +1 -0
- package/resources/agents/index.d.mts +4 -2
- package/resources/agents/index.d.mts.map +1 -1
- package/resources/agents/index.d.ts +4 -2
- package/resources/agents/index.d.ts.map +1 -1
- package/resources/agents/index.js +5 -1
- package/resources/agents/index.js.map +1 -1
- package/resources/agents/index.mjs +2 -0
- package/resources/agents/index.mjs.map +1 -1
- package/resources/agents/messages.d.mts +244 -284
- package/resources/agents/messages.d.mts.map +1 -1
- package/resources/agents/messages.d.ts +244 -284
- package/resources/agents/messages.d.ts.map +1 -1
- package/resources/agents/messages.js.map +1 -1
- package/resources/agents/messages.mjs.map +1 -1
- package/resources/archives/archives.d.mts +111 -0
- package/resources/archives/archives.d.mts.map +1 -0
- package/resources/archives/archives.d.ts +111 -0
- package/resources/archives/archives.d.ts.map +1 -0
- package/resources/archives/archives.js +50 -0
- package/resources/archives/archives.js.map +1 -0
- package/resources/archives/archives.mjs +45 -0
- package/resources/archives/archives.mjs.map +1 -0
- package/resources/archives/index.d.mts +3 -0
- package/resources/archives/index.d.mts.map +1 -0
- package/resources/archives/index.d.ts +3 -0
- package/resources/archives/index.d.ts.map +1 -0
- package/resources/archives/index.js +9 -0
- package/resources/archives/index.js.map +1 -0
- package/resources/archives/index.mjs +4 -0
- package/resources/archives/index.mjs.map +1 -0
- package/resources/archives/passages.d.mts +112 -0
- package/resources/archives/passages.d.mts.map +1 -0
- package/resources/archives/passages.d.ts +112 -0
- package/resources/archives/passages.d.ts.map +1 -0
- package/resources/archives/passages.js +32 -0
- package/resources/archives/passages.js.map +1 -0
- package/resources/archives/passages.mjs +28 -0
- package/resources/archives/passages.mjs.map +1 -0
- package/resources/archives.d.mts +1 -106
- package/resources/archives.d.mts.map +1 -1
- package/resources/archives.d.ts +1 -106
- package/resources/archives.d.ts.map +1 -1
- package/resources/archives.js +2 -38
- package/resources/archives.js.map +1 -1
- package/resources/archives.mjs +1 -36
- package/resources/archives.mjs.map +1 -1
- package/resources/batches/messages.d.mts +3 -3
- package/resources/batches/messages.d.mts.map +1 -1
- package/resources/batches/messages.d.ts +3 -3
- package/resources/batches/messages.d.ts.map +1 -1
- package/resources/batches/messages.js.map +1 -1
- package/resources/batches/messages.mjs.map +1 -1
- package/resources/groups/messages.d.mts +3 -3
- package/resources/groups/messages.d.mts.map +1 -1
- package/resources/groups/messages.d.ts +3 -3
- package/resources/groups/messages.d.ts.map +1 -1
- package/resources/groups/messages.js +4 -1
- package/resources/groups/messages.js.map +1 -1
- package/resources/groups/messages.mjs +4 -1
- package/resources/groups/messages.mjs.map +1 -1
- package/resources/index.d.mts +2 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/runs/messages.d.mts +3 -3
- package/resources/runs/messages.d.mts.map +1 -1
- package/resources/runs/messages.d.ts +3 -3
- package/resources/runs/messages.d.ts.map +1 -1
- package/resources/runs/messages.js +4 -1
- package/resources/runs/messages.js.map +1 -1
- package/resources/runs/messages.mjs +4 -1
- package/resources/runs/messages.mjs.map +1 -1
- package/resources/steps/steps.d.mts +1 -1
- package/resources/steps/steps.d.mts.map +1 -1
- package/resources/steps/steps.d.ts +1 -1
- package/resources/steps/steps.d.ts.map +1 -1
- package/src/client.ts +155 -129
- package/src/resources/agents/agents.ts +721 -1527
- package/src/resources/agents/archives.ts +51 -0
- package/src/resources/agents/folders.ts +1 -1
- package/src/resources/agents/identities.ts +51 -0
- package/src/resources/agents/index.ts +28 -3
- package/src/resources/agents/messages.ts +377 -424
- package/src/resources/archives/archives.ts +165 -0
- package/src/resources/archives/index.ts +17 -0
- package/src/resources/archives/passages.ts +149 -0
- package/src/resources/archives.ts +1 -150
- package/src/resources/batches/messages.ts +4 -4
- package/src/resources/groups/messages.ts +7 -8
- package/src/resources/index.ts +11 -1
- package/src/resources/runs/messages.ts +7 -8
- package/src/resources/steps/steps.ts +1 -1
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/src/client.ts
CHANGED
|
@@ -29,15 +29,6 @@ import * as API from './resources/index';
|
|
|
29
29
|
import * as TopLevelAPI from './resources/top-level';
|
|
30
30
|
import { HealthResponse } from './resources/top-level';
|
|
31
31
|
import { APIPromise } from './core/api-promise';
|
|
32
|
-
import {
|
|
33
|
-
Archive,
|
|
34
|
-
ArchiveCreateParams,
|
|
35
|
-
ArchiveListParams,
|
|
36
|
-
ArchiveModifyParams,
|
|
37
|
-
Archives,
|
|
38
|
-
ArchivesArrayPage,
|
|
39
|
-
VectorDBProvider,
|
|
40
|
-
} from './resources/archives';
|
|
41
32
|
import { TagListParams, TagListResponse, Tags } from './resources/tags';
|
|
42
33
|
import {
|
|
43
34
|
NpmRequirement,
|
|
@@ -70,21 +61,40 @@ import {
|
|
|
70
61
|
AgentStatesArrayPage,
|
|
71
62
|
AgentType,
|
|
72
63
|
Agents,
|
|
64
|
+
AnthropicModelSettings,
|
|
65
|
+
AzureModelSettings,
|
|
66
|
+
BedrockModelSettings,
|
|
73
67
|
ChildToolRule,
|
|
74
68
|
ConditionalToolRule,
|
|
75
69
|
ContinueToolRule,
|
|
70
|
+
DeepseekModelSettings,
|
|
71
|
+
GoogleAIModelSettings,
|
|
72
|
+
GoogleVertexModelSettings,
|
|
73
|
+
GroqModelSettings,
|
|
76
74
|
InitToolRule,
|
|
77
75
|
JsonObjectResponseFormat,
|
|
78
76
|
JsonSchemaResponseFormat,
|
|
79
77
|
LettaMessageContentUnion,
|
|
80
78
|
MaxCountPerStepToolRule,
|
|
81
79
|
MessageCreate,
|
|
80
|
+
OpenAIModelSettings,
|
|
82
81
|
ParentToolRule,
|
|
83
82
|
RequiredBeforeExitToolRule,
|
|
84
83
|
RequiresApprovalToolRule,
|
|
85
84
|
TerminalToolRule,
|
|
86
85
|
TextResponseFormat,
|
|
86
|
+
TogetherModelSettings,
|
|
87
|
+
XaiModelSettings,
|
|
87
88
|
} from './resources/agents/agents';
|
|
89
|
+
import {
|
|
90
|
+
Archive,
|
|
91
|
+
ArchiveCreateParams,
|
|
92
|
+
ArchiveListParams,
|
|
93
|
+
ArchiveModifyParams,
|
|
94
|
+
Archives,
|
|
95
|
+
ArchivesArrayPage,
|
|
96
|
+
VectorDBProvider,
|
|
97
|
+
} from './resources/archives/archives';
|
|
88
98
|
import {
|
|
89
99
|
BatchCancelResponse,
|
|
90
100
|
BatchCreateParams,
|
|
@@ -199,7 +209,7 @@ export interface ClientOptions {
|
|
|
199
209
|
/**
|
|
200
210
|
* Defaults to process.env['LETTA_API_KEY'].
|
|
201
211
|
*/
|
|
202
|
-
apiKey?: string | undefined;
|
|
212
|
+
apiKey?: string | null | undefined;
|
|
203
213
|
|
|
204
214
|
projectID?: string | null | undefined;
|
|
205
215
|
|
|
@@ -290,7 +300,7 @@ export interface ClientOptions {
|
|
|
290
300
|
* API Client for interfacing with the Letta API.
|
|
291
301
|
*/
|
|
292
302
|
export class Letta {
|
|
293
|
-
apiKey: string;
|
|
303
|
+
apiKey: string | null;
|
|
294
304
|
projectID: string | null;
|
|
295
305
|
project: string | null;
|
|
296
306
|
|
|
@@ -309,7 +319,7 @@ export class Letta {
|
|
|
309
319
|
/**
|
|
310
320
|
* API Client for interfacing with the Letta API.
|
|
311
321
|
*
|
|
312
|
-
* @param {string | undefined} [opts.apiKey=process.env['LETTA_API_KEY'] ??
|
|
322
|
+
* @param {string | null | undefined} [opts.apiKey=process.env['LETTA_API_KEY'] ?? null]
|
|
313
323
|
* @param {string | null | undefined} [opts.projectID]
|
|
314
324
|
* @param {string | null | undefined} [opts.project]
|
|
315
325
|
* @param {Environment} [opts.environment=cloud] - Specifies the environment URL to use for the API.
|
|
@@ -323,17 +333,11 @@ export class Letta {
|
|
|
323
333
|
*/
|
|
324
334
|
constructor({
|
|
325
335
|
baseURL = readEnv('LETTA_BASE_URL'),
|
|
326
|
-
apiKey = readEnv('LETTA_API_KEY'),
|
|
336
|
+
apiKey = readEnv('LETTA_API_KEY') ?? null,
|
|
327
337
|
projectID = null,
|
|
328
338
|
project = null,
|
|
329
339
|
...opts
|
|
330
340
|
}: ClientOptions = {}) {
|
|
331
|
-
if (apiKey === undefined) {
|
|
332
|
-
throw new Errors.LettaError(
|
|
333
|
-
"The LETTA_API_KEY environment variable is missing or empty; either provide it, or instantiate the Letta client with an apiKey option, like new Letta({ apiKey: 'My API Key' }).",
|
|
334
|
-
);
|
|
335
|
-
}
|
|
336
|
-
|
|
337
341
|
const options: ClientOptions = {
|
|
338
342
|
apiKey,
|
|
339
343
|
projectID,
|
|
@@ -401,7 +405,7 @@ export class Letta {
|
|
|
401
405
|
}
|
|
402
406
|
|
|
403
407
|
/**
|
|
404
|
-
*
|
|
408
|
+
* Async health check endpoint.
|
|
405
409
|
*/
|
|
406
410
|
health(options?: RequestOptions): APIPromise<TopLevelAPI.HealthResponse> {
|
|
407
411
|
return this.get('/v1/health/', options);
|
|
@@ -412,10 +416,22 @@ export class Letta {
|
|
|
412
416
|
}
|
|
413
417
|
|
|
414
418
|
protected validateHeaders({ values, nulls }: NullableHeaders) {
|
|
415
|
-
|
|
419
|
+
if (this.apiKey && values.get('authorization')) {
|
|
420
|
+
return;
|
|
421
|
+
}
|
|
422
|
+
if (nulls.has('authorization')) {
|
|
423
|
+
return;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
throw new Error(
|
|
427
|
+
'Could not resolve authentication method. Expected the apiKey to be set. Or for the "Authorization" headers to be explicitly omitted',
|
|
428
|
+
);
|
|
416
429
|
}
|
|
417
430
|
|
|
418
431
|
protected async authHeaders(opts: FinalRequestOptions): Promise<NullableHeaders | undefined> {
|
|
432
|
+
if (this.apiKey == null) {
|
|
433
|
+
return undefined;
|
|
434
|
+
}
|
|
419
435
|
return buildHeaders([{ Authorization: `Bearer ${this.apiKey}` }]);
|
|
420
436
|
}
|
|
421
437
|
|
|
@@ -928,36 +944,36 @@ export class Letta {
|
|
|
928
944
|
|
|
929
945
|
static toFile = Uploads.toFile;
|
|
930
946
|
|
|
931
|
-
|
|
947
|
+
agents: API.Agents = new API.Agents(this);
|
|
932
948
|
tools: API.Tools = new API.Tools(this);
|
|
949
|
+
blocks: API.Blocks = new API.Blocks(this);
|
|
950
|
+
archives: API.Archives = new API.Archives(this);
|
|
933
951
|
folders: API.Folders = new API.Folders(this);
|
|
934
|
-
agents: API.Agents = new API.Agents(this);
|
|
935
|
-
groups: API.Groups = new API.Groups(this);
|
|
936
|
-
identities: API.Identities = new API.Identities(this);
|
|
937
952
|
models: API.Models = new API.Models(this);
|
|
938
|
-
|
|
953
|
+
mcpServers: API.McpServers = new API.McpServers(this);
|
|
939
954
|
runs: API.Runs = new API.Runs(this);
|
|
940
955
|
steps: API.Steps = new API.Steps(this);
|
|
956
|
+
templates: API.Templates = new API.Templates(this);
|
|
941
957
|
tags: API.Tags = new API.Tags(this);
|
|
958
|
+
identities: API.Identities = new API.Identities(this);
|
|
959
|
+
groups: API.Groups = new API.Groups(this);
|
|
942
960
|
batches: API.Batches = new API.Batches(this);
|
|
943
|
-
templates: API.Templates = new API.Templates(this);
|
|
944
|
-
mcpServers: API.McpServers = new API.McpServers(this);
|
|
945
961
|
}
|
|
946
962
|
|
|
947
|
-
Letta.
|
|
963
|
+
Letta.Agents = Agents;
|
|
948
964
|
Letta.Tools = Tools;
|
|
965
|
+
Letta.Blocks = Blocks;
|
|
966
|
+
Letta.Archives = Archives;
|
|
949
967
|
Letta.Folders = Folders;
|
|
950
|
-
Letta.Agents = Agents;
|
|
951
|
-
Letta.Groups = Groups;
|
|
952
|
-
Letta.Identities = Identities;
|
|
953
968
|
Letta.Models = Models;
|
|
954
|
-
Letta.
|
|
969
|
+
Letta.McpServers = McpServers;
|
|
955
970
|
Letta.Runs = Runs;
|
|
956
971
|
Letta.Steps = Steps;
|
|
972
|
+
Letta.Templates = Templates;
|
|
957
973
|
Letta.Tags = Tags;
|
|
974
|
+
Letta.Identities = Identities;
|
|
975
|
+
Letta.Groups = Groups;
|
|
958
976
|
Letta.Batches = Batches;
|
|
959
|
-
Letta.Templates = Templates;
|
|
960
|
-
Letta.McpServers = McpServers;
|
|
961
977
|
|
|
962
978
|
export declare namespace Letta {
|
|
963
979
|
export type RequestOptions = Opts.RequestOptions;
|
|
@@ -976,62 +992,35 @@ export declare namespace Letta {
|
|
|
976
992
|
|
|
977
993
|
export { type HealthResponse as HealthResponse };
|
|
978
994
|
|
|
979
|
-
export {
|
|
980
|
-
Archives as Archives,
|
|
981
|
-
type Archive as Archive,
|
|
982
|
-
type VectorDBProvider as VectorDBProvider,
|
|
983
|
-
type ArchivesArrayPage as ArchivesArrayPage,
|
|
984
|
-
type ArchiveCreateParams as ArchiveCreateParams,
|
|
985
|
-
type ArchiveListParams as ArchiveListParams,
|
|
986
|
-
type ArchiveModifyParams as ArchiveModifyParams,
|
|
987
|
-
};
|
|
988
|
-
|
|
989
|
-
export {
|
|
990
|
-
Tools as Tools,
|
|
991
|
-
type NpmRequirement as NpmRequirement,
|
|
992
|
-
type PipRequirement as PipRequirement,
|
|
993
|
-
type Tool as Tool,
|
|
994
|
-
type ToolCreate as ToolCreate,
|
|
995
|
-
type ToolReturnMessage as ToolReturnMessage,
|
|
996
|
-
type ToolType as ToolType,
|
|
997
|
-
type ToolDeleteResponse as ToolDeleteResponse,
|
|
998
|
-
type ToolUpsertBaseToolsResponse as ToolUpsertBaseToolsResponse,
|
|
999
|
-
type ToolsArrayPage as ToolsArrayPage,
|
|
1000
|
-
type ToolCreateParams as ToolCreateParams,
|
|
1001
|
-
type ToolListParams as ToolListParams,
|
|
1002
|
-
type ToolModifyParams as ToolModifyParams,
|
|
1003
|
-
type ToolUpsertParams as ToolUpsertParams,
|
|
1004
|
-
};
|
|
1005
|
-
|
|
1006
|
-
export {
|
|
1007
|
-
Folders as Folders,
|
|
1008
|
-
type Folder as Folder,
|
|
1009
|
-
type FolderDeleteResponse as FolderDeleteResponse,
|
|
1010
|
-
type FoldersArrayPage as FoldersArrayPage,
|
|
1011
|
-
type FolderCreateParams as FolderCreateParams,
|
|
1012
|
-
type FolderListParams as FolderListParams,
|
|
1013
|
-
type FolderModifyParams as FolderModifyParams,
|
|
1014
|
-
};
|
|
1015
|
-
|
|
1016
995
|
export {
|
|
1017
996
|
Agents as Agents,
|
|
1018
997
|
type AgentEnvironmentVariable as AgentEnvironmentVariable,
|
|
1019
998
|
type AgentState as AgentState,
|
|
1020
999
|
type AgentType as AgentType,
|
|
1000
|
+
type AnthropicModelSettings as AnthropicModelSettings,
|
|
1001
|
+
type AzureModelSettings as AzureModelSettings,
|
|
1002
|
+
type BedrockModelSettings as BedrockModelSettings,
|
|
1021
1003
|
type ChildToolRule as ChildToolRule,
|
|
1022
1004
|
type ConditionalToolRule as ConditionalToolRule,
|
|
1023
1005
|
type ContinueToolRule as ContinueToolRule,
|
|
1006
|
+
type DeepseekModelSettings as DeepseekModelSettings,
|
|
1007
|
+
type GoogleAIModelSettings as GoogleAIModelSettings,
|
|
1008
|
+
type GoogleVertexModelSettings as GoogleVertexModelSettings,
|
|
1009
|
+
type GroqModelSettings as GroqModelSettings,
|
|
1024
1010
|
type InitToolRule as InitToolRule,
|
|
1025
1011
|
type JsonObjectResponseFormat as JsonObjectResponseFormat,
|
|
1026
1012
|
type JsonSchemaResponseFormat as JsonSchemaResponseFormat,
|
|
1027
1013
|
type LettaMessageContentUnion as LettaMessageContentUnion,
|
|
1028
1014
|
type MaxCountPerStepToolRule as MaxCountPerStepToolRule,
|
|
1029
1015
|
type MessageCreate as MessageCreate,
|
|
1016
|
+
type OpenAIModelSettings as OpenAIModelSettings,
|
|
1030
1017
|
type ParentToolRule as ParentToolRule,
|
|
1031
1018
|
type RequiredBeforeExitToolRule as RequiredBeforeExitToolRule,
|
|
1032
1019
|
type RequiresApprovalToolRule as RequiresApprovalToolRule,
|
|
1033
1020
|
type TerminalToolRule as TerminalToolRule,
|
|
1034
1021
|
type TextResponseFormat as TextResponseFormat,
|
|
1022
|
+
type TogetherModelSettings as TogetherModelSettings,
|
|
1023
|
+
type XaiModelSettings as XaiModelSettings,
|
|
1035
1024
|
type AgentDeleteResponse as AgentDeleteResponse,
|
|
1036
1025
|
type AgentExportFileResponse as AgentExportFileResponse,
|
|
1037
1026
|
type AgentImportFileResponse as AgentImportFileResponse,
|
|
@@ -1045,44 +1034,20 @@ export declare namespace Letta {
|
|
|
1045
1034
|
};
|
|
1046
1035
|
|
|
1047
1036
|
export {
|
|
1048
|
-
|
|
1049
|
-
type
|
|
1050
|
-
type
|
|
1051
|
-
type
|
|
1052
|
-
type
|
|
1053
|
-
type
|
|
1054
|
-
type
|
|
1055
|
-
type
|
|
1056
|
-
type
|
|
1057
|
-
type
|
|
1058
|
-
type
|
|
1059
|
-
type
|
|
1060
|
-
type
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
export {
|
|
1064
|
-
Identities as Identities,
|
|
1065
|
-
type Identity as Identity,
|
|
1066
|
-
type IdentityProperty as IdentityProperty,
|
|
1067
|
-
type IdentityType as IdentityType,
|
|
1068
|
-
type IdentityDeleteResponse as IdentityDeleteResponse,
|
|
1069
|
-
type IdentitiesArrayPage as IdentitiesArrayPage,
|
|
1070
|
-
type IdentityCreateParams as IdentityCreateParams,
|
|
1071
|
-
type IdentityListParams as IdentityListParams,
|
|
1072
|
-
type IdentityModifyParams as IdentityModifyParams,
|
|
1073
|
-
type IdentityUpsertParams as IdentityUpsertParams,
|
|
1074
|
-
};
|
|
1075
|
-
|
|
1076
|
-
export {
|
|
1077
|
-
Models as Models,
|
|
1078
|
-
type EmbeddingConfig as EmbeddingConfig,
|
|
1079
|
-
type EmbeddingModel as EmbeddingModel,
|
|
1080
|
-
type LlmConfig as LlmConfig,
|
|
1081
|
-
type Model as Model,
|
|
1082
|
-
type ProviderCategory as ProviderCategory,
|
|
1083
|
-
type ProviderType as ProviderType,
|
|
1084
|
-
type ModelListResponse as ModelListResponse,
|
|
1085
|
-
type ModelListParams as ModelListParams,
|
|
1037
|
+
Tools as Tools,
|
|
1038
|
+
type NpmRequirement as NpmRequirement,
|
|
1039
|
+
type PipRequirement as PipRequirement,
|
|
1040
|
+
type Tool as Tool,
|
|
1041
|
+
type ToolCreate as ToolCreate,
|
|
1042
|
+
type ToolReturnMessage as ToolReturnMessage,
|
|
1043
|
+
type ToolType as ToolType,
|
|
1044
|
+
type ToolDeleteResponse as ToolDeleteResponse,
|
|
1045
|
+
type ToolUpsertBaseToolsResponse as ToolUpsertBaseToolsResponse,
|
|
1046
|
+
type ToolsArrayPage as ToolsArrayPage,
|
|
1047
|
+
type ToolCreateParams as ToolCreateParams,
|
|
1048
|
+
type ToolListParams as ToolListParams,
|
|
1049
|
+
type ToolModifyParams as ToolModifyParams,
|
|
1050
|
+
type ToolUpsertParams as ToolUpsertParams,
|
|
1086
1051
|
};
|
|
1087
1052
|
|
|
1088
1053
|
export {
|
|
@@ -1097,33 +1062,37 @@ export declare namespace Letta {
|
|
|
1097
1062
|
};
|
|
1098
1063
|
|
|
1099
1064
|
export {
|
|
1100
|
-
|
|
1101
|
-
type
|
|
1102
|
-
type
|
|
1103
|
-
type
|
|
1065
|
+
Archives as Archives,
|
|
1066
|
+
type Archive as Archive,
|
|
1067
|
+
type VectorDBProvider as VectorDBProvider,
|
|
1068
|
+
type ArchivesArrayPage as ArchivesArrayPage,
|
|
1069
|
+
type ArchiveCreateParams as ArchiveCreateParams,
|
|
1070
|
+
type ArchiveListParams as ArchiveListParams,
|
|
1071
|
+
type ArchiveModifyParams as ArchiveModifyParams,
|
|
1104
1072
|
};
|
|
1105
1073
|
|
|
1106
1074
|
export {
|
|
1107
|
-
|
|
1108
|
-
type
|
|
1109
|
-
type
|
|
1110
|
-
type
|
|
1111
|
-
type
|
|
1075
|
+
Folders as Folders,
|
|
1076
|
+
type Folder as Folder,
|
|
1077
|
+
type FolderDeleteResponse as FolderDeleteResponse,
|
|
1078
|
+
type FoldersArrayPage as FoldersArrayPage,
|
|
1079
|
+
type FolderCreateParams as FolderCreateParams,
|
|
1080
|
+
type FolderListParams as FolderListParams,
|
|
1081
|
+
type FolderModifyParams as FolderModifyParams,
|
|
1112
1082
|
};
|
|
1113
1083
|
|
|
1114
|
-
export { Tags as Tags, type TagListResponse as TagListResponse, type TagListParams as TagListParams };
|
|
1115
|
-
|
|
1116
1084
|
export {
|
|
1117
|
-
|
|
1118
|
-
type
|
|
1119
|
-
type
|
|
1120
|
-
type
|
|
1121
|
-
type
|
|
1122
|
-
type
|
|
1085
|
+
Models as Models,
|
|
1086
|
+
type EmbeddingConfig as EmbeddingConfig,
|
|
1087
|
+
type EmbeddingModel as EmbeddingModel,
|
|
1088
|
+
type LlmConfig as LlmConfig,
|
|
1089
|
+
type Model as Model,
|
|
1090
|
+
type ProviderCategory as ProviderCategory,
|
|
1091
|
+
type ProviderType as ProviderType,
|
|
1092
|
+
type ModelListResponse as ModelListResponse,
|
|
1093
|
+
type ModelListParams as ModelListParams,
|
|
1123
1094
|
};
|
|
1124
1095
|
|
|
1125
|
-
export { Templates as Templates };
|
|
1126
|
-
|
|
1127
1096
|
export {
|
|
1128
1097
|
McpServers as McpServers,
|
|
1129
1098
|
type CreateSseMcpServer as CreateSseMcpServer,
|
|
@@ -1147,4 +1116,61 @@ export declare namespace Letta {
|
|
|
1147
1116
|
type McpServerModifyParams as McpServerModifyParams,
|
|
1148
1117
|
type McpServerRefreshParams as McpServerRefreshParams,
|
|
1149
1118
|
};
|
|
1119
|
+
|
|
1120
|
+
export {
|
|
1121
|
+
Runs as Runs,
|
|
1122
|
+
type Job as Job,
|
|
1123
|
+
type StopReasonType as StopReasonType,
|
|
1124
|
+
type RunListParams as RunListParams,
|
|
1125
|
+
};
|
|
1126
|
+
|
|
1127
|
+
export {
|
|
1128
|
+
Steps as Steps,
|
|
1129
|
+
type ProviderTrace as ProviderTrace,
|
|
1130
|
+
type Step as Step,
|
|
1131
|
+
type StepsArrayPage as StepsArrayPage,
|
|
1132
|
+
type StepListParams as StepListParams,
|
|
1133
|
+
};
|
|
1134
|
+
|
|
1135
|
+
export { Templates as Templates };
|
|
1136
|
+
|
|
1137
|
+
export { Tags as Tags, type TagListResponse as TagListResponse, type TagListParams as TagListParams };
|
|
1138
|
+
|
|
1139
|
+
export {
|
|
1140
|
+
Identities as Identities,
|
|
1141
|
+
type Identity as Identity,
|
|
1142
|
+
type IdentityProperty as IdentityProperty,
|
|
1143
|
+
type IdentityType as IdentityType,
|
|
1144
|
+
type IdentityDeleteResponse as IdentityDeleteResponse,
|
|
1145
|
+
type IdentitiesArrayPage as IdentitiesArrayPage,
|
|
1146
|
+
type IdentityCreateParams as IdentityCreateParams,
|
|
1147
|
+
type IdentityListParams as IdentityListParams,
|
|
1148
|
+
type IdentityModifyParams as IdentityModifyParams,
|
|
1149
|
+
type IdentityUpsertParams as IdentityUpsertParams,
|
|
1150
|
+
};
|
|
1151
|
+
|
|
1152
|
+
export {
|
|
1153
|
+
Groups as Groups,
|
|
1154
|
+
type DynamicManager as DynamicManager,
|
|
1155
|
+
type Group as Group,
|
|
1156
|
+
type ManagerType as ManagerType,
|
|
1157
|
+
type RoundRobinManager as RoundRobinManager,
|
|
1158
|
+
type SleeptimeManager as SleeptimeManager,
|
|
1159
|
+
type SupervisorManager as SupervisorManager,
|
|
1160
|
+
type VoiceSleeptimeManager as VoiceSleeptimeManager,
|
|
1161
|
+
type GroupDeleteResponse as GroupDeleteResponse,
|
|
1162
|
+
type GroupsArrayPage as GroupsArrayPage,
|
|
1163
|
+
type GroupCreateParams as GroupCreateParams,
|
|
1164
|
+
type GroupListParams as GroupListParams,
|
|
1165
|
+
type GroupModifyParams as GroupModifyParams,
|
|
1166
|
+
};
|
|
1167
|
+
|
|
1168
|
+
export {
|
|
1169
|
+
Batches as Batches,
|
|
1170
|
+
type BatchJob as BatchJob,
|
|
1171
|
+
type BatchCancelResponse as BatchCancelResponse,
|
|
1172
|
+
type BatchJobsArrayPage as BatchJobsArrayPage,
|
|
1173
|
+
type BatchCreateParams as BatchCreateParams,
|
|
1174
|
+
type BatchListParams as BatchListParams,
|
|
1175
|
+
};
|
|
1150
1176
|
}
|