@letta-ai/letta-client 0.0.68661 → 0.0.68662
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.js +9 -9
- 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/files/client/Client.js +4 -4
- package/api/resources/agents/resources/folders/client/Client.js +3 -3
- package/api/resources/agents/resources/groups/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 +10 -10
- package/api/resources/agents/resources/passages/client/Client.js +5 -5
- 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 +4 -4
- package/api/resources/archives/client/Client.js +3 -3
- package/api/resources/batches/client/Client.js +4 -4
- package/api/resources/batches/resources/messages/client/Client.js +1 -1
- package/api/resources/blocks/client/Client.js +6 -6
- package/api/resources/blocks/resources/agents/client/Client.js +1 -1
- package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
- package/api/resources/folders/client/Client.js +8 -8
- package/api/resources/folders/resources/agents/client/Client.js +1 -1
- package/api/resources/folders/resources/files/client/Client.js +3 -3
- package/api/resources/folders/resources/passages/client/Client.js +1 -1
- package/api/resources/groups/client/Client.js +6 -6
- package/api/resources/groups/resources/messages/client/Client.js +5 -5
- package/api/resources/health/client/Client.js +1 -1
- package/api/resources/identities/client/Client.js +7 -7
- package/api/resources/identities/resources/agents/client/Client.js +1 -1
- package/api/resources/identities/resources/blocks/client/Client.js +1 -1
- package/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/api/resources/jobs/client/Client.js +5 -5
- package/api/resources/models/client/Client.js +2 -2
- package/api/resources/models/resources/embeddings/client/Client.js +1 -1
- package/api/resources/projects/client/Client.js +1 -1
- package/api/resources/providers/client/Client.js +6 -6
- package/api/resources/runs/client/Client.js +5 -5
- package/api/resources/runs/resources/messages/client/Client.js +1 -1
- package/api/resources/runs/resources/steps/client/Client.js +1 -1
- package/api/resources/runs/resources/usage/client/Client.js +1 -1
- package/api/resources/sources/client/Client.js +10 -10
- 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/steps/resources/feedback/client/Client.js +1 -1
- package/api/resources/steps/resources/messages/client/Client.js +1 -1
- package/api/resources/steps/resources/metrics/client/Client.js +1 -1
- package/api/resources/steps/resources/trace/client/Client.js +1 -1
- package/api/resources/tags/client/Client.js +1 -1
- package/api/resources/telemetry/client/Client.js +1 -1
- package/api/resources/templates/client/Client.js +11 -11
- package/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.d.ts +2 -1
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.js +1 -0
- package/api/resources/tools/client/Client.js +20 -20
- package/api/resources/voice/client/Client.js +1 -1
- package/api/types/AgentType.d.ts +2 -1
- package/api/types/AgentType.js +1 -0
- package/api/types/MessageContentItem.d.ts +1 -1
- package/api/types/OmittedReasoningContent.d.ts +3 -0
- package/api/types/ReasoningContent.d.ts +3 -0
- package/api/types/RedactedReasoningContent.d.ts +3 -0
- package/api/types/SummarizedReasoningContent.d.ts +16 -0
- package/api/types/SummarizedReasoningContent.js +5 -0
- package/api/types/SummarizedReasoningContentPart.d.ts +9 -0
- package/api/types/SummarizedReasoningContentPart.js +5 -0
- package/api/types/index.d.ts +2 -0
- package/api/types/index.js +2 -0
- package/dist/api/resources/agents/client/Client.js +9 -9
- 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/files/client/Client.js +4 -4
- package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/groups/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 +10 -10
- package/dist/api/resources/agents/resources/passages/client/Client.js +5 -5
- 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 +4 -4
- package/dist/api/resources/archives/client/Client.js +3 -3
- package/dist/api/resources/batches/client/Client.js +4 -4
- package/dist/api/resources/batches/resources/messages/client/Client.js +1 -1
- package/dist/api/resources/blocks/client/Client.js +6 -6
- package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
- package/dist/api/resources/folders/client/Client.js +8 -8
- package/dist/api/resources/folders/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
- package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
- package/dist/api/resources/groups/client/Client.js +6 -6
- package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
- package/dist/api/resources/health/client/Client.js +1 -1
- package/dist/api/resources/identities/client/Client.js +7 -7
- package/dist/api/resources/identities/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/identities/resources/blocks/client/Client.js +1 -1
- package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/dist/api/resources/jobs/client/Client.js +5 -5
- package/dist/api/resources/models/client/Client.js +2 -2
- package/dist/api/resources/models/resources/embeddings/client/Client.js +1 -1
- package/dist/api/resources/projects/client/Client.js +1 -1
- package/dist/api/resources/providers/client/Client.js +6 -6
- package/dist/api/resources/runs/client/Client.js +5 -5
- package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
- package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
- package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
- package/dist/api/resources/sources/client/Client.js +10 -10
- 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/steps/resources/feedback/client/Client.js +1 -1
- package/dist/api/resources/steps/resources/messages/client/Client.js +1 -1
- package/dist/api/resources/steps/resources/metrics/client/Client.js +1 -1
- package/dist/api/resources/steps/resources/trace/client/Client.js +1 -1
- package/dist/api/resources/tags/client/Client.js +1 -1
- package/dist/api/resources/telemetry/client/Client.js +1 -1
- package/dist/api/resources/templates/client/Client.js +11 -11
- package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.d.ts +2 -1
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.js +1 -0
- package/dist/api/resources/tools/client/Client.js +20 -20
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/api/types/AgentType.d.ts +2 -1
- package/dist/api/types/AgentType.js +1 -0
- package/dist/api/types/MessageContentItem.d.ts +1 -1
- package/dist/api/types/OmittedReasoningContent.d.ts +3 -0
- package/dist/api/types/ReasoningContent.d.ts +3 -0
- package/dist/api/types/RedactedReasoningContent.d.ts +3 -0
- package/dist/api/types/SummarizedReasoningContent.d.ts +16 -0
- package/dist/api/types/SummarizedReasoningContent.js +5 -0
- package/dist/api/types/SummarizedReasoningContentPart.d.ts +9 -0
- package/dist/api/types/SummarizedReasoningContentPart.js +5 -0
- package/dist/api/types/index.d.ts +2 -0
- package/dist/api/types/index.js +2 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.d.ts +1 -1
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.js +1 -0
- package/dist/serialization/types/AgentType.d.ts +1 -1
- package/dist/serialization/types/AgentType.js +1 -0
- package/dist/serialization/types/MessageContentItem.d.ts +2 -1
- package/dist/serialization/types/MessageContentItem.js +2 -0
- package/dist/serialization/types/SummarizedReasoningContent.d.ts +16 -0
- package/dist/serialization/types/SummarizedReasoningContent.js +47 -0
- package/dist/serialization/types/SummarizedReasoningContentPart.d.ts +13 -0
- package/dist/serialization/types/SummarizedReasoningContentPart.js +44 -0
- package/dist/serialization/types/index.d.ts +2 -0
- package/dist/serialization/types/index.js +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.d.ts +1 -1
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.js +1 -0
- package/serialization/types/AgentType.d.ts +1 -1
- package/serialization/types/AgentType.js +1 -0
- package/serialization/types/MessageContentItem.d.ts +2 -1
- package/serialization/types/MessageContentItem.js +2 -0
- package/serialization/types/SummarizedReasoningContent.d.ts +16 -0
- package/serialization/types/SummarizedReasoningContent.js +47 -0
- package/serialization/types/SummarizedReasoningContentPart.d.ts +13 -0
- package/serialization/types/SummarizedReasoningContentPart.js +44 -0
- package/serialization/types/index.d.ts +2 -0
- package/serialization/types/index.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -118,7 +118,7 @@ class Templates {
|
|
|
118
118
|
method: "GET",
|
|
119
119
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
120
120
|
? yield core.Supplier.get(this._options.project)
|
|
121
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
121
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
122
122
|
contentType: "application/json",
|
|
123
123
|
queryParameters: _queryParams,
|
|
124
124
|
requestType: "json",
|
|
@@ -186,7 +186,7 @@ class Templates {
|
|
|
186
186
|
method: "POST",
|
|
187
187
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
188
188
|
? yield core.Supplier.get(this._options.project)
|
|
189
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
189
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
190
190
|
contentType: "application/json",
|
|
191
191
|
requestType: "json",
|
|
192
192
|
body: serializers.TemplatesSaveTemplateVersionRequest.jsonOrThrow(request, {
|
|
@@ -261,7 +261,7 @@ class Templates {
|
|
|
261
261
|
method: "DELETE",
|
|
262
262
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
263
263
|
? yield core.Supplier.get(this._options.project)
|
|
264
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
264
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
265
265
|
contentType: "application/json",
|
|
266
266
|
requestType: "json",
|
|
267
267
|
body: serializers.TemplatesDeleteTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -331,7 +331,7 @@ class Templates {
|
|
|
331
331
|
method: "GET",
|
|
332
332
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
333
333
|
? yield core.Supplier.get(this._options.project)
|
|
334
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
334
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
335
335
|
contentType: "application/json",
|
|
336
336
|
requestType: "json",
|
|
337
337
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -402,7 +402,7 @@ class Templates {
|
|
|
402
402
|
method: "PUT",
|
|
403
403
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
404
404
|
? yield core.Supplier.get(this._options.project)
|
|
405
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
405
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
406
406
|
contentType: "application/json",
|
|
407
407
|
requestType: "json",
|
|
408
408
|
body: request,
|
|
@@ -479,7 +479,7 @@ class Templates {
|
|
|
479
479
|
method: "POST",
|
|
480
480
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
481
481
|
? yield core.Supplier.get(this._options.project)
|
|
482
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
482
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
483
483
|
contentType: "application/json",
|
|
484
484
|
requestType: "json",
|
|
485
485
|
body: serializers.TemplatesForkTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -554,7 +554,7 @@ class Templates {
|
|
|
554
554
|
method: "POST",
|
|
555
555
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
556
556
|
? yield core.Supplier.get(this._options.project)
|
|
557
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
557
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
558
558
|
contentType: "application/json",
|
|
559
559
|
requestType: "json",
|
|
560
560
|
body: serializers.TemplatesCreateTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -631,7 +631,7 @@ class Templates {
|
|
|
631
631
|
method: "PATCH",
|
|
632
632
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
633
633
|
? yield core.Supplier.get(this._options.project)
|
|
634
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
634
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
635
635
|
contentType: "application/json",
|
|
636
636
|
requestType: "json",
|
|
637
637
|
body: serializers.TemplatesRenameTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -715,7 +715,7 @@ class Templates {
|
|
|
715
715
|
method: "PATCH",
|
|
716
716
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
717
717
|
? yield core.Supplier.get(this._options.project)
|
|
718
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
718
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
719
719
|
contentType: "application/json",
|
|
720
720
|
requestType: "json",
|
|
721
721
|
body: serializers.TemplatesUpdateTemplateDescriptionRequest.jsonOrThrow(request, {
|
|
@@ -800,7 +800,7 @@ class Templates {
|
|
|
800
800
|
method: "GET",
|
|
801
801
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
802
802
|
? yield core.Supplier.get(this._options.project)
|
|
803
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
803
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
804
804
|
contentType: "application/json",
|
|
805
805
|
queryParameters: _queryParams,
|
|
806
806
|
requestType: "json",
|
|
@@ -878,7 +878,7 @@ class Templates {
|
|
|
878
878
|
method: "POST",
|
|
879
879
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
880
880
|
? yield core.Supplier.get(this._options.project)
|
|
881
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
881
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
882
882
|
contentType: "application/json",
|
|
883
883
|
requestType: "json",
|
|
884
884
|
body: serializers.TemplatesMigrateDeploymentRequest.jsonOrThrow(request, {
|
|
@@ -83,7 +83,7 @@ class Agents {
|
|
|
83
83
|
method: "POST",
|
|
84
84
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
85
85
|
? yield core.Supplier.get(this._options.project)
|
|
86
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
86
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
87
87
|
contentType: "application/json",
|
|
88
88
|
requestType: "json",
|
|
89
89
|
body: serializers.templates.AgentsCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type TemplatesGetTemplateSnapshotResponseAgentsItemAgentType = "memgpt_agent" | "memgpt_v2_agent" | "react_agent" | "workflow_agent" | "split_thread_agent" | "sleeptime_agent" | "voice_convo_agent" | "voice_sleeptime_agent";
|
|
4
|
+
export type TemplatesGetTemplateSnapshotResponseAgentsItemAgentType = "letta_v1_agent" | "memgpt_agent" | "memgpt_v2_agent" | "react_agent" | "workflow_agent" | "split_thread_agent" | "sleeptime_agent" | "voice_convo_agent" | "voice_sleeptime_agent";
|
|
5
5
|
export declare const TemplatesGetTemplateSnapshotResponseAgentsItemAgentType: {
|
|
6
|
+
readonly LettaV1Agent: "letta_v1_agent";
|
|
6
7
|
readonly MemgptAgent: "memgpt_agent";
|
|
7
8
|
readonly MemgptV2Agent: "memgpt_v2_agent";
|
|
8
9
|
readonly ReactAgent: "react_agent";
|
package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.js
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.TemplatesGetTemplateSnapshotResponseAgentsItemAgentType = void 0;
|
|
7
7
|
exports.TemplatesGetTemplateSnapshotResponseAgentsItemAgentType = {
|
|
8
|
+
LettaV1Agent: "letta_v1_agent",
|
|
8
9
|
MemgptAgent: "memgpt_agent",
|
|
9
10
|
MemgptV2Agent: "memgpt_v2_agent",
|
|
10
11
|
ReactAgent: "react_agent",
|
|
@@ -81,7 +81,7 @@ class Tools {
|
|
|
81
81
|
method: "GET",
|
|
82
82
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
83
83
|
? yield core.Supplier.get(this._options.project)
|
|
84
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
84
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
85
85
|
contentType: "application/json",
|
|
86
86
|
requestType: "json",
|
|
87
87
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -157,7 +157,7 @@ class Tools {
|
|
|
157
157
|
method: "DELETE",
|
|
158
158
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
159
159
|
? yield core.Supplier.get(this._options.project)
|
|
160
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
160
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
161
161
|
contentType: "application/json",
|
|
162
162
|
requestType: "json",
|
|
163
163
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -225,7 +225,7 @@ class Tools {
|
|
|
225
225
|
method: "PATCH",
|
|
226
226
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
227
227
|
? yield core.Supplier.get(this._options.project)
|
|
228
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
228
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
229
229
|
contentType: "application/json",
|
|
230
230
|
requestType: "json",
|
|
231
231
|
body: serializers.ToolUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -348,7 +348,7 @@ class Tools {
|
|
|
348
348
|
method: "GET",
|
|
349
349
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
350
350
|
? yield core.Supplier.get(this._options.project)
|
|
351
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
351
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
352
352
|
contentType: "application/json",
|
|
353
353
|
queryParameters: _queryParams,
|
|
354
354
|
requestType: "json",
|
|
@@ -485,7 +485,7 @@ class Tools {
|
|
|
485
485
|
method: "GET",
|
|
486
486
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
487
487
|
? yield core.Supplier.get(this._options.project)
|
|
488
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
488
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
489
489
|
contentType: "application/json",
|
|
490
490
|
queryParameters: _queryParams,
|
|
491
491
|
requestType: "json",
|
|
@@ -564,7 +564,7 @@ class Tools {
|
|
|
564
564
|
method: "POST",
|
|
565
565
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
566
566
|
? yield core.Supplier.get(this._options.project)
|
|
567
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
567
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
568
568
|
contentType: "application/json",
|
|
569
569
|
requestType: "json",
|
|
570
570
|
body: serializers.ToolCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -643,7 +643,7 @@ class Tools {
|
|
|
643
643
|
method: "PUT",
|
|
644
644
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
645
645
|
? yield core.Supplier.get(this._options.project)
|
|
646
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
646
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
647
647
|
contentType: "application/json",
|
|
648
648
|
requestType: "json",
|
|
649
649
|
body: serializers.ToolCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -719,7 +719,7 @@ class Tools {
|
|
|
719
719
|
method: "POST",
|
|
720
720
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
721
721
|
? yield core.Supplier.get(this._options.project)
|
|
722
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
722
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
723
723
|
contentType: "application/json",
|
|
724
724
|
requestType: "json",
|
|
725
725
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -800,7 +800,7 @@ class Tools {
|
|
|
800
800
|
method: "POST",
|
|
801
801
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
802
802
|
? yield core.Supplier.get(this._options.project)
|
|
803
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
803
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
804
804
|
contentType: "application/json",
|
|
805
805
|
requestType: "json",
|
|
806
806
|
body: serializers.ToolRunFromSource.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -876,7 +876,7 @@ class Tools {
|
|
|
876
876
|
method: "GET",
|
|
877
877
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
878
878
|
? yield core.Supplier.get(this._options.project)
|
|
879
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
879
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
880
880
|
contentType: "application/json",
|
|
881
881
|
requestType: "json",
|
|
882
882
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -952,7 +952,7 @@ class Tools {
|
|
|
952
952
|
method: "GET",
|
|
953
953
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
954
954
|
? yield core.Supplier.get(this._options.project)
|
|
955
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
955
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
956
956
|
contentType: "application/json",
|
|
957
957
|
requestType: "json",
|
|
958
958
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1028,7 +1028,7 @@ class Tools {
|
|
|
1028
1028
|
method: "POST",
|
|
1029
1029
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1030
1030
|
? yield core.Supplier.get(this._options.project)
|
|
1031
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1031
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1032
1032
|
contentType: "application/json",
|
|
1033
1033
|
requestType: "json",
|
|
1034
1034
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1103,7 +1103,7 @@ class Tools {
|
|
|
1103
1103
|
method: "GET",
|
|
1104
1104
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1105
1105
|
? yield core.Supplier.get(this._options.project)
|
|
1106
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1106
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1107
1107
|
contentType: "application/json",
|
|
1108
1108
|
requestType: "json",
|
|
1109
1109
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1183,7 +1183,7 @@ class Tools {
|
|
|
1183
1183
|
method: "PUT",
|
|
1184
1184
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1185
1185
|
? yield core.Supplier.get(this._options.project)
|
|
1186
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1186
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1187
1187
|
contentType: "application/json",
|
|
1188
1188
|
requestType: "json",
|
|
1189
1189
|
body: serializers.AddMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -1260,7 +1260,7 @@ class Tools {
|
|
|
1260
1260
|
method: "GET",
|
|
1261
1261
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1262
1262
|
? yield core.Supplier.get(this._options.project)
|
|
1263
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1263
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1264
1264
|
contentType: "application/json",
|
|
1265
1265
|
requestType: "json",
|
|
1266
1266
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1337,7 +1337,7 @@ class Tools {
|
|
|
1337
1337
|
method: "POST",
|
|
1338
1338
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1339
1339
|
? yield core.Supplier.get(this._options.project)
|
|
1340
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1340
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1341
1341
|
contentType: "application/json",
|
|
1342
1342
|
requestType: "json",
|
|
1343
1343
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1413,7 +1413,7 @@ class Tools {
|
|
|
1413
1413
|
method: "DELETE",
|
|
1414
1414
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1415
1415
|
? yield core.Supplier.get(this._options.project)
|
|
1416
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1416
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1417
1417
|
contentType: "application/json",
|
|
1418
1418
|
requestType: "json",
|
|
1419
1419
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1490,7 +1490,7 @@ class Tools {
|
|
|
1490
1490
|
method: "PATCH",
|
|
1491
1491
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1492
1492
|
? yield core.Supplier.get(this._options.project)
|
|
1493
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1493
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1494
1494
|
contentType: "application/json",
|
|
1495
1495
|
requestType: "json",
|
|
1496
1496
|
body: serializers.UpdateMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -1572,7 +1572,7 @@ class Tools {
|
|
|
1572
1572
|
method: "POST",
|
|
1573
1573
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1574
1574
|
? yield core.Supplier.get(this._options.project)
|
|
1575
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1575
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1576
1576
|
contentType: "application/json",
|
|
1577
1577
|
requestType: "json",
|
|
1578
1578
|
body: serializers.TestMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -1633,7 +1633,7 @@ class Tools {
|
|
|
1633
1633
|
method: "POST",
|
|
1634
1634
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1635
1635
|
? yield core.Supplier.get(this._options.project)
|
|
1636
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1636
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1637
1637
|
contentType: "application/json",
|
|
1638
1638
|
requestType: "json",
|
|
1639
1639
|
body: serializers.ConnectMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -82,7 +82,7 @@ class Voice {
|
|
|
82
82
|
method: "POST",
|
|
83
83
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
84
84
|
? yield core.Supplier.get(this._options.project)
|
|
85
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
85
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
86
86
|
contentType: "application/json",
|
|
87
87
|
requestType: "json",
|
|
88
88
|
body: serializers.voice.createVoiceChatCompletions.Request.jsonOrThrow(request, {
|
package/api/types/AgentType.d.ts
CHANGED
|
@@ -4,10 +4,11 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Enum to represent the type of agent.
|
|
6
6
|
*/
|
|
7
|
-
export type AgentType = "memgpt_agent" | "memgpt_v2_agent" | "react_agent" | "workflow_agent" | "split_thread_agent" | "sleeptime_agent" | "voice_convo_agent" | "voice_sleeptime_agent";
|
|
7
|
+
export type AgentType = "memgpt_agent" | "memgpt_v2_agent" | "letta_v1_agent" | "react_agent" | "workflow_agent" | "split_thread_agent" | "sleeptime_agent" | "voice_convo_agent" | "voice_sleeptime_agent";
|
|
8
8
|
export declare const AgentType: {
|
|
9
9
|
readonly MemgptAgent: "memgpt_agent";
|
|
10
10
|
readonly MemgptV2Agent: "memgpt_v2_agent";
|
|
11
|
+
readonly LettaV1Agent: "letta_v1_agent";
|
|
11
12
|
readonly ReactAgent: "react_agent";
|
|
12
13
|
readonly WorkflowAgent: "workflow_agent";
|
|
13
14
|
readonly SplitThreadAgent: "split_thread_agent";
|
package/api/types/AgentType.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Letta from "../index";
|
|
5
|
-
export type MessageContentItem = Letta.ImageContent | Letta.OmittedReasoningContent | Letta.ReasoningContent | Letta.RedactedReasoningContent | Letta.TextContent | Letta.ToolCallContent | Letta.ToolReturnContent;
|
|
5
|
+
export type MessageContentItem = Letta.ImageContent | Letta.OmittedReasoningContent | Letta.ReasoningContent | Letta.RedactedReasoningContent | Letta.SummarizedReasoningContent | Letta.TextContent | Letta.ToolCallContent | Letta.ToolReturnContent;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
/**
|
|
5
|
+
* A placeholder for reasoning content we know is present, but isn't returned by the provider (e.g. OpenAI GPT-5 on ChatCompletions)
|
|
6
|
+
*/
|
|
4
7
|
export interface OmittedReasoningContent {
|
|
5
8
|
type: "omitted_reasoning";
|
|
6
9
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
/**
|
|
5
|
+
* Sent via the Anthropic Messages API
|
|
6
|
+
*/
|
|
4
7
|
export interface ReasoningContent {
|
|
5
8
|
type: "reasoning";
|
|
6
9
|
/** Whether the reasoning content was generated by a reasoner model that processed this step. */
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
/**
|
|
5
|
+
* Sent via the Anthropic Messages API
|
|
6
|
+
*/
|
|
4
7
|
export interface RedactedReasoningContent {
|
|
5
8
|
type: "redacted_reasoning";
|
|
6
9
|
/** The redacted or filtered intermediate reasoning content. */
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Letta from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* The style of reasoning content returned by the OpenAI Responses API
|
|
7
|
+
*/
|
|
8
|
+
export interface SummarizedReasoningContent {
|
|
9
|
+
type: "summarized_reasoning";
|
|
10
|
+
/** The unique identifier for this reasoning step. */
|
|
11
|
+
id: string;
|
|
12
|
+
/** Summaries of the reasoning content. */
|
|
13
|
+
summary: Letta.SummarizedReasoningContentPart[];
|
|
14
|
+
/** The encrypted reasoning content. */
|
|
15
|
+
encryptedContent?: string;
|
|
16
|
+
}
|
package/api/types/index.d.ts
CHANGED
|
@@ -181,6 +181,8 @@ export * from "./StepMetrics";
|
|
|
181
181
|
export * from "./StepStatus";
|
|
182
182
|
export * from "./StopReasonType";
|
|
183
183
|
export * from "./StreamableHttpServerConfig";
|
|
184
|
+
export * from "./SummarizedReasoningContent";
|
|
185
|
+
export * from "./SummarizedReasoningContentPart";
|
|
184
186
|
export * from "./SupervisorManager";
|
|
185
187
|
export * from "./SupervisorManagerUpdate";
|
|
186
188
|
export * from "./SystemMessage";
|
package/api/types/index.js
CHANGED
|
@@ -197,6 +197,8 @@ __exportStar(require("./StepMetrics"), exports);
|
|
|
197
197
|
__exportStar(require("./StepStatus"), exports);
|
|
198
198
|
__exportStar(require("./StopReasonType"), exports);
|
|
199
199
|
__exportStar(require("./StreamableHttpServerConfig"), exports);
|
|
200
|
+
__exportStar(require("./SummarizedReasoningContent"), exports);
|
|
201
|
+
__exportStar(require("./SummarizedReasoningContentPart"), exports);
|
|
200
202
|
__exportStar(require("./SupervisorManager"), exports);
|
|
201
203
|
__exportStar(require("./SupervisorManagerUpdate"), exports);
|
|
202
204
|
__exportStar(require("./SystemMessage"), exports);
|
|
@@ -213,7 +213,7 @@ class Agents {
|
|
|
213
213
|
method: "GET",
|
|
214
214
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
215
215
|
? yield core.Supplier.get(this._options.project)
|
|
216
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
216
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
217
217
|
contentType: "application/json",
|
|
218
218
|
queryParameters: _queryParams,
|
|
219
219
|
requestType: "json",
|
|
@@ -290,7 +290,7 @@ class Agents {
|
|
|
290
290
|
method: "POST",
|
|
291
291
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
292
292
|
? yield core.Supplier.get(this._options.project)
|
|
293
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
293
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
294
294
|
contentType: "application/json",
|
|
295
295
|
requestType: "json",
|
|
296
296
|
body: serializers.CreateAgentRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -366,7 +366,7 @@ class Agents {
|
|
|
366
366
|
method: "GET",
|
|
367
367
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
368
368
|
? yield core.Supplier.get(this._options.project)
|
|
369
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
369
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
370
370
|
contentType: "application/json",
|
|
371
371
|
requestType: "json",
|
|
372
372
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -455,7 +455,7 @@ class Agents {
|
|
|
455
455
|
method: "GET",
|
|
456
456
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
457
457
|
? yield core.Supplier.get(this._options.project)
|
|
458
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
458
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
459
459
|
contentType: "application/json",
|
|
460
460
|
queryParameters: _queryParams,
|
|
461
461
|
requestType: "json",
|
|
@@ -555,7 +555,7 @@ class Agents {
|
|
|
555
555
|
method: "POST",
|
|
556
556
|
headers: Object.assign(Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
557
557
|
? yield core.Supplier.get(this._options.project)
|
|
558
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
558
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-override-embedding-model": request.overrideEmbeddingModel != null ? request.overrideEmbeddingModel : undefined }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
559
559
|
requestType: "file",
|
|
560
560
|
duplex: _maybeEncodedRequest.duplex,
|
|
561
561
|
body: _maybeEncodedRequest.body,
|
|
@@ -643,7 +643,7 @@ class Agents {
|
|
|
643
643
|
method: "GET",
|
|
644
644
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
645
645
|
? yield core.Supplier.get(this._options.project)
|
|
646
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
646
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
647
647
|
contentType: "application/json",
|
|
648
648
|
queryParameters: _queryParams,
|
|
649
649
|
requestType: "json",
|
|
@@ -720,7 +720,7 @@ class Agents {
|
|
|
720
720
|
method: "DELETE",
|
|
721
721
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
722
722
|
? yield core.Supplier.get(this._options.project)
|
|
723
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
723
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
724
724
|
contentType: "application/json",
|
|
725
725
|
requestType: "json",
|
|
726
726
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -788,7 +788,7 @@ class Agents {
|
|
|
788
788
|
method: "PATCH",
|
|
789
789
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
790
790
|
? yield core.Supplier.get(this._options.project)
|
|
791
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
791
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
792
792
|
contentType: "application/json",
|
|
793
793
|
requestType: "json",
|
|
794
794
|
body: serializers.UpdateAgent.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -865,7 +865,7 @@ class Agents {
|
|
|
865
865
|
method: "POST",
|
|
866
866
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
867
867
|
? yield core.Supplier.get(this._options.project)
|
|
868
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
868
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
869
869
|
contentType: "application/json",
|
|
870
870
|
requestType: "json",
|
|
871
871
|
body: serializers.AgentsSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|