@letta-ai/letta-client 0.1.27 → 0.1.29

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.
Files changed (137) hide show
  1. package/api/resources/agents/client/Client.js +20 -8
  2. package/api/resources/agents/client/requests/CreateAgentRequest.d.ts +2 -1
  3. package/api/resources/agents/resources/archivalMemory/client/Client.js +3 -3
  4. package/api/resources/agents/resources/context/client/Client.js +1 -1
  5. package/api/resources/agents/resources/coreMemory/client/Client.js +6 -6
  6. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  7. package/api/resources/agents/resources/messages/client/Client.js +5 -5
  8. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  9. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  10. package/api/resources/agents/resources/tools/client/Client.js +3 -3
  11. package/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.d.ts +2 -1
  12. package/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.js +1 -0
  13. package/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.d.ts +2 -1
  14. package/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.js +1 -0
  15. package/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.d.ts +2 -1
  16. package/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.js +1 -0
  17. package/api/resources/blocks/client/Client.js +6 -6
  18. package/api/resources/health/client/Client.js +1 -1
  19. package/api/resources/jobs/client/Client.js +4 -4
  20. package/api/resources/models/client/Client.js +2 -2
  21. package/api/resources/providers/client/Client.js +4 -4
  22. package/api/resources/runs/client/Client.js +6 -6
  23. package/api/resources/sources/client/Client.js +6 -6
  24. package/api/resources/sources/resources/files/client/Client.js +3 -3
  25. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  26. package/api/resources/steps/client/Client.js +2 -2
  27. package/api/resources/tag/client/Client.js +1 -1
  28. package/api/resources/templates/client/Client.js +1 -1
  29. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.d.ts +2 -1
  30. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.js +1 -0
  31. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.d.ts +2 -1
  32. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.js +1 -0
  33. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.d.ts +2 -1
  34. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.js +1 -0
  35. package/api/resources/tools/client/Client.js +11 -11
  36. package/api/types/ActionParametersModel.d.ts +1 -0
  37. package/api/types/ActionResponseModel.d.ts +1 -0
  38. package/api/types/AppAuthSchemeAuthMode.d.ts +2 -1
  39. package/api/types/AppAuthSchemeAuthMode.js +1 -0
  40. package/api/types/EmbeddingConfigEmbeddingEndpointType.d.ts +2 -1
  41. package/api/types/EmbeddingConfigEmbeddingEndpointType.js +1 -0
  42. package/api/types/LlmConfigModelEndpointType.d.ts +2 -1
  43. package/api/types/LlmConfigModelEndpointType.js +1 -0
  44. package/dist/api/resources/agents/client/Client.js +20 -8
  45. package/dist/api/resources/agents/client/requests/CreateAgentRequest.d.ts +2 -1
  46. package/dist/api/resources/agents/resources/archivalMemory/client/Client.js +3 -3
  47. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  48. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +6 -6
  49. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  50. package/dist/api/resources/agents/resources/messages/client/Client.js +5 -5
  51. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  52. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  53. package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
  54. package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.d.ts +2 -1
  55. package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.js +1 -0
  56. package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.d.ts +2 -1
  57. package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.js +1 -0
  58. package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.d.ts +2 -1
  59. package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.js +1 -0
  60. package/dist/api/resources/blocks/client/Client.js +6 -6
  61. package/dist/api/resources/health/client/Client.js +1 -1
  62. package/dist/api/resources/jobs/client/Client.js +4 -4
  63. package/dist/api/resources/models/client/Client.js +2 -2
  64. package/dist/api/resources/providers/client/Client.js +4 -4
  65. package/dist/api/resources/runs/client/Client.js +6 -6
  66. package/dist/api/resources/sources/client/Client.js +6 -6
  67. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  68. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  69. package/dist/api/resources/steps/client/Client.js +2 -2
  70. package/dist/api/resources/tag/client/Client.js +1 -1
  71. package/dist/api/resources/templates/client/Client.js +1 -1
  72. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.d.ts +2 -1
  73. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.js +1 -0
  74. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.d.ts +2 -1
  75. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.js +1 -0
  76. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.d.ts +2 -1
  77. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.js +1 -0
  78. package/dist/api/resources/tools/client/Client.js +11 -11
  79. package/dist/api/types/ActionParametersModel.d.ts +1 -0
  80. package/dist/api/types/ActionResponseModel.d.ts +1 -0
  81. package/dist/api/types/AppAuthSchemeAuthMode.d.ts +2 -1
  82. package/dist/api/types/AppAuthSchemeAuthMode.js +1 -0
  83. package/dist/api/types/EmbeddingConfigEmbeddingEndpointType.d.ts +2 -1
  84. package/dist/api/types/EmbeddingConfigEmbeddingEndpointType.js +1 -0
  85. package/dist/api/types/LlmConfigModelEndpointType.d.ts +2 -1
  86. package/dist/api/types/LlmConfigModelEndpointType.js +1 -0
  87. package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -1
  88. package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.d.ts +1 -1
  89. package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.js +1 -0
  90. package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.d.ts +1 -1
  91. package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.js +1 -0
  92. package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.d.ts +1 -1
  93. package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.js +1 -0
  94. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.d.ts +1 -1
  95. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.js +1 -0
  96. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.d.ts +1 -1
  97. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.js +1 -0
  98. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.d.ts +1 -1
  99. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.js +1 -0
  100. package/dist/serialization/types/ActionParametersModel.d.ts +1 -0
  101. package/dist/serialization/types/ActionParametersModel.js +1 -0
  102. package/dist/serialization/types/ActionResponseModel.d.ts +1 -0
  103. package/dist/serialization/types/ActionResponseModel.js +1 -0
  104. package/dist/serialization/types/AppAuthSchemeAuthMode.d.ts +1 -1
  105. package/dist/serialization/types/AppAuthSchemeAuthMode.js +1 -1
  106. package/dist/serialization/types/EmbeddingConfigEmbeddingEndpointType.d.ts +1 -1
  107. package/dist/serialization/types/EmbeddingConfigEmbeddingEndpointType.js +1 -0
  108. package/dist/serialization/types/LlmConfigModelEndpointType.d.ts +1 -1
  109. package/dist/serialization/types/LlmConfigModelEndpointType.js +1 -0
  110. package/dist/version.d.ts +1 -1
  111. package/dist/version.js +1 -1
  112. package/package.json +1 -1
  113. package/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -1
  114. package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.d.ts +1 -1
  115. package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.js +1 -0
  116. package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.d.ts +1 -1
  117. package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.js +1 -0
  118. package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.d.ts +1 -1
  119. package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.js +1 -0
  120. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.d.ts +1 -1
  121. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.js +1 -0
  122. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.d.ts +1 -1
  123. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.js +1 -0
  124. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.d.ts +1 -1
  125. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.js +1 -0
  126. package/serialization/types/ActionParametersModel.d.ts +1 -0
  127. package/serialization/types/ActionParametersModel.js +1 -0
  128. package/serialization/types/ActionResponseModel.d.ts +1 -0
  129. package/serialization/types/ActionResponseModel.js +1 -0
  130. package/serialization/types/AppAuthSchemeAuthMode.d.ts +1 -1
  131. package/serialization/types/AppAuthSchemeAuthMode.js +1 -1
  132. package/serialization/types/EmbeddingConfigEmbeddingEndpointType.d.ts +1 -1
  133. package/serialization/types/EmbeddingConfigEmbeddingEndpointType.js +1 -0
  134. package/serialization/types/LlmConfigModelEndpointType.d.ts +1 -1
  135. package/serialization/types/LlmConfigModelEndpointType.js +1 -0
  136. package/version.d.ts +1 -1
  137. package/version.js +1 -1
@@ -76,7 +76,7 @@ class Tools {
76
76
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
77
77
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, `v1/tools/${encodeURIComponent(toolId)}`),
78
78
  method: "GET",
79
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.27", "User-Agent": "@letta-ai/letta-client/0.1.27", "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
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.29", "User-Agent": "@letta-ai/letta-client/0.1.29", "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),
80
80
  contentType: "application/json",
81
81
  requestType: "json",
82
82
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -141,7 +141,7 @@ class Tools {
141
141
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
142
142
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, `v1/tools/${encodeURIComponent(toolId)}`),
143
143
  method: "DELETE",
144
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.27", "User-Agent": "@letta-ai/letta-client/0.1.27", "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),
144
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.29", "User-Agent": "@letta-ai/letta-client/0.1.29", "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),
145
145
  contentType: "application/json",
146
146
  requestType: "json",
147
147
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -201,7 +201,7 @@ class Tools {
201
201
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
202
202
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, `v1/tools/${encodeURIComponent(toolId)}`),
203
203
  method: "PATCH",
204
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.27", "User-Agent": "@letta-ai/letta-client/0.1.27", "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),
204
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.29", "User-Agent": "@letta-ai/letta-client/0.1.29", "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),
205
205
  contentType: "application/json",
206
206
  requestType: "json",
207
207
  body: serializers.ToolUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -278,7 +278,7 @@ class Tools {
278
278
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
279
279
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, "v1/tools/"),
280
280
  method: "GET",
281
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.27", "User-Agent": "@letta-ai/letta-client/0.1.27", "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),
281
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.29", "User-Agent": "@letta-ai/letta-client/0.1.29", "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),
282
282
  contentType: "application/json",
283
283
  queryParameters: _queryParams,
284
284
  requestType: "json",
@@ -346,7 +346,7 @@ class Tools {
346
346
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
347
347
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, "v1/tools/"),
348
348
  method: "POST",
349
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.27", "User-Agent": "@letta-ai/letta-client/0.1.27", "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),
349
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.29", "User-Agent": "@letta-ai/letta-client/0.1.29", "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),
350
350
  contentType: "application/json",
351
351
  requestType: "json",
352
352
  body: serializers.ToolCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -414,7 +414,7 @@ class Tools {
414
414
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
415
415
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, "v1/tools/"),
416
416
  method: "PUT",
417
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.27", "User-Agent": "@letta-ai/letta-client/0.1.27", "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),
417
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.29", "User-Agent": "@letta-ai/letta-client/0.1.29", "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),
418
418
  contentType: "application/json",
419
419
  requestType: "json",
420
420
  body: serializers.ToolCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -479,7 +479,7 @@ class Tools {
479
479
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
480
480
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, "v1/tools/add-base-tools"),
481
481
  method: "POST",
482
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.27", "User-Agent": "@letta-ai/letta-client/0.1.27", "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),
482
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.29", "User-Agent": "@letta-ai/letta-client/0.1.29", "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
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -549,7 +549,7 @@ class Tools {
549
549
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
550
550
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, "v1/tools/run"),
551
551
  method: "POST",
552
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.27", "User-Agent": "@letta-ai/letta-client/0.1.27", "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),
552
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.29", "User-Agent": "@letta-ai/letta-client/0.1.29", "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),
553
553
  contentType: "application/json",
554
554
  requestType: "json",
555
555
  body: serializers.ToolRunFromSource.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -614,7 +614,7 @@ class Tools {
614
614
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
615
615
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, "v1/tools/composio/apps"),
616
616
  method: "GET",
617
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.27", "User-Agent": "@letta-ai/letta-client/0.1.27", "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),
617
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.29", "User-Agent": "@letta-ai/letta-client/0.1.29", "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),
618
618
  contentType: "application/json",
619
619
  requestType: "json",
620
620
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -679,7 +679,7 @@ class Tools {
679
679
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
680
680
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, `v1/tools/composio/apps/${encodeURIComponent(composioAppName)}/actions`),
681
681
  method: "GET",
682
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.27", "User-Agent": "@letta-ai/letta-client/0.1.27", "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),
682
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.29", "User-Agent": "@letta-ai/letta-client/0.1.29", "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),
683
683
  contentType: "application/json",
684
684
  requestType: "json",
685
685
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -744,7 +744,7 @@ class Tools {
744
744
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
745
745
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, `v1/tools/composio/${encodeURIComponent(composioActionName)}`),
746
746
  method: "POST",
747
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.27", "User-Agent": "@letta-ai/letta-client/0.1.27", "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),
747
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.29", "User-Agent": "@letta-ai/letta-client/0.1.29", "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),
748
748
  contentType: "application/json",
749
749
  requestType: "json",
750
750
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -9,4 +9,5 @@ export interface ActionParametersModel {
9
9
  title: string;
10
10
  type: string;
11
11
  required?: string[];
12
+ examples?: unknown[];
12
13
  }
@@ -9,4 +9,5 @@ export interface ActionResponseModel {
9
9
  title: string;
10
10
  type: string;
11
11
  required?: string[];
12
+ examples?: unknown[];
12
13
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type AppAuthSchemeAuthMode = "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BASIC_WITH_JWT";
4
+ export type AppAuthSchemeAuthMode = "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BASIC_WITH_JWT" | "NO_AUTH";
5
5
  export declare const AppAuthSchemeAuthMode: {
6
6
  readonly Oauth2: "OAUTH2";
7
7
  readonly Oauth1: "OAUTH1";
@@ -9,4 +9,5 @@ export declare const AppAuthSchemeAuthMode: {
9
9
  readonly Basic: "BASIC";
10
10
  readonly BearerToken: "BEARER_TOKEN";
11
11
  readonly BasicWithJwt: "BASIC_WITH_JWT";
12
+ readonly NoAuth: "NO_AUTH";
12
13
  };
@@ -11,4 +11,5 @@ exports.AppAuthSchemeAuthMode = {
11
11
  Basic: "BASIC",
12
12
  BearerToken: "BEARER_TOKEN",
13
13
  BasicWithJwt: "BASIC_WITH_JWT",
14
+ NoAuth: "NO_AUTH",
14
15
  };
@@ -4,13 +4,14 @@
4
4
  /**
5
5
  * The endpoint type for the model.
6
6
  */
7
- export type EmbeddingConfigEmbeddingEndpointType = "openai" | "anthropic" | "bedrock" | "cohere" | "google_ai" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together";
7
+ export type EmbeddingConfigEmbeddingEndpointType = "openai" | "anthropic" | "bedrock" | "cohere" | "google_ai" | "google_vertex" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together";
8
8
  export declare const EmbeddingConfigEmbeddingEndpointType: {
9
9
  readonly Openai: "openai";
10
10
  readonly Anthropic: "anthropic";
11
11
  readonly Bedrock: "bedrock";
12
12
  readonly Cohere: "cohere";
13
13
  readonly GoogleAi: "google_ai";
14
+ readonly GoogleVertex: "google_vertex";
14
15
  readonly Azure: "azure";
15
16
  readonly Groq: "groq";
16
17
  readonly Ollama: "ollama";
@@ -10,6 +10,7 @@ exports.EmbeddingConfigEmbeddingEndpointType = {
10
10
  Bedrock: "bedrock",
11
11
  Cohere: "cohere",
12
12
  GoogleAi: "google_ai",
13
+ GoogleVertex: "google_vertex",
13
14
  Azure: "azure",
14
15
  Groq: "groq",
15
16
  Ollama: "ollama",
@@ -4,12 +4,13 @@
4
4
  /**
5
5
  * The endpoint type for the model.
6
6
  */
7
- export type LlmConfigModelEndpointType = "openai" | "anthropic" | "cohere" | "google_ai" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together" | "bedrock";
7
+ export type LlmConfigModelEndpointType = "openai" | "anthropic" | "cohere" | "google_ai" | "google_vertex" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together" | "bedrock";
8
8
  export declare const LlmConfigModelEndpointType: {
9
9
  readonly Openai: "openai";
10
10
  readonly Anthropic: "anthropic";
11
11
  readonly Cohere: "cohere";
12
12
  readonly GoogleAi: "google_ai";
13
+ readonly GoogleVertex: "google_vertex";
13
14
  readonly Azure: "azure";
14
15
  readonly Groq: "groq";
15
16
  readonly Ollama: "ollama";
@@ -9,6 +9,7 @@ exports.LlmConfigModelEndpointType = {
9
9
  Anthropic: "anthropic",
10
10
  Cohere: "cohere",
11
11
  GoogleAi: "google_ai",
12
+ GoogleVertex: "google_vertex",
12
13
  Azure: "azure",
13
14
  Groq: "groq",
14
15
  Ollama: "ollama",
@@ -10,7 +10,7 @@ import { AgentType } from "../../../../types/AgentType";
10
10
  import { LlmConfig } from "../../../../types/LlmConfig";
11
11
  import { EmbeddingConfig } from "../../../../types/EmbeddingConfig";
12
12
  import { MessageCreate } from "../../../../types/MessageCreate";
13
- export declare const CreateAgentRequest: core.serialization.Schema<serializers.CreateAgentRequest.Raw, Letta.CreateAgentRequest>;
13
+ export declare const CreateAgentRequest: core.serialization.Schema<serializers.CreateAgentRequest.Raw, Omit<Letta.CreateAgentRequest, "projectSlug">>;
14
14
  export declare namespace CreateAgentRequest {
15
15
  interface Raw {
16
16
  name?: string | null;
@@ -6,5 +6,5 @@ import * as Letta from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  export declare const AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType: core.serialization.Schema<serializers.AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.Raw, Letta.AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType>;
8
8
  export declare namespace AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType {
9
- type Raw = "openai" | "anthropic" | "bedrock" | "cohere" | "google_ai" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together";
9
+ type Raw = "openai" | "anthropic" | "bedrock" | "cohere" | "google_ai" | "google_vertex" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together";
10
10
  }
@@ -44,6 +44,7 @@ exports.AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType = cor
44
44
  "bedrock",
45
45
  "cohere",
46
46
  "google_ai",
47
+ "google_vertex",
47
48
  "azure",
48
49
  "groq",
49
50
  "ollama",
@@ -6,5 +6,5 @@ import * as Letta from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  export declare const AgentsSearchResponseAgentsItemLlmConfigModelEndpointType: core.serialization.Schema<serializers.AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.Raw, Letta.AgentsSearchResponseAgentsItemLlmConfigModelEndpointType>;
8
8
  export declare namespace AgentsSearchResponseAgentsItemLlmConfigModelEndpointType {
9
- type Raw = "openai" | "anthropic" | "cohere" | "google_ai" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together" | "bedrock";
9
+ type Raw = "openai" | "anthropic" | "cohere" | "google_ai" | "google_vertex" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together" | "bedrock";
10
10
  }
@@ -43,6 +43,7 @@ exports.AgentsSearchResponseAgentsItemLlmConfigModelEndpointType = core.serializ
43
43
  "anthropic",
44
44
  "cohere",
45
45
  "google_ai",
46
+ "google_vertex",
46
47
  "azure",
47
48
  "groq",
48
49
  "ollama",
@@ -6,5 +6,5 @@ import * as Letta from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  export declare const AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType: core.serialization.Schema<serializers.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.Raw, Letta.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType>;
8
8
  export declare namespace AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType {
9
- type Raw = "openai" | "anthropic" | "bedrock" | "cohere" | "google_ai" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together";
9
+ type Raw = "openai" | "anthropic" | "bedrock" | "cohere" | "google_ai" | "google_vertex" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together";
10
10
  }
@@ -44,6 +44,7 @@ exports.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpoin
44
44
  "bedrock",
45
45
  "cohere",
46
46
  "google_ai",
47
+ "google_vertex",
47
48
  "azure",
48
49
  "groq",
49
50
  "ollama",
@@ -6,5 +6,5 @@ import * as Letta from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  export declare const TemplatesCreateAgentsFromTemplateResponseAgentsItemEmbeddingConfigEmbeddingEndpointType: core.serialization.Schema<serializers.TemplatesCreateAgentsFromTemplateResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.Raw, Letta.TemplatesCreateAgentsFromTemplateResponseAgentsItemEmbeddingConfigEmbeddingEndpointType>;
8
8
  export declare namespace TemplatesCreateAgentsFromTemplateResponseAgentsItemEmbeddingConfigEmbeddingEndpointType {
9
- type Raw = "openai" | "anthropic" | "bedrock" | "cohere" | "google_ai" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together";
9
+ type Raw = "openai" | "anthropic" | "bedrock" | "cohere" | "google_ai" | "google_vertex" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together";
10
10
  }
@@ -44,6 +44,7 @@ exports.TemplatesCreateAgentsFromTemplateResponseAgentsItemEmbeddingConfigEmbedd
44
44
  "bedrock",
45
45
  "cohere",
46
46
  "google_ai",
47
+ "google_vertex",
47
48
  "azure",
48
49
  "groq",
49
50
  "ollama",
@@ -6,5 +6,5 @@ import * as Letta from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  export declare const TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType: core.serialization.Schema<serializers.TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.Raw, Letta.TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType>;
8
8
  export declare namespace TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType {
9
- type Raw = "openai" | "anthropic" | "cohere" | "google_ai" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together" | "bedrock";
9
+ type Raw = "openai" | "anthropic" | "cohere" | "google_ai" | "google_vertex" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together" | "bedrock";
10
10
  }
@@ -43,6 +43,7 @@ exports.TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpoin
43
43
  "anthropic",
44
44
  "cohere",
45
45
  "google_ai",
46
+ "google_vertex",
46
47
  "azure",
47
48
  "groq",
48
49
  "ollama",
@@ -6,5 +6,5 @@ import * as Letta from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  export declare const TemplatesCreateAgentsFromTemplateResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType: core.serialization.Schema<serializers.TemplatesCreateAgentsFromTemplateResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.Raw, Letta.TemplatesCreateAgentsFromTemplateResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType>;
8
8
  export declare namespace TemplatesCreateAgentsFromTemplateResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType {
9
- type Raw = "openai" | "anthropic" | "bedrock" | "cohere" | "google_ai" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together";
9
+ type Raw = "openai" | "anthropic" | "bedrock" | "cohere" | "google_ai" | "google_vertex" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together";
10
10
  }
@@ -44,6 +44,7 @@ exports.TemplatesCreateAgentsFromTemplateResponseAgentsItemSourcesItemEmbeddingC
44
44
  "bedrock",
45
45
  "cohere",
46
46
  "google_ai",
47
+ "google_vertex",
47
48
  "azure",
48
49
  "groq",
49
50
  "ollama",
@@ -11,5 +11,6 @@ export declare namespace ActionParametersModel {
11
11
  title: string;
12
12
  type: string;
13
13
  required?: string[] | null;
14
+ examples?: unknown[] | null;
14
15
  }
15
16
  }
@@ -43,4 +43,5 @@ exports.ActionParametersModel = core.serialization.object({
43
43
  title: core.serialization.string(),
44
44
  type: core.serialization.string(),
45
45
  required: core.serialization.list(core.serialization.string()).optional(),
46
+ examples: core.serialization.list(core.serialization.unknown()).optional(),
46
47
  });
@@ -11,5 +11,6 @@ export declare namespace ActionResponseModel {
11
11
  title: string;
12
12
  type: string;
13
13
  required?: string[] | null;
14
+ examples?: unknown[] | null;
14
15
  }
15
16
  }
@@ -43,4 +43,5 @@ exports.ActionResponseModel = core.serialization.object({
43
43
  title: core.serialization.string(),
44
44
  type: core.serialization.string(),
45
45
  required: core.serialization.list(core.serialization.string()).optional(),
46
+ examples: core.serialization.list(core.serialization.unknown()).optional(),
46
47
  });
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const AppAuthSchemeAuthMode: core.serialization.Schema<serializers.AppAuthSchemeAuthMode.Raw, Letta.AppAuthSchemeAuthMode>;
8
8
  export declare namespace AppAuthSchemeAuthMode {
9
- type Raw = "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BASIC_WITH_JWT";
9
+ type Raw = "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BASIC_WITH_JWT" | "NO_AUTH";
10
10
  }
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.AppAuthSchemeAuthMode = void 0;
40
40
  const core = __importStar(require("../../core"));
41
- exports.AppAuthSchemeAuthMode = core.serialization.enum_(["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BEARER_TOKEN", "BASIC_WITH_JWT"]);
41
+ exports.AppAuthSchemeAuthMode = core.serialization.enum_(["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BEARER_TOKEN", "BASIC_WITH_JWT", "NO_AUTH"]);
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const EmbeddingConfigEmbeddingEndpointType: core.serialization.Schema<serializers.EmbeddingConfigEmbeddingEndpointType.Raw, Letta.EmbeddingConfigEmbeddingEndpointType>;
8
8
  export declare namespace EmbeddingConfigEmbeddingEndpointType {
9
- type Raw = "openai" | "anthropic" | "bedrock" | "cohere" | "google_ai" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together";
9
+ type Raw = "openai" | "anthropic" | "bedrock" | "cohere" | "google_ai" | "google_vertex" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together";
10
10
  }
@@ -44,6 +44,7 @@ exports.EmbeddingConfigEmbeddingEndpointType = core.serialization.enum_([
44
44
  "bedrock",
45
45
  "cohere",
46
46
  "google_ai",
47
+ "google_vertex",
47
48
  "azure",
48
49
  "groq",
49
50
  "ollama",
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const LlmConfigModelEndpointType: core.serialization.Schema<serializers.LlmConfigModelEndpointType.Raw, Letta.LlmConfigModelEndpointType>;
8
8
  export declare namespace LlmConfigModelEndpointType {
9
- type Raw = "openai" | "anthropic" | "cohere" | "google_ai" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together" | "bedrock";
9
+ type Raw = "openai" | "anthropic" | "cohere" | "google_ai" | "google_vertex" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together" | "bedrock";
10
10
  }
@@ -43,6 +43,7 @@ exports.LlmConfigModelEndpointType = core.serialization.enum_([
43
43
  "anthropic",
44
44
  "cohere",
45
45
  "google_ai",
46
+ "google_vertex",
46
47
  "azure",
47
48
  "groq",
48
49
  "ollama",
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.1.27";
1
+ export declare const SDK_VERSION = "0.1.29";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.1.27";
4
+ exports.SDK_VERSION = "0.1.29";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letta-ai/letta-client",
3
- "version": "0.1.27",
3
+ "version": "0.1.29",
4
4
  "private": false,
5
5
  "repository": "https://github.com/letta-ai/letta-node",
6
6
  "main": "./index.js",
@@ -10,7 +10,7 @@ import { AgentType } from "../../../../types/AgentType";
10
10
  import { LlmConfig } from "../../../../types/LlmConfig";
11
11
  import { EmbeddingConfig } from "../../../../types/EmbeddingConfig";
12
12
  import { MessageCreate } from "../../../../types/MessageCreate";
13
- export declare const CreateAgentRequest: core.serialization.Schema<serializers.CreateAgentRequest.Raw, Letta.CreateAgentRequest>;
13
+ export declare const CreateAgentRequest: core.serialization.Schema<serializers.CreateAgentRequest.Raw, Omit<Letta.CreateAgentRequest, "projectSlug">>;
14
14
  export declare namespace CreateAgentRequest {
15
15
  interface Raw {
16
16
  name?: string | null;
@@ -6,5 +6,5 @@ import * as Letta from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  export declare const AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType: core.serialization.Schema<serializers.AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.Raw, Letta.AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType>;
8
8
  export declare namespace AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType {
9
- type Raw = "openai" | "anthropic" | "bedrock" | "cohere" | "google_ai" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together";
9
+ type Raw = "openai" | "anthropic" | "bedrock" | "cohere" | "google_ai" | "google_vertex" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together";
10
10
  }
@@ -44,6 +44,7 @@ exports.AgentsSearchResponseAgentsItemEmbeddingConfigEmbeddingEndpointType = cor
44
44
  "bedrock",
45
45
  "cohere",
46
46
  "google_ai",
47
+ "google_vertex",
47
48
  "azure",
48
49
  "groq",
49
50
  "ollama",
@@ -6,5 +6,5 @@ import * as Letta from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  export declare const AgentsSearchResponseAgentsItemLlmConfigModelEndpointType: core.serialization.Schema<serializers.AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.Raw, Letta.AgentsSearchResponseAgentsItemLlmConfigModelEndpointType>;
8
8
  export declare namespace AgentsSearchResponseAgentsItemLlmConfigModelEndpointType {
9
- type Raw = "openai" | "anthropic" | "cohere" | "google_ai" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together" | "bedrock";
9
+ type Raw = "openai" | "anthropic" | "cohere" | "google_ai" | "google_vertex" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together" | "bedrock";
10
10
  }
@@ -43,6 +43,7 @@ exports.AgentsSearchResponseAgentsItemLlmConfigModelEndpointType = core.serializ
43
43
  "anthropic",
44
44
  "cohere",
45
45
  "google_ai",
46
+ "google_vertex",
46
47
  "azure",
47
48
  "groq",
48
49
  "ollama",
@@ -6,5 +6,5 @@ import * as Letta from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  export declare const AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType: core.serialization.Schema<serializers.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.Raw, Letta.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType>;
8
8
  export declare namespace AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType {
9
- type Raw = "openai" | "anthropic" | "bedrock" | "cohere" | "google_ai" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together";
9
+ type Raw = "openai" | "anthropic" | "bedrock" | "cohere" | "google_ai" | "google_vertex" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together";
10
10
  }
@@ -44,6 +44,7 @@ exports.AgentsSearchResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpoin
44
44
  "bedrock",
45
45
  "cohere",
46
46
  "google_ai",
47
+ "google_vertex",
47
48
  "azure",
48
49
  "groq",
49
50
  "ollama",
@@ -6,5 +6,5 @@ import * as Letta from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  export declare const TemplatesCreateAgentsFromTemplateResponseAgentsItemEmbeddingConfigEmbeddingEndpointType: core.serialization.Schema<serializers.TemplatesCreateAgentsFromTemplateResponseAgentsItemEmbeddingConfigEmbeddingEndpointType.Raw, Letta.TemplatesCreateAgentsFromTemplateResponseAgentsItemEmbeddingConfigEmbeddingEndpointType>;
8
8
  export declare namespace TemplatesCreateAgentsFromTemplateResponseAgentsItemEmbeddingConfigEmbeddingEndpointType {
9
- type Raw = "openai" | "anthropic" | "bedrock" | "cohere" | "google_ai" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together";
9
+ type Raw = "openai" | "anthropic" | "bedrock" | "cohere" | "google_ai" | "google_vertex" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together";
10
10
  }
@@ -44,6 +44,7 @@ exports.TemplatesCreateAgentsFromTemplateResponseAgentsItemEmbeddingConfigEmbedd
44
44
  "bedrock",
45
45
  "cohere",
46
46
  "google_ai",
47
+ "google_vertex",
47
48
  "azure",
48
49
  "groq",
49
50
  "ollama",
@@ -6,5 +6,5 @@ import * as Letta from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  export declare const TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType: core.serialization.Schema<serializers.TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.Raw, Letta.TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType>;
8
8
  export declare namespace TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType {
9
- type Raw = "openai" | "anthropic" | "cohere" | "google_ai" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together" | "bedrock";
9
+ type Raw = "openai" | "anthropic" | "cohere" | "google_ai" | "google_vertex" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together" | "bedrock";
10
10
  }
@@ -43,6 +43,7 @@ exports.TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpoin
43
43
  "anthropic",
44
44
  "cohere",
45
45
  "google_ai",
46
+ "google_vertex",
46
47
  "azure",
47
48
  "groq",
48
49
  "ollama",
@@ -6,5 +6,5 @@ import * as Letta from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  export declare const TemplatesCreateAgentsFromTemplateResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType: core.serialization.Schema<serializers.TemplatesCreateAgentsFromTemplateResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType.Raw, Letta.TemplatesCreateAgentsFromTemplateResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType>;
8
8
  export declare namespace TemplatesCreateAgentsFromTemplateResponseAgentsItemSourcesItemEmbeddingConfigEmbeddingEndpointType {
9
- type Raw = "openai" | "anthropic" | "bedrock" | "cohere" | "google_ai" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together";
9
+ type Raw = "openai" | "anthropic" | "bedrock" | "cohere" | "google_ai" | "google_vertex" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together";
10
10
  }
@@ -44,6 +44,7 @@ exports.TemplatesCreateAgentsFromTemplateResponseAgentsItemSourcesItemEmbeddingC
44
44
  "bedrock",
45
45
  "cohere",
46
46
  "google_ai",
47
+ "google_vertex",
47
48
  "azure",
48
49
  "groq",
49
50
  "ollama",
@@ -11,5 +11,6 @@ export declare namespace ActionParametersModel {
11
11
  title: string;
12
12
  type: string;
13
13
  required?: string[] | null;
14
+ examples?: unknown[] | null;
14
15
  }
15
16
  }
@@ -43,4 +43,5 @@ exports.ActionParametersModel = core.serialization.object({
43
43
  title: core.serialization.string(),
44
44
  type: core.serialization.string(),
45
45
  required: core.serialization.list(core.serialization.string()).optional(),
46
+ examples: core.serialization.list(core.serialization.unknown()).optional(),
46
47
  });
@@ -11,5 +11,6 @@ export declare namespace ActionResponseModel {
11
11
  title: string;
12
12
  type: string;
13
13
  required?: string[] | null;
14
+ examples?: unknown[] | null;
14
15
  }
15
16
  }