@letta-ai/letta-client 0.1.178 → 0.1.180

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 (393) hide show
  1. package/api/resources/agents/client/Client.js +10 -10
  2. package/api/resources/agents/resources/blocks/client/Client.js +5 -5
  3. package/api/resources/agents/resources/context/client/Client.js +1 -1
  4. package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  5. package/api/resources/agents/resources/files/client/Client.js +3 -3
  6. package/api/resources/agents/resources/folders/client/Client.js +3 -3
  7. package/api/resources/agents/resources/groups/client/Client.js +1 -1
  8. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  9. package/api/resources/agents/resources/messages/client/Client.js +8 -8
  10. package/api/resources/agents/resources/passages/client/Client.js +4 -4
  11. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  12. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  13. package/api/resources/agents/resources/tools/client/Client.js +3 -3
  14. package/api/resources/batches/client/Client.js +4 -4
  15. package/api/resources/blocks/client/Client.js +6 -6
  16. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  17. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  18. package/api/resources/embeddingModels/client/Client.js +1 -1
  19. package/api/resources/folders/client/Client.js +9 -9
  20. package/api/resources/folders/resources/files/client/Client.js +3 -3
  21. package/api/resources/folders/resources/passages/client/Client.js +1 -1
  22. package/api/resources/groups/client/Client.js +6 -6
  23. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  24. package/api/resources/health/client/Client.js +1 -1
  25. package/api/resources/identities/client/Client.js +7 -7
  26. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  27. package/api/resources/jobs/client/Client.js +5 -5
  28. package/api/resources/messages/client/Client.js +1 -1
  29. package/api/resources/models/client/Client.js +1 -1
  30. package/api/resources/projects/client/Client.js +1 -1
  31. package/api/resources/providers/client/Client.js +6 -6
  32. package/api/resources/runs/client/Client.js +4 -4
  33. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  34. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  35. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  36. package/api/resources/sources/client/Client.js +10 -10
  37. package/api/resources/sources/resources/files/client/Client.js +3 -3
  38. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  39. package/api/resources/steps/client/Client.js +3 -3
  40. package/api/resources/steps/resources/feedback/client/Client.js +1 -1
  41. package/api/resources/tags/client/Client.js +1 -1
  42. package/api/resources/telemetry/client/Client.js +1 -1
  43. package/api/resources/templates/client/Client.js +1 -1
  44. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  45. package/api/resources/tools/client/Client.js +20 -20
  46. package/api/resources/voice/client/Client.js +1 -1
  47. package/api/types/ChatCompletionAllowedToolChoiceParam.d.ts +8 -0
  48. package/api/types/ChatCompletionAllowedToolsParam.d.ts +8 -0
  49. package/api/types/ChatCompletionAllowedToolsParamMode.d.ts +8 -0
  50. package/api/types/ChatCompletionAllowedToolsParamMode.js +10 -0
  51. package/api/types/ChatCompletionAssistantMessageParam.d.ts +1 -1
  52. package/api/types/ChatCompletionAssistantMessageParamToolCallsItem.d.ts +5 -0
  53. package/api/types/ChatCompletionCustomToolParam.d.ts +8 -0
  54. package/api/types/{ChatCompletionToolParam.d.ts → ChatCompletionFunctionToolParam.d.ts} +1 -1
  55. package/api/types/ChatCompletionMessageCustomToolCallParam.d.ts +9 -0
  56. package/api/types/{ChatCompletionMessageToolCall.d.ts → ChatCompletionMessageFunctionToolCall.d.ts} +1 -1
  57. package/api/types/ChatCompletionMessageFunctionToolCallParam.d.ts +9 -0
  58. package/api/types/ChatCompletionNamedToolChoiceCustomParam.d.ts +8 -0
  59. package/api/types/ChatCompletionNamedToolChoiceCustomParam.js +5 -0
  60. package/api/types/ChatCompletionStreamOptionsParam.d.ts +1 -0
  61. package/api/types/CompletionCreateParamsNonStreaming.d.ts +2 -1
  62. package/api/types/CompletionCreateParamsNonStreamingModel.d.ts +1 -1
  63. package/api/types/CompletionCreateParamsNonStreamingReasoningEffort.d.ts +2 -1
  64. package/api/types/CompletionCreateParamsNonStreamingReasoningEffort.js +1 -0
  65. package/api/types/CompletionCreateParamsNonStreamingToolChoice.d.ts +1 -1
  66. package/api/types/CompletionCreateParamsNonStreamingToolsItem.d.ts +5 -0
  67. package/api/types/CompletionCreateParamsNonStreamingToolsItem.js +5 -0
  68. package/api/types/CompletionCreateParamsNonStreamingVerbosity.d.ts +9 -0
  69. package/api/types/CompletionCreateParamsNonStreamingVerbosity.js +11 -0
  70. package/api/types/CompletionCreateParamsStreaming.d.ts +2 -1
  71. package/api/types/CompletionCreateParamsStreamingModel.d.ts +1 -1
  72. package/api/types/CompletionCreateParamsStreamingReasoningEffort.d.ts +2 -1
  73. package/api/types/CompletionCreateParamsStreamingReasoningEffort.js +1 -0
  74. package/api/types/CompletionCreateParamsStreamingToolChoice.d.ts +1 -1
  75. package/api/types/CompletionCreateParamsStreamingToolsItem.d.ts +5 -0
  76. package/api/types/CompletionCreateParamsStreamingToolsItem.js +5 -0
  77. package/api/types/CompletionCreateParamsStreamingVerbosity.d.ts +9 -0
  78. package/api/types/CompletionCreateParamsStreamingVerbosity.js +11 -0
  79. package/api/types/CustomFormatGrammar.d.ts +8 -0
  80. package/api/types/CustomFormatGrammar.js +5 -0
  81. package/api/types/CustomFormatGrammarGrammar.d.ts +8 -0
  82. package/api/types/CustomFormatGrammarGrammar.js +5 -0
  83. package/api/types/CustomFormatGrammarGrammarSyntax.d.ts +8 -0
  84. package/api/types/CustomFormatGrammarGrammarSyntax.js +10 -0
  85. package/api/types/CustomFormatText.d.ts +6 -0
  86. package/api/types/CustomFormatText.js +5 -0
  87. package/api/types/LlmConfig.d.ts +2 -0
  88. package/api/types/LlmConfigVerbosity.d.ts +9 -0
  89. package/api/types/LlmConfigVerbosity.js +11 -0
  90. package/api/types/McpTool.d.ts +2 -0
  91. package/api/types/McpToolHealth.d.ts +12 -0
  92. package/api/types/McpToolHealth.js +5 -0
  93. package/api/types/Message.d.ts +1 -1
  94. package/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.d.ts +9 -0
  95. package/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.js +5 -0
  96. package/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.d.ts +5 -0
  97. package/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.js +5 -0
  98. package/api/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.d.ts +7 -0
  99. package/api/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.js +5 -0
  100. package/api/types/{OpenaiTypesChatChatCompletionMessageToolCallParamFunction.d.ts → OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.d.ts} +1 -1
  101. package/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.js +5 -0
  102. package/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.d.ts +6 -0
  103. package/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.js +5 -0
  104. package/api/types/index.d.ts +25 -4
  105. package/api/types/index.js +25 -4
  106. package/dist/api/resources/agents/client/Client.js +10 -10
  107. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  108. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  109. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  110. package/dist/api/resources/agents/resources/files/client/Client.js +3 -3
  111. package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
  112. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  113. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  114. package/dist/api/resources/agents/resources/messages/client/Client.js +8 -8
  115. package/dist/api/resources/agents/resources/passages/client/Client.js +4 -4
  116. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  117. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  118. package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
  119. package/dist/api/resources/batches/client/Client.js +4 -4
  120. package/dist/api/resources/blocks/client/Client.js +6 -6
  121. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  122. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  123. package/dist/api/resources/embeddingModels/client/Client.js +1 -1
  124. package/dist/api/resources/folders/client/Client.js +9 -9
  125. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  126. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  127. package/dist/api/resources/groups/client/Client.js +6 -6
  128. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  129. package/dist/api/resources/health/client/Client.js +1 -1
  130. package/dist/api/resources/identities/client/Client.js +7 -7
  131. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  132. package/dist/api/resources/jobs/client/Client.js +5 -5
  133. package/dist/api/resources/messages/client/Client.js +1 -1
  134. package/dist/api/resources/models/client/Client.js +1 -1
  135. package/dist/api/resources/projects/client/Client.js +1 -1
  136. package/dist/api/resources/providers/client/Client.js +6 -6
  137. package/dist/api/resources/runs/client/Client.js +4 -4
  138. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  139. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  140. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  141. package/dist/api/resources/sources/client/Client.js +10 -10
  142. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  143. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  144. package/dist/api/resources/steps/client/Client.js +3 -3
  145. package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
  146. package/dist/api/resources/tags/client/Client.js +1 -1
  147. package/dist/api/resources/telemetry/client/Client.js +1 -1
  148. package/dist/api/resources/templates/client/Client.js +1 -1
  149. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  150. package/dist/api/resources/tools/client/Client.js +20 -20
  151. package/dist/api/resources/voice/client/Client.js +1 -1
  152. package/dist/api/types/ChatCompletionAllowedToolChoiceParam.d.ts +8 -0
  153. package/dist/api/types/ChatCompletionAllowedToolChoiceParam.js +5 -0
  154. package/dist/api/types/ChatCompletionAllowedToolsParam.d.ts +8 -0
  155. package/dist/api/types/ChatCompletionAllowedToolsParam.js +5 -0
  156. package/dist/api/types/ChatCompletionAllowedToolsParamMode.d.ts +8 -0
  157. package/dist/api/types/ChatCompletionAllowedToolsParamMode.js +10 -0
  158. package/dist/api/types/ChatCompletionAssistantMessageParam.d.ts +1 -1
  159. package/dist/api/types/ChatCompletionAssistantMessageParamToolCallsItem.d.ts +5 -0
  160. package/dist/api/types/ChatCompletionAssistantMessageParamToolCallsItem.js +5 -0
  161. package/dist/api/types/ChatCompletionCustomToolParam.d.ts +8 -0
  162. package/dist/api/types/ChatCompletionCustomToolParam.js +5 -0
  163. package/dist/api/types/{ChatCompletionToolParam.d.ts → ChatCompletionFunctionToolParam.d.ts} +1 -1
  164. package/dist/api/types/ChatCompletionFunctionToolParam.js +5 -0
  165. package/dist/api/types/ChatCompletionMessageCustomToolCallParam.d.ts +9 -0
  166. package/dist/api/types/ChatCompletionMessageCustomToolCallParam.js +5 -0
  167. package/dist/api/types/{ChatCompletionMessageToolCall.d.ts → ChatCompletionMessageFunctionToolCall.d.ts} +1 -1
  168. package/dist/api/types/ChatCompletionMessageFunctionToolCall.js +5 -0
  169. package/dist/api/types/ChatCompletionMessageFunctionToolCallParam.d.ts +9 -0
  170. package/dist/api/types/ChatCompletionMessageFunctionToolCallParam.js +5 -0
  171. package/dist/api/types/ChatCompletionNamedToolChoiceCustomParam.d.ts +8 -0
  172. package/dist/api/types/ChatCompletionNamedToolChoiceCustomParam.js +5 -0
  173. package/dist/api/types/ChatCompletionStreamOptionsParam.d.ts +1 -0
  174. package/dist/api/types/CompletionCreateParamsNonStreaming.d.ts +2 -1
  175. package/dist/api/types/CompletionCreateParamsNonStreamingModel.d.ts +1 -1
  176. package/dist/api/types/CompletionCreateParamsNonStreamingReasoningEffort.d.ts +2 -1
  177. package/dist/api/types/CompletionCreateParamsNonStreamingReasoningEffort.js +1 -0
  178. package/dist/api/types/CompletionCreateParamsNonStreamingToolChoice.d.ts +1 -1
  179. package/dist/api/types/CompletionCreateParamsNonStreamingToolsItem.d.ts +5 -0
  180. package/dist/api/types/CompletionCreateParamsNonStreamingToolsItem.js +5 -0
  181. package/dist/api/types/CompletionCreateParamsNonStreamingVerbosity.d.ts +9 -0
  182. package/dist/api/types/CompletionCreateParamsNonStreamingVerbosity.js +11 -0
  183. package/dist/api/types/CompletionCreateParamsStreaming.d.ts +2 -1
  184. package/dist/api/types/CompletionCreateParamsStreamingModel.d.ts +1 -1
  185. package/dist/api/types/CompletionCreateParamsStreamingReasoningEffort.d.ts +2 -1
  186. package/dist/api/types/CompletionCreateParamsStreamingReasoningEffort.js +1 -0
  187. package/dist/api/types/CompletionCreateParamsStreamingToolChoice.d.ts +1 -1
  188. package/dist/api/types/CompletionCreateParamsStreamingToolsItem.d.ts +5 -0
  189. package/dist/api/types/CompletionCreateParamsStreamingToolsItem.js +5 -0
  190. package/dist/api/types/CompletionCreateParamsStreamingVerbosity.d.ts +9 -0
  191. package/dist/api/types/CompletionCreateParamsStreamingVerbosity.js +11 -0
  192. package/dist/api/types/CustomFormatGrammar.d.ts +8 -0
  193. package/dist/api/types/CustomFormatGrammar.js +5 -0
  194. package/dist/api/types/CustomFormatGrammarGrammar.d.ts +8 -0
  195. package/dist/api/types/CustomFormatGrammarGrammar.js +5 -0
  196. package/dist/api/types/CustomFormatGrammarGrammarSyntax.d.ts +8 -0
  197. package/dist/api/types/CustomFormatGrammarGrammarSyntax.js +10 -0
  198. package/dist/api/types/CustomFormatText.d.ts +6 -0
  199. package/dist/api/types/CustomFormatText.js +5 -0
  200. package/dist/api/types/LlmConfig.d.ts +2 -0
  201. package/dist/api/types/LlmConfigVerbosity.d.ts +9 -0
  202. package/dist/api/types/LlmConfigVerbosity.js +11 -0
  203. package/dist/api/types/McpTool.d.ts +2 -0
  204. package/dist/api/types/McpToolHealth.d.ts +12 -0
  205. package/dist/api/types/McpToolHealth.js +5 -0
  206. package/dist/api/types/Message.d.ts +1 -1
  207. package/dist/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.d.ts +9 -0
  208. package/dist/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.js +5 -0
  209. package/dist/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.d.ts +5 -0
  210. package/dist/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.js +5 -0
  211. package/dist/api/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.d.ts +7 -0
  212. package/dist/api/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.js +5 -0
  213. package/dist/api/types/{OpenaiTypesChatChatCompletionMessageToolCallParamFunction.d.ts → OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.d.ts} +1 -1
  214. package/dist/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.js +5 -0
  215. package/dist/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.d.ts +6 -0
  216. package/dist/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.js +5 -0
  217. package/dist/api/types/index.d.ts +25 -4
  218. package/dist/api/types/index.js +25 -4
  219. package/dist/serialization/types/ChatCompletionAllowedToolChoiceParam.d.ts +14 -0
  220. package/dist/serialization/types/ChatCompletionAllowedToolChoiceParam.js +45 -0
  221. package/dist/serialization/types/ChatCompletionAllowedToolsParam.d.ts +14 -0
  222. package/dist/serialization/types/ChatCompletionAllowedToolsParam.js +45 -0
  223. package/dist/serialization/types/ChatCompletionAllowedToolsParamMode.d.ts +10 -0
  224. package/dist/serialization/types/ChatCompletionAllowedToolsParamMode.js +41 -0
  225. package/dist/serialization/types/ChatCompletionAssistantMessageParam.d.ts +2 -2
  226. package/dist/serialization/types/ChatCompletionAssistantMessageParam.js +2 -2
  227. package/dist/serialization/types/ChatCompletionAssistantMessageParamToolCallsItem.d.ts +12 -0
  228. package/dist/serialization/types/ChatCompletionAssistantMessageParamToolCallsItem.js +46 -0
  229. package/dist/serialization/types/ChatCompletionCustomToolParam.d.ts +14 -0
  230. package/dist/serialization/types/ChatCompletionCustomToolParam.js +45 -0
  231. package/dist/serialization/types/{ChatCompletionToolParam.d.ts → ChatCompletionFunctionToolParam.d.ts} +2 -2
  232. package/dist/serialization/types/{ChatCompletionToolParam.js → ChatCompletionFunctionToolParam.js} +2 -2
  233. package/dist/serialization/types/ChatCompletionMessageCustomToolCallParam.d.ts +15 -0
  234. package/dist/serialization/types/ChatCompletionMessageCustomToolCallParam.js +46 -0
  235. package/dist/serialization/types/{ChatCompletionMessageToolCall.d.ts → ChatCompletionMessageFunctionToolCall.d.ts} +2 -2
  236. package/dist/serialization/types/{ChatCompletionMessageToolCall.js → ChatCompletionMessageFunctionToolCall.js} +2 -2
  237. package/dist/serialization/types/ChatCompletionMessageFunctionToolCallParam.d.ts +15 -0
  238. package/dist/serialization/types/{ChatCompletionMessageToolCallParam.js → ChatCompletionMessageFunctionToolCallParam.js} +4 -4
  239. package/dist/serialization/types/ChatCompletionNamedToolChoiceCustomParam.d.ts +14 -0
  240. package/dist/serialization/types/ChatCompletionNamedToolChoiceCustomParam.js +45 -0
  241. package/dist/serialization/types/ChatCompletionStreamOptionsParam.d.ts +1 -0
  242. package/dist/serialization/types/ChatCompletionStreamOptionsParam.js +1 -0
  243. package/dist/serialization/types/CompletionCreateParamsNonStreaming.d.ts +4 -2
  244. package/dist/serialization/types/CompletionCreateParamsNonStreaming.js +4 -2
  245. package/dist/serialization/types/CompletionCreateParamsNonStreamingModel.d.ts +1 -1
  246. package/dist/serialization/types/CompletionCreateParamsNonStreamingModel.js +7 -0
  247. package/dist/serialization/types/CompletionCreateParamsNonStreamingReasoningEffort.d.ts +1 -1
  248. package/dist/serialization/types/CompletionCreateParamsNonStreamingReasoningEffort.js +1 -1
  249. package/dist/serialization/types/CompletionCreateParamsNonStreamingToolChoice.d.ts +3 -1
  250. package/dist/serialization/types/CompletionCreateParamsNonStreamingToolChoice.js +4 -0
  251. package/dist/serialization/types/CompletionCreateParamsNonStreamingToolsItem.d.ts +12 -0
  252. package/dist/serialization/types/CompletionCreateParamsNonStreamingToolsItem.js +43 -0
  253. package/dist/serialization/types/CompletionCreateParamsNonStreamingVerbosity.d.ts +10 -0
  254. package/dist/serialization/types/CompletionCreateParamsNonStreamingVerbosity.js +41 -0
  255. package/dist/serialization/types/CompletionCreateParamsStreaming.d.ts +4 -2
  256. package/dist/serialization/types/CompletionCreateParamsStreaming.js +4 -2
  257. package/dist/serialization/types/CompletionCreateParamsStreamingModel.d.ts +1 -1
  258. package/dist/serialization/types/CompletionCreateParamsStreamingModel.js +7 -0
  259. package/dist/serialization/types/CompletionCreateParamsStreamingReasoningEffort.d.ts +1 -1
  260. package/dist/serialization/types/CompletionCreateParamsStreamingReasoningEffort.js +1 -1
  261. package/dist/serialization/types/CompletionCreateParamsStreamingToolChoice.d.ts +3 -1
  262. package/dist/serialization/types/CompletionCreateParamsStreamingToolChoice.js +4 -0
  263. package/dist/serialization/types/CompletionCreateParamsStreamingToolsItem.d.ts +12 -0
  264. package/dist/serialization/types/CompletionCreateParamsStreamingToolsItem.js +43 -0
  265. package/dist/serialization/types/CompletionCreateParamsStreamingVerbosity.d.ts +10 -0
  266. package/dist/serialization/types/CompletionCreateParamsStreamingVerbosity.js +41 -0
  267. package/dist/serialization/types/CustomFormatGrammar.d.ts +14 -0
  268. package/dist/serialization/types/CustomFormatGrammar.js +45 -0
  269. package/dist/serialization/types/CustomFormatGrammarGrammar.d.ts +14 -0
  270. package/dist/serialization/types/CustomFormatGrammarGrammar.js +45 -0
  271. package/dist/serialization/types/CustomFormatGrammarGrammarSyntax.d.ts +10 -0
  272. package/dist/serialization/types/CustomFormatGrammarGrammarSyntax.js +41 -0
  273. package/dist/serialization/types/CustomFormatText.d.ts +12 -0
  274. package/dist/serialization/types/CustomFormatText.js +43 -0
  275. package/dist/serialization/types/LlmConfig.d.ts +2 -0
  276. package/dist/serialization/types/LlmConfig.js +2 -0
  277. package/dist/serialization/types/LlmConfigVerbosity.d.ts +10 -0
  278. package/dist/serialization/types/LlmConfigVerbosity.js +41 -0
  279. package/dist/serialization/types/McpTool.d.ts +2 -0
  280. package/dist/serialization/types/McpTool.js +2 -0
  281. package/dist/serialization/types/McpToolHealth.d.ts +13 -0
  282. package/dist/serialization/types/McpToolHealth.js +44 -0
  283. package/dist/serialization/types/Message.d.ts +2 -2
  284. package/dist/serialization/types/Message.js +2 -2
  285. package/dist/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.d.ts +15 -0
  286. package/dist/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.js +46 -0
  287. package/dist/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.d.ts +12 -0
  288. package/dist/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.js +43 -0
  289. package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.d.ts +13 -0
  290. package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.js +44 -0
  291. package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.d.ts +13 -0
  292. package/{serialization/types/OpenaiTypesChatChatCompletionMessageToolCallParamFunction.js → dist/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.js} +2 -2
  293. package/dist/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.d.ts +12 -0
  294. package/dist/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.js +43 -0
  295. package/dist/serialization/types/index.d.ts +25 -4
  296. package/dist/serialization/types/index.js +25 -4
  297. package/dist/version.d.ts +1 -1
  298. package/dist/version.js +1 -1
  299. package/package.json +1 -1
  300. package/serialization/types/ChatCompletionAllowedToolChoiceParam.d.ts +14 -0
  301. package/serialization/types/ChatCompletionAllowedToolChoiceParam.js +45 -0
  302. package/serialization/types/ChatCompletionAllowedToolsParam.d.ts +14 -0
  303. package/serialization/types/ChatCompletionAllowedToolsParam.js +45 -0
  304. package/serialization/types/ChatCompletionAllowedToolsParamMode.d.ts +10 -0
  305. package/serialization/types/ChatCompletionAllowedToolsParamMode.js +41 -0
  306. package/serialization/types/ChatCompletionAssistantMessageParam.d.ts +2 -2
  307. package/serialization/types/ChatCompletionAssistantMessageParam.js +2 -2
  308. package/serialization/types/ChatCompletionAssistantMessageParamToolCallsItem.d.ts +12 -0
  309. package/serialization/types/ChatCompletionAssistantMessageParamToolCallsItem.js +46 -0
  310. package/serialization/types/ChatCompletionCustomToolParam.d.ts +14 -0
  311. package/serialization/types/ChatCompletionCustomToolParam.js +45 -0
  312. package/serialization/types/{ChatCompletionToolParam.d.ts → ChatCompletionFunctionToolParam.d.ts} +2 -2
  313. package/serialization/types/{ChatCompletionToolParam.js → ChatCompletionFunctionToolParam.js} +2 -2
  314. package/serialization/types/ChatCompletionMessageCustomToolCallParam.d.ts +15 -0
  315. package/serialization/types/ChatCompletionMessageCustomToolCallParam.js +46 -0
  316. package/serialization/types/{ChatCompletionMessageToolCall.d.ts → ChatCompletionMessageFunctionToolCall.d.ts} +2 -2
  317. package/serialization/types/{ChatCompletionMessageToolCall.js → ChatCompletionMessageFunctionToolCall.js} +2 -2
  318. package/serialization/types/ChatCompletionMessageFunctionToolCallParam.d.ts +15 -0
  319. package/serialization/types/{ChatCompletionMessageToolCallParam.js → ChatCompletionMessageFunctionToolCallParam.js} +4 -4
  320. package/serialization/types/ChatCompletionNamedToolChoiceCustomParam.d.ts +14 -0
  321. package/serialization/types/ChatCompletionNamedToolChoiceCustomParam.js +45 -0
  322. package/serialization/types/ChatCompletionStreamOptionsParam.d.ts +1 -0
  323. package/serialization/types/ChatCompletionStreamOptionsParam.js +1 -0
  324. package/serialization/types/CompletionCreateParamsNonStreaming.d.ts +4 -2
  325. package/serialization/types/CompletionCreateParamsNonStreaming.js +4 -2
  326. package/serialization/types/CompletionCreateParamsNonStreamingModel.d.ts +1 -1
  327. package/serialization/types/CompletionCreateParamsNonStreamingModel.js +7 -0
  328. package/serialization/types/CompletionCreateParamsNonStreamingReasoningEffort.d.ts +1 -1
  329. package/serialization/types/CompletionCreateParamsNonStreamingReasoningEffort.js +1 -1
  330. package/serialization/types/CompletionCreateParamsNonStreamingToolChoice.d.ts +3 -1
  331. package/serialization/types/CompletionCreateParamsNonStreamingToolChoice.js +4 -0
  332. package/serialization/types/CompletionCreateParamsNonStreamingToolsItem.d.ts +12 -0
  333. package/serialization/types/CompletionCreateParamsNonStreamingToolsItem.js +43 -0
  334. package/serialization/types/CompletionCreateParamsNonStreamingVerbosity.d.ts +10 -0
  335. package/serialization/types/CompletionCreateParamsNonStreamingVerbosity.js +41 -0
  336. package/serialization/types/CompletionCreateParamsStreaming.d.ts +4 -2
  337. package/serialization/types/CompletionCreateParamsStreaming.js +4 -2
  338. package/serialization/types/CompletionCreateParamsStreamingModel.d.ts +1 -1
  339. package/serialization/types/CompletionCreateParamsStreamingModel.js +7 -0
  340. package/serialization/types/CompletionCreateParamsStreamingReasoningEffort.d.ts +1 -1
  341. package/serialization/types/CompletionCreateParamsStreamingReasoningEffort.js +1 -1
  342. package/serialization/types/CompletionCreateParamsStreamingToolChoice.d.ts +3 -1
  343. package/serialization/types/CompletionCreateParamsStreamingToolChoice.js +4 -0
  344. package/serialization/types/CompletionCreateParamsStreamingToolsItem.d.ts +12 -0
  345. package/serialization/types/CompletionCreateParamsStreamingToolsItem.js +43 -0
  346. package/serialization/types/CompletionCreateParamsStreamingVerbosity.d.ts +10 -0
  347. package/serialization/types/CompletionCreateParamsStreamingVerbosity.js +41 -0
  348. package/serialization/types/CustomFormatGrammar.d.ts +14 -0
  349. package/serialization/types/CustomFormatGrammar.js +45 -0
  350. package/serialization/types/CustomFormatGrammarGrammar.d.ts +14 -0
  351. package/serialization/types/CustomFormatGrammarGrammar.js +45 -0
  352. package/serialization/types/CustomFormatGrammarGrammarSyntax.d.ts +10 -0
  353. package/serialization/types/CustomFormatGrammarGrammarSyntax.js +41 -0
  354. package/serialization/types/CustomFormatText.d.ts +12 -0
  355. package/serialization/types/CustomFormatText.js +43 -0
  356. package/serialization/types/LlmConfig.d.ts +2 -0
  357. package/serialization/types/LlmConfig.js +2 -0
  358. package/serialization/types/LlmConfigVerbosity.d.ts +10 -0
  359. package/serialization/types/LlmConfigVerbosity.js +41 -0
  360. package/serialization/types/McpTool.d.ts +2 -0
  361. package/serialization/types/McpTool.js +2 -0
  362. package/serialization/types/McpToolHealth.d.ts +13 -0
  363. package/serialization/types/McpToolHealth.js +44 -0
  364. package/serialization/types/Message.d.ts +2 -2
  365. package/serialization/types/Message.js +2 -2
  366. package/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.d.ts +15 -0
  367. package/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.js +46 -0
  368. package/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.d.ts +12 -0
  369. package/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.js +43 -0
  370. package/serialization/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.d.ts +13 -0
  371. package/serialization/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.js +44 -0
  372. package/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.d.ts +13 -0
  373. package/{dist/serialization/types/OpenaiTypesChatChatCompletionMessageToolCallParamFunction.js → serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.js} +2 -2
  374. package/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.d.ts +12 -0
  375. package/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.js +43 -0
  376. package/serialization/types/index.d.ts +25 -4
  377. package/serialization/types/index.js +25 -4
  378. package/version.d.ts +1 -1
  379. package/version.js +1 -1
  380. package/api/types/ChatCompletionMessageToolCallParam.d.ts +0 -9
  381. package/dist/api/types/ChatCompletionMessageToolCallParam.d.ts +0 -9
  382. package/dist/serialization/types/ChatCompletionMessageToolCallParam.d.ts +0 -15
  383. package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageToolCallParamFunction.d.ts +0 -13
  384. package/serialization/types/ChatCompletionMessageToolCallParam.d.ts +0 -15
  385. package/serialization/types/OpenaiTypesChatChatCompletionMessageToolCallParamFunction.d.ts +0 -13
  386. /package/api/types/{ChatCompletionMessageToolCall.js → ChatCompletionAllowedToolChoiceParam.js} +0 -0
  387. /package/api/types/{ChatCompletionMessageToolCallParam.js → ChatCompletionAllowedToolsParam.js} +0 -0
  388. /package/api/types/{ChatCompletionToolParam.js → ChatCompletionAssistantMessageParamToolCallsItem.js} +0 -0
  389. /package/api/types/{OpenaiTypesChatChatCompletionMessageToolCallParamFunction.js → ChatCompletionCustomToolParam.js} +0 -0
  390. /package/{dist/api/types/ChatCompletionMessageToolCall.js → api/types/ChatCompletionFunctionToolParam.js} +0 -0
  391. /package/{dist/api/types/ChatCompletionMessageToolCallParam.js → api/types/ChatCompletionMessageCustomToolCallParam.js} +0 -0
  392. /package/{dist/api/types/ChatCompletionToolParam.js → api/types/ChatCompletionMessageFunctionToolCall.js} +0 -0
  393. /package/{dist/api/types/OpenaiTypesChatChatCompletionMessageToolCallParamFunction.js → api/types/ChatCompletionMessageFunctionToolCallParam.js} +0 -0
@@ -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 });
@@ -38,4 +38,6 @@ export interface LlmConfig {
38
38
  frequencyPenalty?: number;
39
39
  /** The framework compatibility type for the model. */
40
40
  compatibilityType?: Letta.LlmConfigCompatibilityType;
41
+ /** Soft control for how verbose model output should be, used for GPT-5 models. */
42
+ verbosity?: Letta.LlmConfigVerbosity;
41
43
  }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type LlmConfigVerbosity = "low" | "medium" | "high";
5
+ export declare const LlmConfigVerbosity: {
6
+ readonly Low: "low";
7
+ readonly Medium: "medium";
8
+ readonly High: "high";
9
+ };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.LlmConfigVerbosity = void 0;
7
+ exports.LlmConfigVerbosity = {
8
+ Low: "low",
9
+ Medium: "medium",
10
+ High: "high",
11
+ };
@@ -13,6 +13,8 @@ export interface McpTool {
13
13
  outputSchema?: Record<string, unknown>;
14
14
  annotations?: Letta.ToolAnnotations;
15
15
  meta?: Record<string, unknown>;
16
+ /** Schema health status for OpenAI strict mode */
17
+ health?: Letta.McpToolHealth;
16
18
  /** Accepts any additional properties */
17
19
  [key: string]: any;
18
20
  }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Health status for an MCP tool's schema.
6
+ */
7
+ export interface McpToolHealth {
8
+ /** Schema health status: STRICT_COMPLIANT, NON_STRICT_ONLY, or INVALID */
9
+ status: string;
10
+ /** List of reasons for the health status */
11
+ reasons?: string[];
12
+ }
@@ -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 });
@@ -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.ChatCompletionMessageToolCall[];
48
+ toolCalls?: Letta.ChatCompletionMessageFunctionToolCall[];
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
+ import * as Letta from "../index";
5
+ export interface OpenaiTypesChatChatCompletionCustomToolParamCustom {
6
+ name: string;
7
+ description?: string;
8
+ format?: Letta.OpenaiTypesChatChatCompletionCustomToolParamCustomFormat;
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,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Letta from "../index";
5
+ export type OpenaiTypesChatChatCompletionCustomToolParamCustomFormat = Letta.CustomFormatText | Letta.CustomFormatGrammar;
@@ -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,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom {
5
+ input: string;
6
+ name: string;
7
+ }
@@ -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 });
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export interface OpenaiTypesChatChatCompletionMessageToolCallParamFunction {
4
+ export interface OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction {
5
5
  arguments: string;
6
6
  name: string;
7
7
  }
@@ -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,6 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom {
5
+ name: string;
6
+ }
@@ -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 });
@@ -29,8 +29,12 @@ export * from "./Block";
29
29
  export * from "./BlockSchema";
30
30
  export * from "./BlockUpdate";
31
31
  export * from "./BodyExportAgentSerialized";
32
+ export * from "./ChatCompletionAllowedToolChoiceParam";
33
+ export * from "./ChatCompletionAllowedToolsParamMode";
34
+ export * from "./ChatCompletionAllowedToolsParam";
32
35
  export * from "./ChatCompletionAssistantMessageParamContentItem";
33
36
  export * from "./ChatCompletionAssistantMessageParamContent";
37
+ export * from "./ChatCompletionAssistantMessageParamToolCallsItem";
34
38
  export * from "./ChatCompletionAssistantMessageParam";
35
39
  export * from "./ChatCompletionAudioParamFormat";
36
40
  export * from "./ChatCompletionAudioParamVoice";
@@ -39,12 +43,16 @@ export * from "./ChatCompletionContentPartImageParam";
39
43
  export * from "./ChatCompletionContentPartInputAudioParam";
40
44
  export * from "./ChatCompletionContentPartRefusalParam";
41
45
  export * from "./ChatCompletionContentPartTextParam";
46
+ export * from "./ChatCompletionCustomToolParam";
42
47
  export * from "./ChatCompletionDeveloperMessageParamContent";
43
48
  export * from "./ChatCompletionDeveloperMessageParam";
44
49
  export * from "./ChatCompletionFunctionCallOptionParam";
45
50
  export * from "./ChatCompletionFunctionMessageParam";
46
- export * from "./ChatCompletionMessageToolCall";
47
- export * from "./ChatCompletionMessageToolCallParam";
51
+ export * from "./ChatCompletionFunctionToolParam";
52
+ export * from "./ChatCompletionMessageCustomToolCallParam";
53
+ export * from "./ChatCompletionMessageFunctionToolCall";
54
+ export * from "./ChatCompletionMessageFunctionToolCallParam";
55
+ export * from "./ChatCompletionNamedToolChoiceCustomParam";
48
56
  export * from "./ChatCompletionNamedToolChoiceParam";
49
57
  export * from "./ChatCompletionPredictionContentParamContent";
50
58
  export * from "./ChatCompletionPredictionContentParam";
@@ -53,7 +61,6 @@ export * from "./ChatCompletionSystemMessageParamContent";
53
61
  export * from "./ChatCompletionSystemMessageParam";
54
62
  export * from "./ChatCompletionToolMessageParamContent";
55
63
  export * from "./ChatCompletionToolMessageParam";
56
- export * from "./ChatCompletionToolParam";
57
64
  export * from "./ChatCompletionUserMessageParamContentItem";
58
65
  export * from "./ChatCompletionUserMessageParamContent";
59
66
  export * from "./ChatCompletionUserMessageParam";
@@ -69,6 +76,8 @@ export * from "./CompletionCreateParamsNonStreamingResponseFormat";
69
76
  export * from "./CompletionCreateParamsNonStreamingServiceTier";
70
77
  export * from "./CompletionCreateParamsNonStreamingStop";
71
78
  export * from "./CompletionCreateParamsNonStreamingToolChoice";
79
+ export * from "./CompletionCreateParamsNonStreamingToolsItem";
80
+ export * from "./CompletionCreateParamsNonStreamingVerbosity";
72
81
  export * from "./CompletionCreateParamsNonStreaming";
73
82
  export * from "./CompletionCreateParamsStreamingMessagesItem";
74
83
  export * from "./CompletionCreateParamsStreamingModel";
@@ -79,6 +88,8 @@ export * from "./CompletionCreateParamsStreamingResponseFormat";
79
88
  export * from "./CompletionCreateParamsStreamingServiceTier";
80
89
  export * from "./CompletionCreateParamsStreamingStop";
81
90
  export * from "./CompletionCreateParamsStreamingToolChoice";
91
+ export * from "./CompletionCreateParamsStreamingToolsItem";
92
+ export * from "./CompletionCreateParamsStreamingVerbosity";
82
93
  export * from "./CompletionCreateParamsStreaming";
83
94
  export * from "./ConditionalToolRule";
84
95
  export * from "./ConditionalToolRuleSchema";
@@ -86,6 +97,10 @@ export * from "./ContextWindowOverview";
86
97
  export * from "./ContinueToolRule";
87
98
  export * from "./CoreMemoryBlockSchema";
88
99
  export * from "./CreateBlock";
100
+ export * from "./CustomFormatGrammar";
101
+ export * from "./CustomFormatGrammarGrammarSyntax";
102
+ export * from "./CustomFormatGrammarGrammar";
103
+ export * from "./CustomFormatText";
89
104
  export * from "./DuplicateFileHandling";
90
105
  export * from "./DynamicManager";
91
106
  export * from "./DynamicManagerUpdate";
@@ -138,6 +153,7 @@ export * from "./JsonSchemaResponseFormat";
138
153
  export * from "./LlmConfigModelEndpointType";
139
154
  export * from "./LlmConfigReasoningEffort";
140
155
  export * from "./LlmConfigCompatibilityType";
156
+ export * from "./LlmConfigVerbosity";
141
157
  export * from "./LlmConfig";
142
158
  export * from "./LettaBatchMessages";
143
159
  export * from "./LettaBatchRequest";
@@ -153,6 +169,7 @@ export * from "./McpServerSchema";
153
169
  export * from "./McpServerType";
154
170
  export * from "./McpTool";
155
171
  export * from "./McpToolExecuteRequest";
172
+ export * from "./McpToolHealth";
156
173
  export * from "./ManagerType";
157
174
  export * from "./MaxCountPerStepToolRule";
158
175
  export * from "./MaxCountPerStepToolRuleSchema";
@@ -275,7 +292,11 @@ export * from "./LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesIte
275
292
  export * from "./LettaSerializeSchemasPydanticAgentSchemaAgentSchema";
276
293
  export * from "./LettaSerializeSchemasPydanticAgentSchemaMessageSchema";
277
294
  export * from "./LettaSerializeSchemasPydanticAgentSchemaToolSchema";
278
- export * from "./OpenaiTypesChatChatCompletionMessageToolCallParamFunction";
295
+ export * from "./OpenaiTypesChatChatCompletionCustomToolParamCustomFormat";
296
+ export * from "./OpenaiTypesChatChatCompletionCustomToolParamCustom";
297
+ export * from "./OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom";
298
+ export * from "./OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction";
299
+ export * from "./OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom";
279
300
  export * from "./OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction";
280
301
  export * from "./OpenaiTypesChatCompletionCreateParamsFunction";
281
302
  export * from "./LettaMessageUnion";
@@ -45,8 +45,12 @@ __exportStar(require("./Block"), exports);
45
45
  __exportStar(require("./BlockSchema"), exports);
46
46
  __exportStar(require("./BlockUpdate"), exports);
47
47
  __exportStar(require("./BodyExportAgentSerialized"), exports);
48
+ __exportStar(require("./ChatCompletionAllowedToolChoiceParam"), exports);
49
+ __exportStar(require("./ChatCompletionAllowedToolsParamMode"), exports);
50
+ __exportStar(require("./ChatCompletionAllowedToolsParam"), exports);
48
51
  __exportStar(require("./ChatCompletionAssistantMessageParamContentItem"), exports);
49
52
  __exportStar(require("./ChatCompletionAssistantMessageParamContent"), exports);
53
+ __exportStar(require("./ChatCompletionAssistantMessageParamToolCallsItem"), exports);
50
54
  __exportStar(require("./ChatCompletionAssistantMessageParam"), exports);
51
55
  __exportStar(require("./ChatCompletionAudioParamFormat"), exports);
52
56
  __exportStar(require("./ChatCompletionAudioParamVoice"), exports);
@@ -55,12 +59,16 @@ __exportStar(require("./ChatCompletionContentPartImageParam"), exports);
55
59
  __exportStar(require("./ChatCompletionContentPartInputAudioParam"), exports);
56
60
  __exportStar(require("./ChatCompletionContentPartRefusalParam"), exports);
57
61
  __exportStar(require("./ChatCompletionContentPartTextParam"), exports);
62
+ __exportStar(require("./ChatCompletionCustomToolParam"), exports);
58
63
  __exportStar(require("./ChatCompletionDeveloperMessageParamContent"), exports);
59
64
  __exportStar(require("./ChatCompletionDeveloperMessageParam"), exports);
60
65
  __exportStar(require("./ChatCompletionFunctionCallOptionParam"), exports);
61
66
  __exportStar(require("./ChatCompletionFunctionMessageParam"), exports);
62
- __exportStar(require("./ChatCompletionMessageToolCall"), exports);
63
- __exportStar(require("./ChatCompletionMessageToolCallParam"), exports);
67
+ __exportStar(require("./ChatCompletionFunctionToolParam"), exports);
68
+ __exportStar(require("./ChatCompletionMessageCustomToolCallParam"), exports);
69
+ __exportStar(require("./ChatCompletionMessageFunctionToolCall"), exports);
70
+ __exportStar(require("./ChatCompletionMessageFunctionToolCallParam"), exports);
71
+ __exportStar(require("./ChatCompletionNamedToolChoiceCustomParam"), exports);
64
72
  __exportStar(require("./ChatCompletionNamedToolChoiceParam"), exports);
65
73
  __exportStar(require("./ChatCompletionPredictionContentParamContent"), exports);
66
74
  __exportStar(require("./ChatCompletionPredictionContentParam"), exports);
@@ -69,7 +77,6 @@ __exportStar(require("./ChatCompletionSystemMessageParamContent"), exports);
69
77
  __exportStar(require("./ChatCompletionSystemMessageParam"), exports);
70
78
  __exportStar(require("./ChatCompletionToolMessageParamContent"), exports);
71
79
  __exportStar(require("./ChatCompletionToolMessageParam"), exports);
72
- __exportStar(require("./ChatCompletionToolParam"), exports);
73
80
  __exportStar(require("./ChatCompletionUserMessageParamContentItem"), exports);
74
81
  __exportStar(require("./ChatCompletionUserMessageParamContent"), exports);
75
82
  __exportStar(require("./ChatCompletionUserMessageParam"), exports);
@@ -85,6 +92,8 @@ __exportStar(require("./CompletionCreateParamsNonStreamingResponseFormat"), expo
85
92
  __exportStar(require("./CompletionCreateParamsNonStreamingServiceTier"), exports);
86
93
  __exportStar(require("./CompletionCreateParamsNonStreamingStop"), exports);
87
94
  __exportStar(require("./CompletionCreateParamsNonStreamingToolChoice"), exports);
95
+ __exportStar(require("./CompletionCreateParamsNonStreamingToolsItem"), exports);
96
+ __exportStar(require("./CompletionCreateParamsNonStreamingVerbosity"), exports);
88
97
  __exportStar(require("./CompletionCreateParamsNonStreaming"), exports);
89
98
  __exportStar(require("./CompletionCreateParamsStreamingMessagesItem"), exports);
90
99
  __exportStar(require("./CompletionCreateParamsStreamingModel"), exports);
@@ -95,6 +104,8 @@ __exportStar(require("./CompletionCreateParamsStreamingResponseFormat"), exports
95
104
  __exportStar(require("./CompletionCreateParamsStreamingServiceTier"), exports);
96
105
  __exportStar(require("./CompletionCreateParamsStreamingStop"), exports);
97
106
  __exportStar(require("./CompletionCreateParamsStreamingToolChoice"), exports);
107
+ __exportStar(require("./CompletionCreateParamsStreamingToolsItem"), exports);
108
+ __exportStar(require("./CompletionCreateParamsStreamingVerbosity"), exports);
98
109
  __exportStar(require("./CompletionCreateParamsStreaming"), exports);
99
110
  __exportStar(require("./ConditionalToolRule"), exports);
100
111
  __exportStar(require("./ConditionalToolRuleSchema"), exports);
@@ -102,6 +113,10 @@ __exportStar(require("./ContextWindowOverview"), exports);
102
113
  __exportStar(require("./ContinueToolRule"), exports);
103
114
  __exportStar(require("./CoreMemoryBlockSchema"), exports);
104
115
  __exportStar(require("./CreateBlock"), exports);
116
+ __exportStar(require("./CustomFormatGrammar"), exports);
117
+ __exportStar(require("./CustomFormatGrammarGrammarSyntax"), exports);
118
+ __exportStar(require("./CustomFormatGrammarGrammar"), exports);
119
+ __exportStar(require("./CustomFormatText"), exports);
105
120
  __exportStar(require("./DuplicateFileHandling"), exports);
106
121
  __exportStar(require("./DynamicManager"), exports);
107
122
  __exportStar(require("./DynamicManagerUpdate"), exports);
@@ -154,6 +169,7 @@ __exportStar(require("./JsonSchemaResponseFormat"), exports);
154
169
  __exportStar(require("./LlmConfigModelEndpointType"), exports);
155
170
  __exportStar(require("./LlmConfigReasoningEffort"), exports);
156
171
  __exportStar(require("./LlmConfigCompatibilityType"), exports);
172
+ __exportStar(require("./LlmConfigVerbosity"), exports);
157
173
  __exportStar(require("./LlmConfig"), exports);
158
174
  __exportStar(require("./LettaBatchMessages"), exports);
159
175
  __exportStar(require("./LettaBatchRequest"), exports);
@@ -169,6 +185,7 @@ __exportStar(require("./McpServerSchema"), exports);
169
185
  __exportStar(require("./McpServerType"), exports);
170
186
  __exportStar(require("./McpTool"), exports);
171
187
  __exportStar(require("./McpToolExecuteRequest"), exports);
188
+ __exportStar(require("./McpToolHealth"), exports);
172
189
  __exportStar(require("./ManagerType"), exports);
173
190
  __exportStar(require("./MaxCountPerStepToolRule"), exports);
174
191
  __exportStar(require("./MaxCountPerStepToolRuleSchema"), exports);
@@ -291,7 +308,11 @@ __exportStar(require("./LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolR
291
308
  __exportStar(require("./LettaSerializeSchemasPydanticAgentSchemaAgentSchema"), exports);
292
309
  __exportStar(require("./LettaSerializeSchemasPydanticAgentSchemaMessageSchema"), exports);
293
310
  __exportStar(require("./LettaSerializeSchemasPydanticAgentSchemaToolSchema"), exports);
294
- __exportStar(require("./OpenaiTypesChatChatCompletionMessageToolCallParamFunction"), exports);
311
+ __exportStar(require("./OpenaiTypesChatChatCompletionCustomToolParamCustomFormat"), exports);
312
+ __exportStar(require("./OpenaiTypesChatChatCompletionCustomToolParamCustom"), exports);
313
+ __exportStar(require("./OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom"), exports);
314
+ __exportStar(require("./OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction"), exports);
315
+ __exportStar(require("./OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom"), exports);
295
316
  __exportStar(require("./OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction"), exports);
296
317
  __exportStar(require("./OpenaiTypesChatCompletionCreateParamsFunction"), exports);
297
318
  __exportStar(require("./LettaMessageUnion"), exports);
@@ -207,7 +207,7 @@ class Agents {
207
207
  method: "GET",
208
208
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
209
209
  ? yield core.Supplier.get(this._options.project)
210
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "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),
210
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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),
211
211
  contentType: "application/json",
212
212
  queryParameters: _queryParams,
213
213
  requestType: "json",
@@ -284,7 +284,7 @@ class Agents {
284
284
  method: "POST",
285
285
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
286
286
  ? yield core.Supplier.get(this._options.project)
287
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "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),
287
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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),
288
288
  contentType: "application/json",
289
289
  requestType: "json",
290
290
  body: serializers.CreateAgentRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -360,7 +360,7 @@ class Agents {
360
360
  method: "GET",
361
361
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
362
362
  ? yield core.Supplier.get(this._options.project)
363
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "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),
363
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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),
364
364
  contentType: "application/json",
365
365
  requestType: "json",
366
366
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -449,7 +449,7 @@ class Agents {
449
449
  method: "GET",
450
450
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
451
451
  ? yield core.Supplier.get(this._options.project)
452
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "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),
452
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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),
453
453
  contentType: "application/json",
454
454
  queryParameters: _queryParams,
455
455
  requestType: "json",
@@ -546,7 +546,7 @@ class Agents {
546
546
  method: "POST",
547
547
  headers: Object.assign(Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
548
548
  ? yield core.Supplier.get(this._options.project)
549
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
549
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
550
550
  requestType: "file",
551
551
  duplex: _maybeEncodedRequest.duplex,
552
552
  body: _maybeEncodedRequest.body,
@@ -634,7 +634,7 @@ class Agents {
634
634
  method: "GET",
635
635
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
636
636
  ? yield core.Supplier.get(this._options.project)
637
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "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),
637
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
638
638
  contentType: "application/json",
639
639
  queryParameters: _queryParams,
640
640
  requestType: "json",
@@ -711,7 +711,7 @@ class Agents {
711
711
  method: "DELETE",
712
712
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
713
713
  ? yield core.Supplier.get(this._options.project)
714
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "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
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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),
715
715
  contentType: "application/json",
716
716
  requestType: "json",
717
717
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -779,7 +779,7 @@ class Agents {
779
779
  method: "PATCH",
780
780
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
781
781
  ? yield core.Supplier.get(this._options.project)
782
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "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),
782
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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),
783
783
  contentType: "application/json",
784
784
  requestType: "json",
785
785
  body: serializers.UpdateAgent.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -865,7 +865,7 @@ class Agents {
865
865
  method: "POST",
866
866
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
867
867
  ? yield core.Supplier.get(this._options.project)
868
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "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
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
869
869
  contentType: "application/json",
870
870
  queryParameters: _queryParams,
871
871
  requestType: "json",
@@ -933,7 +933,7 @@ class Agents {
933
933
  method: "POST",
934
934
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
935
935
  ? yield core.Supplier.get(this._options.project)
936
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "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),
936
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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),
937
937
  contentType: "application/json",
938
938
  requestType: "json",
939
939
  body: serializers.AgentsSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -82,7 +82,7 @@ class Blocks {
82
82
  method: "GET",
83
83
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
84
84
  ? yield core.Supplier.get(this._options.project)
85
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "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
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
86
86
  contentType: "application/json",
87
87
  requestType: "json",
88
88
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -160,7 +160,7 @@ class Blocks {
160
160
  method: "PATCH",
161
161
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
162
162
  ? yield core.Supplier.get(this._options.project)
163
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "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),
163
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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),
164
164
  contentType: "application/json",
165
165
  requestType: "json",
166
166
  body: serializers.BlockUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -237,7 +237,7 @@ class Blocks {
237
237
  method: "GET",
238
238
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
239
239
  ? yield core.Supplier.get(this._options.project)
240
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "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),
240
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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),
241
241
  contentType: "application/json",
242
242
  requestType: "json",
243
243
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -314,7 +314,7 @@ class Blocks {
314
314
  method: "PATCH",
315
315
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
316
316
  ? yield core.Supplier.get(this._options.project)
317
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "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),
317
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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),
318
318
  contentType: "application/json",
319
319
  requestType: "json",
320
320
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -391,7 +391,7 @@ class Blocks {
391
391
  method: "PATCH",
392
392
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
393
393
  ? yield core.Supplier.get(this._options.project)
394
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "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),
394
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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),
395
395
  contentType: "application/json",
396
396
  requestType: "json",
397
397
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -81,7 +81,7 @@ class Context {
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.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "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.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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,
@@ -82,7 +82,7 @@ class CoreMemory {
82
82
  method: "GET",
83
83
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
84
84
  ? yield core.Supplier.get(this._options.project)
85
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "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
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
86
86
  contentType: "application/json",
87
87
  requestType: "json",
88
88
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -84,7 +84,7 @@ class Files {
84
84
  method: "PATCH",
85
85
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
86
86
  ? yield core.Supplier.get(this._options.project)
87
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "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
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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),
88
88
  contentType: "application/json",
89
89
  requestType: "json",
90
90
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -165,7 +165,7 @@ class Files {
165
165
  method: "PATCH",
166
166
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
167
167
  ? yield core.Supplier.get(this._options.project)
168
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "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),
168
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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),
169
169
  contentType: "application/json",
170
170
  requestType: "json",
171
171
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -245,7 +245,7 @@ class Files {
245
245
  method: "PATCH",
246
246
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
247
247
  ? yield core.Supplier.get(this._options.project)
248
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "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),
248
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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),
249
249
  contentType: "application/json",
250
250
  requestType: "json",
251
251
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -82,7 +82,7 @@ class Folders {
82
82
  method: "PATCH",
83
83
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
84
84
  ? yield core.Supplier.get(this._options.project)
85
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "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
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
86
86
  contentType: "application/json",
87
87
  requestType: "json",
88
88
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -159,7 +159,7 @@ class Folders {
159
159
  method: "PATCH",
160
160
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
161
161
  ? yield core.Supplier.get(this._options.project)
162
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "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),
162
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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),
163
163
  contentType: "application/json",
164
164
  requestType: "json",
165
165
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -235,7 +235,7 @@ class Folders {
235
235
  method: "GET",
236
236
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
237
237
  ? yield core.Supplier.get(this._options.project)
238
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "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),
238
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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),
239
239
  contentType: "application/json",
240
240
  requestType: "json",
241
241
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -87,7 +87,7 @@ class Groups {
87
87
  method: "GET",
88
88
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
89
89
  ? yield core.Supplier.get(this._options.project)
90
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.178", "User-Agent": "@letta-ai/letta-client/0.1.178", "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),
90
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "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),
91
91
  contentType: "application/json",
92
92
  queryParameters: _queryParams,
93
93
  requestType: "json",