@letta-ai/letta-client 0.0.68642 → 0.0.68644
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 +0 -14
- package/api/resources/agents/client/Client.js +10 -99
- package/api/resources/agents/client/requests/index.d.ts +0 -1
- 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.d.ts +7 -1
- package/api/resources/agents/resources/files/client/Client.js +53 -16
- package/api/resources/agents/resources/files/client/index.d.ts +1 -1
- package/api/resources/agents/resources/files/client/index.js +15 -0
- package/api/resources/agents/{client/requests/ListAgentFilesRequest.d.ts → resources/files/client/requests/FilesListRequest.d.ts} +1 -1
- package/api/resources/agents/resources/files/client/requests/index.d.ts +1 -0
- package/api/resources/agents/resources/files/client/requests/index.js +2 -0
- 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/index.d.ts +1 -0
- package/api/resources/agents/resources/index.js +1 -0
- package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/api/resources/agents/resources/messages/client/Client.js +9 -9
- 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/batches/client/Client.d.ts +6 -3
- package/api/resources/batches/client/Client.js +34 -11
- package/api/resources/batches/client/requests/BatchesListRequest.d.ts +30 -0
- package/api/resources/batches/client/requests/index.d.ts +1 -0
- package/api/resources/batches/index.d.ts +1 -0
- package/api/resources/batches/index.js +1 -0
- package/api/resources/batches/resources/messages/client/Client.js +5 -2
- package/api/resources/batches/resources/messages/client/requests/MessagesListRequest.d.ts +4 -0
- package/api/resources/batches/types/BatchesListRequestOrder.d.ts +11 -0
- package/api/resources/batches/types/BatchesListRequestOrder.js +10 -0
- package/api/resources/batches/types/index.d.ts +1 -0
- package/api/resources/batches/types/index.js +17 -0
- 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/embeddingModels/client/Client.js +1 -1
- package/api/resources/folders/client/Client.js +9 -9
- 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/properties/client/Client.js +1 -1
- package/api/resources/index.d.ts +4 -2
- package/api/resources/index.js +5 -3
- package/api/resources/jobs/client/Client.js +5 -5
- package/api/resources/models/client/Client.js +2 -2
- package/api/resources/projects/client/Client.js +1 -1
- package/api/resources/providers/client/Client.d.ts +6 -4
- package/api/resources/providers/client/Client.js +11 -9
- 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.d.ts +3 -3
- package/api/resources/steps/client/Client.js +8 -8
- package/api/resources/steps/resources/feedback/client/Client.d.ts +2 -2
- package/api/resources/steps/resources/feedback/client/Client.js +3 -10
- package/{dist/api/resources/steps/resources/feedback/client/requests/FeedbackCreateRequest.d.ts → api/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.d.ts} +2 -1
- package/api/resources/steps/resources/feedback/client/requests/index.d.ts +1 -1
- package/api/resources/steps/resources/index.d.ts +1 -1
- package/api/resources/steps/resources/index.js +2 -2
- package/api/resources/steps/resources/metrics/client/Client.js +1 -1
- package/api/resources/steps/resources/trace/client/Client.d.ts +4 -1
- package/api/resources/steps/resources/trace/client/Client.js +31 -7
- package/api/resources/tags/client/Client.d.ts +1 -1
- package/api/resources/tags/client/Client.js +15 -4
- package/api/resources/tags/client/requests/TagsListRequest.d.ts +22 -0
- package/api/resources/tags/index.d.ts +1 -0
- package/api/resources/tags/index.js +1 -0
- package/api/resources/tags/types/TagsListRequestOrder.d.ts +11 -0
- package/api/resources/tags/types/TagsListRequestOrder.js +10 -0
- package/api/resources/tags/types/index.d.ts +1 -0
- package/api/resources/tags/types/index.js +17 -0
- package/api/resources/telemetry/client/Client.js +1 -1
- package/api/resources/templates/client/Client.js +9 -9
- package/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/api/resources/tools/client/Client.js +20 -20
- package/api/resources/voice/client/Client.js +1 -1
- package/dist/api/resources/agents/client/Client.d.ts +0 -14
- package/dist/api/resources/agents/client/Client.js +10 -99
- package/dist/api/resources/agents/client/requests/index.d.ts +0 -1
- 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.d.ts +7 -1
- package/dist/api/resources/agents/resources/files/client/Client.js +53 -16
- package/dist/api/resources/agents/resources/files/client/index.d.ts +1 -1
- package/dist/api/resources/agents/resources/files/client/index.js +15 -0
- package/dist/api/resources/agents/{client/requests/ListAgentFilesRequest.d.ts → resources/files/client/requests/FilesListRequest.d.ts} +1 -1
- package/dist/api/resources/agents/resources/files/client/requests/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/files/client/requests/index.js +2 -0
- 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/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/index.js +1 -0
- package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/messages/client/Client.js +9 -9
- 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/batches/client/Client.d.ts +6 -3
- package/dist/api/resources/batches/client/Client.js +34 -11
- package/dist/api/resources/batches/client/requests/BatchesListRequest.d.ts +30 -0
- package/dist/api/resources/batches/client/requests/BatchesListRequest.js +5 -0
- package/dist/api/resources/batches/client/requests/index.d.ts +1 -0
- package/dist/api/resources/batches/index.d.ts +1 -0
- package/dist/api/resources/batches/index.js +1 -0
- package/dist/api/resources/batches/resources/messages/client/Client.js +5 -2
- package/dist/api/resources/batches/resources/messages/client/requests/MessagesListRequest.d.ts +4 -0
- package/dist/api/resources/batches/types/BatchesListRequestOrder.d.ts +11 -0
- package/dist/api/resources/batches/types/BatchesListRequestOrder.js +10 -0
- package/dist/api/resources/batches/types/index.d.ts +1 -0
- package/dist/api/resources/batches/types/index.js +17 -0
- 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/embeddingModels/client/Client.js +1 -1
- package/dist/api/resources/folders/client/Client.js +9 -9
- 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/properties/client/Client.js +1 -1
- package/dist/api/resources/index.d.ts +4 -2
- package/dist/api/resources/index.js +5 -3
- package/dist/api/resources/jobs/client/Client.js +5 -5
- package/dist/api/resources/models/client/Client.js +2 -2
- package/dist/api/resources/projects/client/Client.js +1 -1
- package/dist/api/resources/providers/client/Client.d.ts +6 -4
- package/dist/api/resources/providers/client/Client.js +11 -9
- 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.d.ts +3 -3
- package/dist/api/resources/steps/client/Client.js +8 -8
- package/dist/api/resources/steps/resources/feedback/client/Client.d.ts +2 -2
- package/dist/api/resources/steps/resources/feedback/client/Client.js +3 -10
- package/{api/resources/steps/resources/feedback/client/requests/FeedbackCreateRequest.d.ts → dist/api/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.d.ts} +2 -1
- package/dist/api/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.js +5 -0
- package/dist/api/resources/steps/resources/feedback/client/requests/index.d.ts +1 -1
- package/dist/api/resources/steps/resources/index.d.ts +1 -1
- package/dist/api/resources/steps/resources/index.js +2 -2
- package/dist/api/resources/steps/resources/metrics/client/Client.js +1 -1
- package/dist/api/resources/steps/resources/trace/client/Client.d.ts +4 -1
- package/dist/api/resources/steps/resources/trace/client/Client.js +31 -7
- package/dist/api/resources/tags/client/Client.d.ts +1 -1
- package/dist/api/resources/tags/client/Client.js +15 -4
- package/dist/api/resources/tags/client/requests/TagsListRequest.d.ts +22 -0
- package/dist/api/resources/tags/index.d.ts +1 -0
- package/dist/api/resources/tags/index.js +1 -0
- package/dist/api/resources/tags/types/TagsListRequestOrder.d.ts +11 -0
- package/dist/api/resources/tags/types/TagsListRequestOrder.js +10 -0
- package/dist/api/resources/tags/types/index.d.ts +1 -0
- package/dist/api/resources/tags/types/index.js +17 -0
- package/dist/api/resources/telemetry/client/Client.js +1 -1
- package/dist/api/resources/templates/client/Client.js +9 -9
- package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/tools/client/Client.js +20 -20
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/serialization/resources/batches/index.d.ts +1 -0
- package/dist/serialization/resources/batches/index.js +1 -0
- package/dist/serialization/resources/batches/types/BatchesListRequestOrder.d.ts +10 -0
- package/dist/serialization/resources/batches/types/BatchesListRequestOrder.js +41 -0
- package/dist/serialization/resources/batches/types/index.d.ts +1 -0
- package/dist/serialization/resources/batches/types/index.js +17 -0
- package/dist/serialization/resources/index.d.ts +4 -2
- package/dist/serialization/resources/index.js +5 -3
- package/dist/serialization/resources/steps/index.d.ts +1 -0
- package/dist/serialization/resources/steps/index.js +1 -0
- package/dist/serialization/resources/steps/resources/feedback/client/index.d.ts +1 -0
- package/dist/serialization/resources/steps/resources/feedback/client/index.js +17 -0
- package/dist/serialization/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.d.ts +13 -0
- package/dist/serialization/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.js +44 -0
- package/dist/serialization/resources/steps/resources/feedback/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/steps/resources/feedback/client/requests/index.js +5 -0
- package/dist/serialization/resources/steps/resources/feedback/index.d.ts +1 -0
- package/dist/serialization/resources/steps/resources/feedback/index.js +17 -0
- package/dist/serialization/resources/steps/resources/index.d.ts +3 -0
- package/dist/serialization/resources/steps/resources/index.js +42 -0
- package/dist/serialization/resources/steps/resources/trace/client/index.d.ts +1 -0
- package/dist/serialization/resources/steps/resources/trace/client/index.js +37 -0
- package/dist/serialization/resources/steps/resources/trace/client/retrieve.d.ts +11 -0
- package/dist/serialization/resources/steps/resources/trace/client/retrieve.js +8 -0
- package/dist/serialization/resources/steps/resources/trace/index.d.ts +1 -0
- package/dist/serialization/resources/steps/resources/trace/index.js +17 -0
- package/dist/serialization/resources/tags/index.d.ts +1 -0
- package/dist/serialization/resources/tags/index.js +1 -0
- package/dist/serialization/resources/tags/types/TagsListRequestOrder.d.ts +10 -0
- package/dist/serialization/resources/tags/types/TagsListRequestOrder.js +41 -0
- package/dist/serialization/resources/tags/types/index.d.ts +1 -0
- package/dist/serialization/resources/tags/types/index.js +17 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +88 -111
- package/serialization/resources/batches/index.d.ts +1 -0
- package/serialization/resources/batches/index.js +1 -0
- package/serialization/resources/batches/types/BatchesListRequestOrder.d.ts +10 -0
- package/serialization/resources/batches/types/BatchesListRequestOrder.js +41 -0
- package/serialization/resources/batches/types/index.d.ts +1 -0
- package/serialization/resources/batches/types/index.js +17 -0
- package/serialization/resources/index.d.ts +4 -2
- package/serialization/resources/index.js +5 -3
- package/serialization/resources/steps/index.d.ts +1 -0
- package/serialization/resources/steps/index.js +1 -0
- package/serialization/resources/steps/resources/feedback/client/index.d.ts +1 -0
- package/serialization/resources/steps/resources/feedback/client/index.js +17 -0
- package/serialization/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.d.ts +13 -0
- package/serialization/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.js +44 -0
- package/serialization/resources/steps/resources/feedback/client/requests/index.d.ts +1 -0
- package/serialization/resources/steps/resources/feedback/client/requests/index.js +5 -0
- package/serialization/resources/steps/resources/feedback/index.d.ts +1 -0
- package/serialization/resources/steps/resources/feedback/index.js +17 -0
- package/serialization/resources/steps/resources/index.d.ts +3 -0
- package/serialization/resources/steps/resources/index.js +42 -0
- package/serialization/resources/steps/resources/trace/client/index.d.ts +1 -0
- package/serialization/resources/steps/resources/trace/client/index.js +37 -0
- package/serialization/resources/steps/resources/trace/client/retrieve.d.ts +11 -0
- package/serialization/resources/steps/resources/trace/client/retrieve.js +8 -0
- package/serialization/resources/steps/resources/trace/index.d.ts +1 -0
- package/serialization/resources/steps/resources/trace/index.js +17 -0
- package/serialization/resources/tags/index.d.ts +1 -0
- package/serialization/resources/tags/index.js +1 -0
- package/serialization/resources/tags/types/TagsListRequestOrder.d.ts +10 -0
- package/serialization/resources/tags/types/TagsListRequestOrder.js +41 -0
- package/serialization/resources/tags/types/index.d.ts +1 -0
- package/serialization/resources/tags/types/index.js +17 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- /package/api/resources/agents/{client/requests/ListAgentFilesRequest.js → resources/files/client/requests/FilesListRequest.js} +0 -0
- /package/api/resources/{steps/resources/feedback/client/requests/FeedbackCreateRequest.js → batches/client/requests/BatchesListRequest.js} +0 -0
- /package/{dist/api/resources/agents/client/requests/ListAgentFilesRequest.js → api/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.js} +0 -0
- /package/dist/api/resources/{steps/resources/feedback/client/requests/FeedbackCreateRequest.js → agents/resources/files/client/requests/FilesListRequest.js} +0 -0
|
@@ -51,7 +51,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
51
51
|
exports.Trace = void 0;
|
|
52
52
|
const environments = __importStar(require("../../../../../../environments"));
|
|
53
53
|
const core = __importStar(require("../../../../../../core"));
|
|
54
|
+
const Letta = __importStar(require("../../../../../index"));
|
|
54
55
|
const url_join_1 = __importDefault(require("url-join"));
|
|
56
|
+
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
55
57
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
56
58
|
class Trace {
|
|
57
59
|
constructor(_options = {}) {
|
|
@@ -61,6 +63,8 @@ class Trace {
|
|
|
61
63
|
* @param {string} stepId
|
|
62
64
|
* @param {Trace.RequestOptions} requestOptions - Request-specific configuration.
|
|
63
65
|
*
|
|
66
|
+
* @throws {@link Letta.UnprocessableEntityError}
|
|
67
|
+
*
|
|
64
68
|
* @example
|
|
65
69
|
* await client.steps.trace.retrieve("step_id")
|
|
66
70
|
*/
|
|
@@ -75,7 +79,7 @@ class Trace {
|
|
|
75
79
|
method: "GET",
|
|
76
80
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
77
81
|
? yield core.Supplier.get(this._options.project)
|
|
78
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
82
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
|
|
79
83
|
contentType: "application/json",
|
|
80
84
|
requestType: "json",
|
|
81
85
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -83,14 +87,34 @@ class Trace {
|
|
|
83
87
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
84
88
|
});
|
|
85
89
|
if (_response.ok) {
|
|
86
|
-
return {
|
|
90
|
+
return {
|
|
91
|
+
data: serializers.steps.trace.retrieve.Response.parseOrThrow(_response.body, {
|
|
92
|
+
unrecognizedObjectKeys: "passthrough",
|
|
93
|
+
allowUnrecognizedUnionMembers: true,
|
|
94
|
+
allowUnrecognizedEnumValues: true,
|
|
95
|
+
skipValidation: true,
|
|
96
|
+
breadcrumbsPrefix: ["response"],
|
|
97
|
+
}),
|
|
98
|
+
rawResponse: _response.rawResponse,
|
|
99
|
+
};
|
|
87
100
|
}
|
|
88
101
|
if (_response.error.reason === "status-code") {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
102
|
+
switch (_response.error.statusCode) {
|
|
103
|
+
case 422:
|
|
104
|
+
throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
105
|
+
unrecognizedObjectKeys: "passthrough",
|
|
106
|
+
allowUnrecognizedUnionMembers: true,
|
|
107
|
+
allowUnrecognizedEnumValues: true,
|
|
108
|
+
skipValidation: true,
|
|
109
|
+
breadcrumbsPrefix: ["response"],
|
|
110
|
+
}), _response.rawResponse);
|
|
111
|
+
default:
|
|
112
|
+
throw new errors.LettaError({
|
|
113
|
+
statusCode: _response.error.statusCode,
|
|
114
|
+
body: _response.error.body,
|
|
115
|
+
rawResponse: _response.rawResponse,
|
|
116
|
+
});
|
|
117
|
+
}
|
|
94
118
|
}
|
|
95
119
|
switch (_response.error.reason) {
|
|
96
120
|
case "non-json":
|
|
@@ -31,7 +31,7 @@ export declare class Tags {
|
|
|
31
31
|
protected readonly _options: Tags.Options;
|
|
32
32
|
constructor(_options?: Tags.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Get a list of all tags in the database
|
|
34
|
+
* Get a list of all agent tags in the database.
|
|
35
35
|
*
|
|
36
36
|
* @param {Letta.TagsListRequest} request
|
|
37
37
|
* @param {Tags.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -52,15 +52,15 @@ exports.Tags = void 0;
|
|
|
52
52
|
const environments = __importStar(require("../../../../environments"));
|
|
53
53
|
const core = __importStar(require("../../../../core"));
|
|
54
54
|
const Letta = __importStar(require("../../../index"));
|
|
55
|
-
const url_join_1 = __importDefault(require("url-join"));
|
|
56
55
|
const serializers = __importStar(require("../../../../serialization/index"));
|
|
56
|
+
const url_join_1 = __importDefault(require("url-join"));
|
|
57
57
|
const errors = __importStar(require("../../../../errors/index"));
|
|
58
58
|
class Tags {
|
|
59
59
|
constructor(_options = {}) {
|
|
60
60
|
this._options = _options;
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
|
-
* Get a list of all tags in the database
|
|
63
|
+
* Get a list of all agent tags in the database.
|
|
64
64
|
*
|
|
65
65
|
* @param {Letta.TagsListRequest} request
|
|
66
66
|
* @param {Tags.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -76,14 +76,25 @@ class Tags {
|
|
|
76
76
|
__list() {
|
|
77
77
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
78
78
|
var _a, _b, _c;
|
|
79
|
-
const { after, limit, queryText } = request;
|
|
79
|
+
const { before, after, limit, order, orderBy, queryText } = request;
|
|
80
80
|
const _queryParams = {};
|
|
81
|
+
if (before != null) {
|
|
82
|
+
_queryParams["before"] = before;
|
|
83
|
+
}
|
|
81
84
|
if (after != null) {
|
|
82
85
|
_queryParams["after"] = after;
|
|
83
86
|
}
|
|
84
87
|
if (limit != null) {
|
|
85
88
|
_queryParams["limit"] = limit.toString();
|
|
86
89
|
}
|
|
90
|
+
if (order != null) {
|
|
91
|
+
_queryParams["order"] = serializers.TagsListRequestOrder.jsonOrThrow(order, {
|
|
92
|
+
unrecognizedObjectKeys: "strip",
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
if (orderBy != null) {
|
|
96
|
+
_queryParams["order_by"] = orderBy;
|
|
97
|
+
}
|
|
87
98
|
if (queryText != null) {
|
|
88
99
|
_queryParams["query_text"] = queryText;
|
|
89
100
|
}
|
|
@@ -92,7 +103,7 @@ class Tags {
|
|
|
92
103
|
method: "GET",
|
|
93
104
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
94
105
|
? yield core.Supplier.get(this._options.project)
|
|
95
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
106
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
|
|
96
107
|
contentType: "application/json",
|
|
97
108
|
queryParameters: _queryParams,
|
|
98
109
|
requestType: "json",
|
|
@@ -1,12 +1,34 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as Letta from "../../../../index";
|
|
4
5
|
/**
|
|
5
6
|
* @example
|
|
6
7
|
* {}
|
|
7
8
|
*/
|
|
8
9
|
export interface TagsListRequest {
|
|
10
|
+
/**
|
|
11
|
+
* Tag cursor for pagination. Returns tags that come before this tag in the specified sort order
|
|
12
|
+
*/
|
|
13
|
+
before?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Tag cursor for pagination. Returns tags that come after this tag in the specified sort order
|
|
16
|
+
*/
|
|
9
17
|
after?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Maximum number of tags to return
|
|
20
|
+
*/
|
|
10
21
|
limit?: number;
|
|
22
|
+
/**
|
|
23
|
+
* Sort order for tags. 'asc' for alphabetical order, 'desc' for reverse alphabetical order
|
|
24
|
+
*/
|
|
25
|
+
order?: Letta.TagsListRequestOrder;
|
|
26
|
+
/**
|
|
27
|
+
* Field to sort by
|
|
28
|
+
*/
|
|
29
|
+
orderBy?: "name";
|
|
30
|
+
/**
|
|
31
|
+
* Filter tags by text search
|
|
32
|
+
*/
|
|
11
33
|
queryText?: string;
|
|
12
34
|
}
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
17
18
|
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Sort order for tags. 'asc' for alphabetical order, 'desc' for reverse alphabetical order
|
|
6
|
+
*/
|
|
7
|
+
export type TagsListRequestOrder = "asc" | "desc";
|
|
8
|
+
export declare const TagsListRequestOrder: {
|
|
9
|
+
readonly Asc: "asc";
|
|
10
|
+
readonly Desc: "desc";
|
|
11
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.TagsListRequestOrder = void 0;
|
|
7
|
+
exports.TagsListRequestOrder = {
|
|
8
|
+
Asc: "asc",
|
|
9
|
+
Desc: "desc",
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./TagsListRequestOrder";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./TagsListRequestOrder"), exports);
|
|
@@ -79,7 +79,7 @@ class Telemetry {
|
|
|
79
79
|
method: "GET",
|
|
80
80
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
81
81
|
? yield core.Supplier.get(this._options.project)
|
|
82
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
82
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
|
|
83
83
|
contentType: "application/json",
|
|
84
84
|
requestType: "json",
|
|
85
85
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -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.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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,
|
|
@@ -398,7 +398,7 @@ class Templates {
|
|
|
398
398
|
method: "POST",
|
|
399
399
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
400
400
|
? yield core.Supplier.get(this._options.project)
|
|
401
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
401
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
|
|
402
402
|
contentType: "application/json",
|
|
403
403
|
requestType: "json",
|
|
404
404
|
body: serializers.TemplatesForkTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -473,7 +473,7 @@ class Templates {
|
|
|
473
473
|
method: "POST",
|
|
474
474
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
475
475
|
? yield core.Supplier.get(this._options.project)
|
|
476
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
476
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
|
|
477
477
|
contentType: "application/json",
|
|
478
478
|
requestType: "json",
|
|
479
479
|
body: serializers.TemplatesCreateTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -550,7 +550,7 @@ class Templates {
|
|
|
550
550
|
method: "PATCH",
|
|
551
551
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
552
552
|
? yield core.Supplier.get(this._options.project)
|
|
553
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
553
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
|
|
554
554
|
contentType: "application/json",
|
|
555
555
|
requestType: "json",
|
|
556
556
|
body: serializers.TemplatesRenameTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -634,7 +634,7 @@ class Templates {
|
|
|
634
634
|
method: "PATCH",
|
|
635
635
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
636
636
|
? yield core.Supplier.get(this._options.project)
|
|
637
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
637
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
|
|
638
638
|
contentType: "application/json",
|
|
639
639
|
requestType: "json",
|
|
640
640
|
body: serializers.TemplatesUpdateTemplateDescriptionRequest.jsonOrThrow(request, {
|
|
@@ -719,7 +719,7 @@ class Templates {
|
|
|
719
719
|
method: "GET",
|
|
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.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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
|
queryParameters: _queryParams,
|
|
725
725
|
requestType: "json",
|
|
@@ -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.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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" }),
|
|
@@ -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.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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",
|
|
@@ -474,7 +474,7 @@ class Tools {
|
|
|
474
474
|
method: "GET",
|
|
475
475
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
476
476
|
? yield core.Supplier.get(this._options.project)
|
|
477
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
477
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
|
|
478
478
|
contentType: "application/json",
|
|
479
479
|
queryParameters: _queryParams,
|
|
480
480
|
requestType: "json",
|
|
@@ -553,7 +553,7 @@ class Tools {
|
|
|
553
553
|
method: "POST",
|
|
554
554
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
555
555
|
? yield core.Supplier.get(this._options.project)
|
|
556
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
556
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
|
|
557
557
|
contentType: "application/json",
|
|
558
558
|
requestType: "json",
|
|
559
559
|
body: serializers.ToolCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -632,7 +632,7 @@ class Tools {
|
|
|
632
632
|
method: "PUT",
|
|
633
633
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
634
634
|
? yield core.Supplier.get(this._options.project)
|
|
635
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
635
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
|
|
636
636
|
contentType: "application/json",
|
|
637
637
|
requestType: "json",
|
|
638
638
|
body: serializers.ToolCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -708,7 +708,7 @@ class Tools {
|
|
|
708
708
|
method: "POST",
|
|
709
709
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
710
710
|
? yield core.Supplier.get(this._options.project)
|
|
711
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
711
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
|
|
712
712
|
contentType: "application/json",
|
|
713
713
|
requestType: "json",
|
|
714
714
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -789,7 +789,7 @@ class Tools {
|
|
|
789
789
|
method: "POST",
|
|
790
790
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
791
791
|
? yield core.Supplier.get(this._options.project)
|
|
792
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
792
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
|
|
793
793
|
contentType: "application/json",
|
|
794
794
|
requestType: "json",
|
|
795
795
|
body: serializers.ToolRunFromSource.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -867,7 +867,7 @@ class Tools {
|
|
|
867
867
|
method: "GET",
|
|
868
868
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
869
869
|
? yield core.Supplier.get(this._options.project)
|
|
870
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
870
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "user-id": userId != null ? userId : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
871
871
|
contentType: "application/json",
|
|
872
872
|
requestType: "json",
|
|
873
873
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -943,7 +943,7 @@ class Tools {
|
|
|
943
943
|
method: "GET",
|
|
944
944
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
945
945
|
? yield core.Supplier.get(this._options.project)
|
|
946
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
946
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
|
|
947
947
|
contentType: "application/json",
|
|
948
948
|
requestType: "json",
|
|
949
949
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1019,7 +1019,7 @@ class Tools {
|
|
|
1019
1019
|
method: "POST",
|
|
1020
1020
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1021
1021
|
? yield core.Supplier.get(this._options.project)
|
|
1022
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1022
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
|
|
1023
1023
|
contentType: "application/json",
|
|
1024
1024
|
requestType: "json",
|
|
1025
1025
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1096,7 +1096,7 @@ class Tools {
|
|
|
1096
1096
|
method: "GET",
|
|
1097
1097
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1098
1098
|
? yield core.Supplier.get(this._options.project)
|
|
1099
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1099
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "user-id": userId != null ? userId : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1100
1100
|
contentType: "application/json",
|
|
1101
1101
|
requestType: "json",
|
|
1102
1102
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1176,7 +1176,7 @@ class Tools {
|
|
|
1176
1176
|
method: "PUT",
|
|
1177
1177
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1178
1178
|
? yield core.Supplier.get(this._options.project)
|
|
1179
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1179
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
|
|
1180
1180
|
contentType: "application/json",
|
|
1181
1181
|
requestType: "json",
|
|
1182
1182
|
body: serializers.AddMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -1253,7 +1253,7 @@ class Tools {
|
|
|
1253
1253
|
method: "GET",
|
|
1254
1254
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1255
1255
|
? yield core.Supplier.get(this._options.project)
|
|
1256
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1256
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
|
|
1257
1257
|
contentType: "application/json",
|
|
1258
1258
|
requestType: "json",
|
|
1259
1259
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1330,7 +1330,7 @@ class Tools {
|
|
|
1330
1330
|
method: "POST",
|
|
1331
1331
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1332
1332
|
? yield core.Supplier.get(this._options.project)
|
|
1333
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1333
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
|
|
1334
1334
|
contentType: "application/json",
|
|
1335
1335
|
requestType: "json",
|
|
1336
1336
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1406,7 +1406,7 @@ class Tools {
|
|
|
1406
1406
|
method: "DELETE",
|
|
1407
1407
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1408
1408
|
? yield core.Supplier.get(this._options.project)
|
|
1409
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1409
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
|
|
1410
1410
|
contentType: "application/json",
|
|
1411
1411
|
requestType: "json",
|
|
1412
1412
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1483,7 +1483,7 @@ class Tools {
|
|
|
1483
1483
|
method: "PATCH",
|
|
1484
1484
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1485
1485
|
? yield core.Supplier.get(this._options.project)
|
|
1486
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1486
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
|
|
1487
1487
|
contentType: "application/json",
|
|
1488
1488
|
requestType: "json",
|
|
1489
1489
|
body: serializers.UpdateMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -1565,7 +1565,7 @@ class Tools {
|
|
|
1565
1565
|
method: "POST",
|
|
1566
1566
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1567
1567
|
? yield core.Supplier.get(this._options.project)
|
|
1568
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1568
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
|
|
1569
1569
|
contentType: "application/json",
|
|
1570
1570
|
requestType: "json",
|
|
1571
1571
|
body: serializers.TestMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -1626,7 +1626,7 @@ class Tools {
|
|
|
1626
1626
|
method: "POST",
|
|
1627
1627
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1628
1628
|
? yield core.Supplier.get(this._options.project)
|
|
1629
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1629
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
|
|
1630
1630
|
contentType: "application/json",
|
|
1631
1631
|
requestType: "json",
|
|
1632
1632
|
body: serializers.ConnectMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -85,7 +85,7 @@ class Voice {
|
|
|
85
85
|
method: "POST",
|
|
86
86
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
87
87
|
? yield core.Supplier.get(this._options.project)
|
|
88
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
88
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "user-id": userId != null ? userId : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
89
89
|
contentType: "application/json",
|
|
90
90
|
requestType: "json",
|
|
91
91
|
body: serializers.voice.createVoiceChatCompletions.Request.jsonOrThrow(_body, {
|
|
@@ -183,20 +183,6 @@ export declare class Agents {
|
|
|
183
183
|
*/
|
|
184
184
|
modify(agentId: string, request?: Letta.UpdateAgent, requestOptions?: Agents.RequestOptions): core.HttpResponsePromise<Letta.AgentState>;
|
|
185
185
|
private __modify;
|
|
186
|
-
/**
|
|
187
|
-
* Get the files attached to an agent with their open/closed status (paginated).
|
|
188
|
-
*
|
|
189
|
-
* @param {string} agentId
|
|
190
|
-
* @param {Letta.ListAgentFilesRequest} request
|
|
191
|
-
* @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
|
|
192
|
-
*
|
|
193
|
-
* @throws {@link Letta.UnprocessableEntityError}
|
|
194
|
-
*
|
|
195
|
-
* @example
|
|
196
|
-
* await client.agents.listAgentFiles("agent_id")
|
|
197
|
-
*/
|
|
198
|
-
listAgentFiles(agentId: string, request?: Letta.ListAgentFilesRequest, requestOptions?: Agents.RequestOptions): core.HttpResponsePromise<Letta.PaginatedAgentFiles>;
|
|
199
|
-
private __listAgentFiles;
|
|
200
186
|
/**
|
|
201
187
|
* Summarize an agent's conversation history to a target message length.
|
|
202
188
|
*
|