@letta-ai/letta-client 0.1.182 → 0.1.184

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 (222) hide show
  1. package/api/resources/agents/client/Client.d.ts +14 -0
  2. package/api/resources/agents/client/Client.js +99 -10
  3. package/api/resources/agents/client/requests/ListAgentFilesRequest.d.ts +21 -0
  4. package/api/resources/agents/client/requests/index.d.ts +1 -0
  5. package/api/resources/agents/resources/blocks/client/Client.js +5 -5
  6. package/api/resources/agents/resources/context/client/Client.js +1 -1
  7. package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  8. package/api/resources/agents/resources/files/client/Client.d.ts +9 -0
  9. package/api/resources/agents/resources/files/client/Client.js +55 -3
  10. package/api/resources/agents/resources/folders/client/Client.js +3 -3
  11. package/api/resources/agents/resources/groups/client/Client.js +1 -1
  12. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  13. package/api/resources/agents/resources/messages/client/Client.js +8 -8
  14. package/api/resources/agents/resources/passages/client/Client.js +4 -4
  15. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  16. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  17. package/api/resources/agents/resources/tools/client/Client.js +3 -3
  18. package/api/resources/batches/client/Client.js +4 -4
  19. package/api/resources/blocks/client/Client.js +6 -6
  20. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  21. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  22. package/api/resources/embeddingModels/client/Client.js +1 -1
  23. package/api/resources/folders/client/Client.js +9 -9
  24. package/api/resources/folders/resources/files/client/Client.js +3 -3
  25. package/api/resources/folders/resources/passages/client/Client.js +1 -1
  26. package/api/resources/groups/client/Client.js +6 -6
  27. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  28. package/api/resources/health/client/Client.js +1 -1
  29. package/api/resources/identities/client/Client.js +7 -7
  30. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  31. package/api/resources/jobs/client/Client.js +5 -5
  32. package/api/resources/messages/client/Client.js +1 -1
  33. package/api/resources/models/client/Client.js +1 -1
  34. package/api/resources/projects/client/Client.js +1 -1
  35. package/api/resources/providers/client/Client.js +6 -6
  36. package/api/resources/runs/client/Client.js +4 -4
  37. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  38. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  39. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  40. package/api/resources/sources/client/Client.js +10 -10
  41. package/api/resources/sources/resources/files/client/Client.js +3 -3
  42. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  43. package/api/resources/steps/client/Client.js +3 -3
  44. package/api/resources/steps/resources/feedback/client/Client.js +1 -1
  45. package/api/resources/tags/client/Client.js +1 -1
  46. package/api/resources/telemetry/client/Client.js +1 -1
  47. package/api/resources/templates/client/Client.js +8 -8
  48. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  49. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +2 -0
  50. package/api/resources/tools/client/Client.js +20 -20
  51. package/api/resources/voice/client/Client.js +1 -1
  52. package/api/types/AgentFileAttachment.d.ts +28 -0
  53. package/api/types/AssistantMessage.d.ts +1 -0
  54. package/api/types/ChatCompletionMessageFunctionToolCallInput.d.ts +11 -0
  55. package/api/types/ChatCompletionMessageFunctionToolCallInput.js +5 -0
  56. package/api/types/{ChatCompletionMessageFunctionToolCall.d.ts → ChatCompletionMessageFunctionToolCallOutput.d.ts} +1 -1
  57. package/api/types/ChatCompletionMessageFunctionToolCallOutput.js +5 -0
  58. package/api/types/HiddenReasoningMessage.d.ts +1 -0
  59. package/api/types/LettaSchemasAgentFileMessageSchema.d.ts +8 -0
  60. package/api/types/LettaStreamingRequest.d.ts +2 -0
  61. package/api/types/Message.d.ts +1 -1
  62. package/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.d.ts +9 -0
  63. package/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.js +5 -0
  64. package/api/types/PaginatedAgentFiles.d.ts +15 -0
  65. package/api/types/PaginatedAgentFiles.js +5 -0
  66. package/api/types/ReasoningMessage.d.ts +1 -0
  67. package/api/types/SystemMessage.d.ts +1 -0
  68. package/api/types/ToolCallMessage.d.ts +1 -0
  69. package/api/types/ToolReturnMessage.d.ts +1 -0
  70. package/api/types/UserMessage.d.ts +1 -0
  71. package/api/types/index.d.ts +5 -1
  72. package/api/types/index.js +5 -1
  73. package/dist/api/resources/agents/client/Client.d.ts +14 -0
  74. package/dist/api/resources/agents/client/Client.js +99 -10
  75. package/dist/api/resources/agents/client/requests/ListAgentFilesRequest.d.ts +21 -0
  76. package/dist/api/resources/agents/client/requests/ListAgentFilesRequest.js +5 -0
  77. package/dist/api/resources/agents/client/requests/index.d.ts +1 -0
  78. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  79. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  80. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  81. package/dist/api/resources/agents/resources/files/client/Client.d.ts +9 -0
  82. package/dist/api/resources/agents/resources/files/client/Client.js +55 -3
  83. package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
  84. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  85. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  86. package/dist/api/resources/agents/resources/messages/client/Client.js +8 -8
  87. package/dist/api/resources/agents/resources/passages/client/Client.js +4 -4
  88. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  89. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  90. package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
  91. package/dist/api/resources/batches/client/Client.js +4 -4
  92. package/dist/api/resources/blocks/client/Client.js +6 -6
  93. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  94. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  95. package/dist/api/resources/embeddingModels/client/Client.js +1 -1
  96. package/dist/api/resources/folders/client/Client.js +9 -9
  97. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  98. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  99. package/dist/api/resources/groups/client/Client.js +6 -6
  100. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  101. package/dist/api/resources/health/client/Client.js +1 -1
  102. package/dist/api/resources/identities/client/Client.js +7 -7
  103. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  104. package/dist/api/resources/jobs/client/Client.js +5 -5
  105. package/dist/api/resources/messages/client/Client.js +1 -1
  106. package/dist/api/resources/models/client/Client.js +1 -1
  107. package/dist/api/resources/projects/client/Client.js +1 -1
  108. package/dist/api/resources/providers/client/Client.js +6 -6
  109. package/dist/api/resources/runs/client/Client.js +4 -4
  110. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  111. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  112. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  113. package/dist/api/resources/sources/client/Client.js +10 -10
  114. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  115. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  116. package/dist/api/resources/steps/client/Client.js +3 -3
  117. package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
  118. package/dist/api/resources/tags/client/Client.js +1 -1
  119. package/dist/api/resources/telemetry/client/Client.js +1 -1
  120. package/dist/api/resources/templates/client/Client.js +8 -8
  121. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  122. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +2 -0
  123. package/dist/api/resources/tools/client/Client.js +20 -20
  124. package/dist/api/resources/voice/client/Client.js +1 -1
  125. package/dist/api/types/AgentFileAttachment.d.ts +28 -0
  126. package/dist/api/types/AgentFileAttachment.js +5 -0
  127. package/dist/api/types/AssistantMessage.d.ts +1 -0
  128. package/dist/api/types/ChatCompletionMessageFunctionToolCallInput.d.ts +11 -0
  129. package/dist/api/types/ChatCompletionMessageFunctionToolCallInput.js +5 -0
  130. package/dist/api/types/{ChatCompletionMessageFunctionToolCall.d.ts → ChatCompletionMessageFunctionToolCallOutput.d.ts} +1 -1
  131. package/dist/api/types/ChatCompletionMessageFunctionToolCallOutput.js +5 -0
  132. package/dist/api/types/HiddenReasoningMessage.d.ts +1 -0
  133. package/dist/api/types/LettaSchemasAgentFileMessageSchema.d.ts +8 -0
  134. package/dist/api/types/LettaStreamingRequest.d.ts +2 -0
  135. package/dist/api/types/Message.d.ts +1 -1
  136. package/dist/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.d.ts +9 -0
  137. package/dist/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.js +5 -0
  138. package/dist/api/types/PaginatedAgentFiles.d.ts +15 -0
  139. package/dist/api/types/PaginatedAgentFiles.js +5 -0
  140. package/dist/api/types/ReasoningMessage.d.ts +1 -0
  141. package/dist/api/types/SystemMessage.d.ts +1 -0
  142. package/dist/api/types/ToolCallMessage.d.ts +1 -0
  143. package/dist/api/types/ToolReturnMessage.d.ts +1 -0
  144. package/dist/api/types/UserMessage.d.ts +1 -0
  145. package/dist/api/types/index.d.ts +5 -1
  146. package/dist/api/types/index.js +5 -1
  147. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +2 -0
  148. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.js +2 -0
  149. package/dist/serialization/types/AgentFileAttachment.d.ts +21 -0
  150. package/dist/serialization/types/AgentFileAttachment.js +52 -0
  151. package/dist/serialization/types/AssistantMessage.d.ts +1 -0
  152. package/dist/serialization/types/AssistantMessage.js +1 -0
  153. package/dist/serialization/types/ChatCompletionMessageFunctionToolCallInput.d.ts +16 -0
  154. package/dist/serialization/types/ChatCompletionMessageFunctionToolCallInput.js +48 -0
  155. package/dist/serialization/types/{ChatCompletionMessageFunctionToolCall.d.ts → ChatCompletionMessageFunctionToolCallOutput.d.ts} +2 -2
  156. package/dist/serialization/types/{ChatCompletionMessageFunctionToolCall.js → ChatCompletionMessageFunctionToolCallOutput.js} +2 -2
  157. package/dist/serialization/types/HiddenReasoningMessage.d.ts +1 -0
  158. package/dist/serialization/types/HiddenReasoningMessage.js +1 -0
  159. package/dist/serialization/types/LettaSchemasAgentFileMessageSchema.d.ts +6 -0
  160. package/dist/serialization/types/LettaSchemasAgentFileMessageSchema.js +6 -0
  161. package/dist/serialization/types/LettaStreamingRequest.d.ts +1 -0
  162. package/dist/serialization/types/LettaStreamingRequest.js +1 -0
  163. package/dist/serialization/types/Message.d.ts +2 -2
  164. package/dist/serialization/types/Message.js +2 -2
  165. package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.d.ts +14 -0
  166. package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.js +46 -0
  167. package/dist/serialization/types/PaginatedAgentFiles.d.ts +15 -0
  168. package/dist/serialization/types/PaginatedAgentFiles.js +46 -0
  169. package/dist/serialization/types/ReasoningMessage.d.ts +1 -0
  170. package/dist/serialization/types/ReasoningMessage.js +1 -0
  171. package/dist/serialization/types/SystemMessage.d.ts +1 -0
  172. package/dist/serialization/types/SystemMessage.js +1 -0
  173. package/dist/serialization/types/ToolCallMessage.d.ts +1 -0
  174. package/dist/serialization/types/ToolCallMessage.js +1 -0
  175. package/dist/serialization/types/ToolReturnMessage.d.ts +1 -0
  176. package/dist/serialization/types/ToolReturnMessage.js +1 -0
  177. package/dist/serialization/types/UserMessage.d.ts +1 -0
  178. package/dist/serialization/types/UserMessage.js +1 -0
  179. package/dist/serialization/types/index.d.ts +5 -1
  180. package/dist/serialization/types/index.js +5 -1
  181. package/dist/version.d.ts +1 -1
  182. package/dist/version.js +1 -1
  183. package/package.json +1 -1
  184. package/reference.md +119 -0
  185. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +2 -0
  186. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.js +2 -0
  187. package/serialization/types/AgentFileAttachment.d.ts +21 -0
  188. package/serialization/types/AgentFileAttachment.js +52 -0
  189. package/serialization/types/AssistantMessage.d.ts +1 -0
  190. package/serialization/types/AssistantMessage.js +1 -0
  191. package/serialization/types/ChatCompletionMessageFunctionToolCallInput.d.ts +16 -0
  192. package/serialization/types/ChatCompletionMessageFunctionToolCallInput.js +48 -0
  193. package/serialization/types/{ChatCompletionMessageFunctionToolCall.d.ts → ChatCompletionMessageFunctionToolCallOutput.d.ts} +2 -2
  194. package/serialization/types/{ChatCompletionMessageFunctionToolCall.js → ChatCompletionMessageFunctionToolCallOutput.js} +2 -2
  195. package/serialization/types/HiddenReasoningMessage.d.ts +1 -0
  196. package/serialization/types/HiddenReasoningMessage.js +1 -0
  197. package/serialization/types/LettaSchemasAgentFileMessageSchema.d.ts +6 -0
  198. package/serialization/types/LettaSchemasAgentFileMessageSchema.js +6 -0
  199. package/serialization/types/LettaStreamingRequest.d.ts +1 -0
  200. package/serialization/types/LettaStreamingRequest.js +1 -0
  201. package/serialization/types/Message.d.ts +2 -2
  202. package/serialization/types/Message.js +2 -2
  203. package/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.d.ts +14 -0
  204. package/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.js +46 -0
  205. package/serialization/types/PaginatedAgentFiles.d.ts +15 -0
  206. package/serialization/types/PaginatedAgentFiles.js +46 -0
  207. package/serialization/types/ReasoningMessage.d.ts +1 -0
  208. package/serialization/types/ReasoningMessage.js +1 -0
  209. package/serialization/types/SystemMessage.d.ts +1 -0
  210. package/serialization/types/SystemMessage.js +1 -0
  211. package/serialization/types/ToolCallMessage.d.ts +1 -0
  212. package/serialization/types/ToolCallMessage.js +1 -0
  213. package/serialization/types/ToolReturnMessage.d.ts +1 -0
  214. package/serialization/types/ToolReturnMessage.js +1 -0
  215. package/serialization/types/UserMessage.d.ts +1 -0
  216. package/serialization/types/UserMessage.js +1 -0
  217. package/serialization/types/index.d.ts +5 -1
  218. package/serialization/types/index.js +5 -1
  219. package/version.d.ts +1 -1
  220. package/version.js +1 -1
  221. /package/api/{types/ChatCompletionMessageFunctionToolCall.js → resources/agents/client/requests/ListAgentFilesRequest.js} +0 -0
  222. /package/{dist/api/types/ChatCompletionMessageFunctionToolCall.js → api/types/AgentFileAttachment.js} +0 -0
@@ -107,7 +107,7 @@ class Templates {
107
107
  method: "GET",
108
108
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
109
109
  ? yield core.Supplier.get(this._options.project)
110
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.182", "User-Agent": "@letta-ai/letta-client/0.1.182", "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),
110
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.184", "User-Agent": "@letta-ai/letta-client/0.1.184", "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),
111
111
  contentType: "application/json",
112
112
  queryParameters: _queryParams,
113
113
  requestType: "json",
@@ -175,7 +175,7 @@ class Templates {
175
175
  method: "POST",
176
176
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
177
177
  ? yield core.Supplier.get(this._options.project)
178
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.182", "User-Agent": "@letta-ai/letta-client/0.1.182", "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),
178
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.184", "User-Agent": "@letta-ai/letta-client/0.1.184", "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),
179
179
  contentType: "application/json",
180
180
  requestType: "json",
181
181
  body: serializers.TemplatesSaveTemplateVersionRequest.jsonOrThrow(request, {
@@ -250,7 +250,7 @@ class Templates {
250
250
  method: "DELETE",
251
251
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
252
252
  ? yield core.Supplier.get(this._options.project)
253
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.182", "User-Agent": "@letta-ai/letta-client/0.1.182", "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),
253
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.184", "User-Agent": "@letta-ai/letta-client/0.1.184", "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),
254
254
  contentType: "application/json",
255
255
  requestType: "json",
256
256
  body: serializers.TemplatesDeleteTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -320,7 +320,7 @@ class Templates {
320
320
  method: "GET",
321
321
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
322
322
  ? yield core.Supplier.get(this._options.project)
323
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.182", "User-Agent": "@letta-ai/letta-client/0.1.182", "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),
323
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.184", "User-Agent": "@letta-ai/letta-client/0.1.184", "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),
324
324
  contentType: "application/json",
325
325
  requestType: "json",
326
326
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -387,7 +387,7 @@ class Templates {
387
387
  method: "POST",
388
388
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
389
389
  ? yield core.Supplier.get(this._options.project)
390
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.182", "User-Agent": "@letta-ai/letta-client/0.1.182", "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),
390
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.184", "User-Agent": "@letta-ai/letta-client/0.1.184", "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),
391
391
  contentType: "application/json",
392
392
  requestType: "json",
393
393
  body: serializers.TemplatesForkTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -461,7 +461,7 @@ class Templates {
461
461
  method: "POST",
462
462
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
463
463
  ? yield core.Supplier.get(this._options.project)
464
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.182", "User-Agent": "@letta-ai/letta-client/0.1.182", "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),
464
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.184", "User-Agent": "@letta-ai/letta-client/0.1.184", "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),
465
465
  contentType: "application/json",
466
466
  requestType: "json",
467
467
  body: Object.assign(Object.assign({}, serializers.TemplatesCreateTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" })), { type: "agent" }),
@@ -538,7 +538,7 @@ class Templates {
538
538
  method: "PATCH",
539
539
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
540
540
  ? yield core.Supplier.get(this._options.project)
541
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.182", "User-Agent": "@letta-ai/letta-client/0.1.182", "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),
541
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.184", "User-Agent": "@letta-ai/letta-client/0.1.184", "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),
542
542
  contentType: "application/json",
543
543
  requestType: "json",
544
544
  body: serializers.TemplatesRenameTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -629,7 +629,7 @@ class Templates {
629
629
  method: "GET",
630
630
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
631
631
  ? yield core.Supplier.get(this._options.project)
632
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.182", "User-Agent": "@letta-ai/letta-client/0.1.182", "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),
632
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.184", "User-Agent": "@letta-ai/letta-client/0.1.184", "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),
633
633
  contentType: "application/json",
634
634
  queryParameters: _queryParams,
635
635
  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.1.182", "User-Agent": "@letta-ai/letta-client/0.1.182", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
86
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.184", "User-Agent": "@letta-ai/letta-client/0.1.184", "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" }),
@@ -2,6 +2,8 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface TemplatesGetTemplateSnapshotResponseAgentsItemProperties {
5
+ enableReasoner?: boolean;
6
+ putInnerThoughtsInKwargs?: boolean;
5
7
  contextWindowLimit?: number;
6
8
  maxTokens?: number;
7
9
  maxReasoningTokens?: number;
@@ -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.1.182", "User-Agent": "@letta-ai/letta-client/0.1.182", "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),
84
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.184", "User-Agent": "@letta-ai/letta-client/0.1.184", "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.1.182", "User-Agent": "@letta-ai/letta-client/0.1.182", "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),
160
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.184", "User-Agent": "@letta-ai/letta-client/0.1.184", "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.1.182", "User-Agent": "@letta-ai/letta-client/0.1.182", "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),
228
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.184", "User-Agent": "@letta-ai/letta-client/0.1.184", "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" }),
@@ -307,7 +307,7 @@ class Tools {
307
307
  method: "GET",
308
308
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
309
309
  ? yield core.Supplier.get(this._options.project)
310
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.182", "User-Agent": "@letta-ai/letta-client/0.1.182", "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),
310
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.184", "User-Agent": "@letta-ai/letta-client/0.1.184", "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),
311
311
  contentType: "application/json",
312
312
  queryParameters: _queryParams,
313
313
  requestType: "json",
@@ -395,7 +395,7 @@ class Tools {
395
395
  method: "GET",
396
396
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
397
397
  ? yield core.Supplier.get(this._options.project)
398
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.182", "User-Agent": "@letta-ai/letta-client/0.1.182", "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),
398
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.184", "User-Agent": "@letta-ai/letta-client/0.1.184", "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),
399
399
  contentType: "application/json",
400
400
  queryParameters: _queryParams,
401
401
  requestType: "json",
@@ -474,7 +474,7 @@ class Tools {
474
474
  method: "POST",
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.1.182", "User-Agent": "@letta-ai/letta-client/0.1.182", "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
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.184", "User-Agent": "@letta-ai/letta-client/0.1.184", "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
  requestType: "json",
480
480
  body: serializers.ToolCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -553,7 +553,7 @@ class Tools {
553
553
  method: "PUT",
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.1.182", "User-Agent": "@letta-ai/letta-client/0.1.182", "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),
556
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.184", "User-Agent": "@letta-ai/letta-client/0.1.184", "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" }),
@@ -629,7 +629,7 @@ class Tools {
629
629
  method: "POST",
630
630
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
631
631
  ? yield core.Supplier.get(this._options.project)
632
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.182", "User-Agent": "@letta-ai/letta-client/0.1.182", "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),
632
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.184", "User-Agent": "@letta-ai/letta-client/0.1.184", "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),
633
633
  contentType: "application/json",
634
634
  requestType: "json",
635
635
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -710,7 +710,7 @@ class Tools {
710
710
  method: "POST",
711
711
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
712
712
  ? yield core.Supplier.get(this._options.project)
713
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.182", "User-Agent": "@letta-ai/letta-client/0.1.182", "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),
713
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.184", "User-Agent": "@letta-ai/letta-client/0.1.184", "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),
714
714
  contentType: "application/json",
715
715
  requestType: "json",
716
716
  body: serializers.ToolRunFromSource.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -788,7 +788,7 @@ class Tools {
788
788
  method: "GET",
789
789
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
790
790
  ? yield core.Supplier.get(this._options.project)
791
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.182", "User-Agent": "@letta-ai/letta-client/0.1.182", "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),
791
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.184", "User-Agent": "@letta-ai/letta-client/0.1.184", "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),
792
792
  contentType: "application/json",
793
793
  requestType: "json",
794
794
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -864,7 +864,7 @@ class Tools {
864
864
  method: "GET",
865
865
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
866
866
  ? yield core.Supplier.get(this._options.project)
867
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.182", "User-Agent": "@letta-ai/letta-client/0.1.182", "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),
867
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.184", "User-Agent": "@letta-ai/letta-client/0.1.184", "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),
868
868
  contentType: "application/json",
869
869
  requestType: "json",
870
870
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -940,7 +940,7 @@ class Tools {
940
940
  method: "POST",
941
941
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
942
942
  ? yield core.Supplier.get(this._options.project)
943
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.182", "User-Agent": "@letta-ai/letta-client/0.1.182", "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),
943
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.184", "User-Agent": "@letta-ai/letta-client/0.1.184", "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),
944
944
  contentType: "application/json",
945
945
  requestType: "json",
946
946
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1017,7 +1017,7 @@ class Tools {
1017
1017
  method: "GET",
1018
1018
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1019
1019
  ? yield core.Supplier.get(this._options.project)
1020
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.182", "User-Agent": "@letta-ai/letta-client/0.1.182", "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),
1020
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.184", "User-Agent": "@letta-ai/letta-client/0.1.184", "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),
1021
1021
  contentType: "application/json",
1022
1022
  requestType: "json",
1023
1023
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1097,7 +1097,7 @@ class Tools {
1097
1097
  method: "PUT",
1098
1098
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1099
1099
  ? yield core.Supplier.get(this._options.project)
1100
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.182", "User-Agent": "@letta-ai/letta-client/0.1.182", "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),
1100
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.184", "User-Agent": "@letta-ai/letta-client/0.1.184", "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),
1101
1101
  contentType: "application/json",
1102
1102
  requestType: "json",
1103
1103
  body: serializers.AddMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1174,7 +1174,7 @@ class Tools {
1174
1174
  method: "GET",
1175
1175
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1176
1176
  ? yield core.Supplier.get(this._options.project)
1177
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.182", "User-Agent": "@letta-ai/letta-client/0.1.182", "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),
1177
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.184", "User-Agent": "@letta-ai/letta-client/0.1.184", "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),
1178
1178
  contentType: "application/json",
1179
1179
  requestType: "json",
1180
1180
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1251,7 +1251,7 @@ class Tools {
1251
1251
  method: "POST",
1252
1252
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1253
1253
  ? yield core.Supplier.get(this._options.project)
1254
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.182", "User-Agent": "@letta-ai/letta-client/0.1.182", "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),
1254
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.184", "User-Agent": "@letta-ai/letta-client/0.1.184", "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),
1255
1255
  contentType: "application/json",
1256
1256
  requestType: "json",
1257
1257
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1327,7 +1327,7 @@ class Tools {
1327
1327
  method: "DELETE",
1328
1328
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1329
1329
  ? yield core.Supplier.get(this._options.project)
1330
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.182", "User-Agent": "@letta-ai/letta-client/0.1.182", "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),
1330
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.184", "User-Agent": "@letta-ai/letta-client/0.1.184", "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),
1331
1331
  contentType: "application/json",
1332
1332
  requestType: "json",
1333
1333
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1404,7 +1404,7 @@ class Tools {
1404
1404
  method: "PATCH",
1405
1405
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1406
1406
  ? yield core.Supplier.get(this._options.project)
1407
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.182", "User-Agent": "@letta-ai/letta-client/0.1.182", "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),
1407
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.184", "User-Agent": "@letta-ai/letta-client/0.1.184", "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),
1408
1408
  contentType: "application/json",
1409
1409
  requestType: "json",
1410
1410
  body: serializers.UpdateMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1486,7 +1486,7 @@ class Tools {
1486
1486
  method: "POST",
1487
1487
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1488
1488
  ? yield core.Supplier.get(this._options.project)
1489
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.182", "User-Agent": "@letta-ai/letta-client/0.1.182", "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),
1489
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.184", "User-Agent": "@letta-ai/letta-client/0.1.184", "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),
1490
1490
  contentType: "application/json",
1491
1491
  requestType: "json",
1492
1492
  body: serializers.TestMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1547,7 +1547,7 @@ class Tools {
1547
1547
  method: "POST",
1548
1548
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1549
1549
  ? yield core.Supplier.get(this._options.project)
1550
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.182", "User-Agent": "@letta-ai/letta-client/0.1.182", "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),
1550
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.184", "User-Agent": "@letta-ai/letta-client/0.1.184", "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),
1551
1551
  contentType: "application/json",
1552
1552
  requestType: "json",
1553
1553
  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.1.182", "User-Agent": "@letta-ai/letta-client/0.1.182", "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),
88
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.184", "User-Agent": "@letta-ai/letta-client/0.1.184", "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, {
@@ -0,0 +1,28 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Response model for agent file attachments showing file status in agent context
6
+ */
7
+ export interface AgentFileAttachment {
8
+ /** Unique identifier of the file-agent relationship */
9
+ id: string;
10
+ /** Unique identifier of the file */
11
+ fileId: string;
12
+ /** Name of the file */
13
+ fileName: string;
14
+ /** Unique identifier of the folder/source */
15
+ folderId: string;
16
+ /** Name of the folder/source */
17
+ folderName: string;
18
+ /** Whether the file is currently open in the agent's context */
19
+ isOpen: boolean;
20
+ /** Timestamp of last access by the agent */
21
+ lastAccessedAt?: Date;
22
+ /** Portion of the file visible to the agent if open */
23
+ visibleContent?: string;
24
+ /** Starting line number if file was opened with line range */
25
+ startLine?: number;
26
+ /** Ending line number if file was opened with line range */
27
+ endLine?: number;
28
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -20,6 +20,7 @@ export interface AssistantMessage {
20
20
  senderId?: string;
21
21
  stepId?: string;
22
22
  isErr?: boolean;
23
+ seqId?: number;
23
24
  /** The message content sent by the agent (can be a string or an array of content parts) */
24
25
  content: Letta.AssistantMessageContent;
25
26
  }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Letta from "../index";
5
+ export interface ChatCompletionMessageFunctionToolCallInput {
6
+ id: string;
7
+ function: Letta.OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction;
8
+ type: "function";
9
+ /** Accepts any additional properties */
10
+ [key: string]: any;
11
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Letta from "../index";
5
- export interface ChatCompletionMessageFunctionToolCall {
5
+ export interface ChatCompletionMessageFunctionToolCallOutput {
6
6
  id: string;
7
7
  function: Letta.FunctionOutput;
8
8
  type: "function";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -23,6 +23,7 @@ export interface HiddenReasoningMessage {
23
23
  senderId?: string;
24
24
  stepId?: string;
25
25
  isErr?: boolean;
26
+ seqId?: number;
26
27
  state: Letta.HiddenReasoningMessageState;
27
28
  hiddenReasoning?: string;
28
29
  }
@@ -26,4 +26,12 @@ export interface LettaSchemasAgentFileMessageSchema {
26
26
  model?: string;
27
27
  /** The unique identifier of the agent */
28
28
  agentId?: string;
29
+ /** The list of tool calls requested. Only applicable for role assistant. */
30
+ toolCalls?: Letta.ChatCompletionMessageFunctionToolCallInput[];
31
+ /** The ID of the tool call. Only applicable for role tool. */
32
+ toolCallId?: string;
33
+ /** Tool execution return information for prior tool calls */
34
+ toolReturns?: Letta.ToolReturn[];
35
+ /** The timestamp when the object was created. */
36
+ createdAt?: Date;
29
37
  }
@@ -21,4 +21,6 @@ export interface LettaStreamingRequest {
21
21
  streamTokens?: boolean;
22
22
  /** Whether to include periodic keepalive ping messages in the stream to prevent connection timeouts. */
23
23
  includePings?: boolean;
24
+ /** Whether to process the request in the background. */
25
+ background?: boolean;
24
26
  }
@@ -45,7 +45,7 @@ export interface Message {
45
45
  /** For role user/assistant: the (optional) name of the participant. For role tool/function: the name of the function called. */
46
46
  name?: string;
47
47
  /** The list of tool calls requested. Only applicable for role assistant. */
48
- toolCalls?: Letta.ChatCompletionMessageFunctionToolCall[];
48
+ toolCalls?: Letta.ChatCompletionMessageFunctionToolCallOutput[];
49
49
  /** The ID of the tool call. Only applicable for role tool. */
50
50
  toolCallId?: string;
51
51
  /** The id of the step that this message was created in. */
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction {
5
+ arguments: string;
6
+ name: string;
7
+ /** Accepts any additional properties */
8
+ [key: string]: any;
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Letta from "../index";
5
+ /**
6
+ * Paginated response for agent files
7
+ */
8
+ export interface PaginatedAgentFiles {
9
+ /** List of file attachments for the agent */
10
+ files: Letta.AgentFileAttachment[];
11
+ /** Cursor for fetching the next page (file-agent relationship ID) */
12
+ nextCursor?: string;
13
+ /** Whether more results exist after this page */
14
+ hasMore: boolean;
15
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -23,6 +23,7 @@ export interface ReasoningMessage {
23
23
  senderId?: string;
24
24
  stepId?: string;
25
25
  isErr?: boolean;
26
+ seqId?: number;
26
27
  source?: Letta.ReasoningMessageSource;
27
28
  reasoning: string;
28
29
  signature?: string;
@@ -19,6 +19,7 @@ export interface SystemMessage {
19
19
  senderId?: string;
20
20
  stepId?: string;
21
21
  isErr?: boolean;
22
+ seqId?: number;
22
23
  /** The message content sent by the system */
23
24
  content: string;
24
25
  }
@@ -20,5 +20,6 @@ export interface ToolCallMessage {
20
20
  senderId?: string;
21
21
  stepId?: string;
22
22
  isErr?: boolean;
23
+ seqId?: number;
23
24
  toolCall: Letta.ToolCallMessageToolCall;
24
25
  }
@@ -24,6 +24,7 @@ export interface ToolReturnMessage {
24
24
  senderId?: string;
25
25
  stepId?: string;
26
26
  isErr?: boolean;
27
+ seqId?: number;
27
28
  toolReturn: string;
28
29
  status: Letta.ToolReturnMessageStatus;
29
30
  toolCallId: string;
@@ -20,6 +20,7 @@ export interface UserMessage {
20
20
  senderId?: string;
21
21
  stepId?: string;
22
22
  isErr?: boolean;
23
+ seqId?: number;
23
24
  /** The message content sent by the user (can be a string or an array of multi-modal content parts) */
24
25
  content: Letta.UserMessageContent;
25
26
  }
@@ -6,6 +6,7 @@ export * from "./ActionModel";
6
6
  export * from "./ActionParametersModel";
7
7
  export * from "./ActionResponseModel";
8
8
  export * from "./AgentEnvironmentVariable";
9
+ export * from "./AgentFileAttachment";
9
10
  export * from "./AgentFileSchema";
10
11
  export * from "./AgentStateToolRulesItem";
11
12
  export * from "./AgentStateResponseFormat";
@@ -48,7 +49,8 @@ export * from "./ChatCompletionFunctionCallOptionParam";
48
49
  export * from "./ChatCompletionFunctionMessageParam";
49
50
  export * from "./ChatCompletionFunctionToolParam";
50
51
  export * from "./ChatCompletionMessageCustomToolCallParam";
51
- export * from "./ChatCompletionMessageFunctionToolCall";
52
+ export * from "./ChatCompletionMessageFunctionToolCallInput";
53
+ export * from "./ChatCompletionMessageFunctionToolCallOutput";
52
54
  export * from "./ChatCompletionMessageFunctionToolCallParam";
53
55
  export * from "./ChatCompletionNamedToolChoiceCustomParam";
54
56
  export * from "./ChatCompletionNamedToolChoiceParam";
@@ -187,6 +189,7 @@ export * from "./Organization";
187
189
  export * from "./OrganizationCreate";
188
190
  export * from "./OrganizationSourcesStats";
189
191
  export * from "./OrganizationUpdate";
192
+ export * from "./PaginatedAgentFiles";
190
193
  export * from "./ParameterProperties";
191
194
  export * from "./ParametersSchema";
192
195
  export * from "./ParentToolRule";
@@ -293,6 +296,7 @@ export * from "./LettaSerializeSchemasPydanticAgentSchemaToolSchema";
293
296
  export * from "./OpenaiTypesChatChatCompletionCustomToolParamCustomFormat";
294
297
  export * from "./OpenaiTypesChatChatCompletionCustomToolParamCustom";
295
298
  export * from "./OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom";
299
+ export * from "./OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction";
296
300
  export * from "./OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction";
297
301
  export * from "./OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom";
298
302
  export * from "./OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction";
@@ -22,6 +22,7 @@ __exportStar(require("./ActionModel"), exports);
22
22
  __exportStar(require("./ActionParametersModel"), exports);
23
23
  __exportStar(require("./ActionResponseModel"), exports);
24
24
  __exportStar(require("./AgentEnvironmentVariable"), exports);
25
+ __exportStar(require("./AgentFileAttachment"), exports);
25
26
  __exportStar(require("./AgentFileSchema"), exports);
26
27
  __exportStar(require("./AgentStateToolRulesItem"), exports);
27
28
  __exportStar(require("./AgentStateResponseFormat"), exports);
@@ -64,7 +65,8 @@ __exportStar(require("./ChatCompletionFunctionCallOptionParam"), exports);
64
65
  __exportStar(require("./ChatCompletionFunctionMessageParam"), exports);
65
66
  __exportStar(require("./ChatCompletionFunctionToolParam"), exports);
66
67
  __exportStar(require("./ChatCompletionMessageCustomToolCallParam"), exports);
67
- __exportStar(require("./ChatCompletionMessageFunctionToolCall"), exports);
68
+ __exportStar(require("./ChatCompletionMessageFunctionToolCallInput"), exports);
69
+ __exportStar(require("./ChatCompletionMessageFunctionToolCallOutput"), exports);
68
70
  __exportStar(require("./ChatCompletionMessageFunctionToolCallParam"), exports);
69
71
  __exportStar(require("./ChatCompletionNamedToolChoiceCustomParam"), exports);
70
72
  __exportStar(require("./ChatCompletionNamedToolChoiceParam"), exports);
@@ -203,6 +205,7 @@ __exportStar(require("./Organization"), exports);
203
205
  __exportStar(require("./OrganizationCreate"), exports);
204
206
  __exportStar(require("./OrganizationSourcesStats"), exports);
205
207
  __exportStar(require("./OrganizationUpdate"), exports);
208
+ __exportStar(require("./PaginatedAgentFiles"), exports);
206
209
  __exportStar(require("./ParameterProperties"), exports);
207
210
  __exportStar(require("./ParametersSchema"), exports);
208
211
  __exportStar(require("./ParentToolRule"), exports);
@@ -309,6 +312,7 @@ __exportStar(require("./LettaSerializeSchemasPydanticAgentSchemaToolSchema"), ex
309
312
  __exportStar(require("./OpenaiTypesChatChatCompletionCustomToolParamCustomFormat"), exports);
310
313
  __exportStar(require("./OpenaiTypesChatChatCompletionCustomToolParamCustom"), exports);
311
314
  __exportStar(require("./OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom"), exports);
315
+ __exportStar(require("./OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction"), exports);
312
316
  __exportStar(require("./OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction"), exports);
313
317
  __exportStar(require("./OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom"), exports);
314
318
  __exportStar(require("./OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction"), exports);