@letta-ai/letta-client 1.0.0-alpha.3 → 1.0.0-alpha.5

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 (308) hide show
  1. package/api/resources/agents/client/Client.d.ts +8 -8
  2. package/api/resources/agents/client/Client.js +17 -17
  3. package/api/resources/agents/client/requests/CreateAgentRequest.d.ts +2 -0
  4. package/api/resources/agents/client/requests/UpdateAgent.d.ts +2 -0
  5. package/api/resources/agents/resources/blocks/client/Client.d.ts +12 -12
  6. package/api/resources/agents/resources/blocks/client/Client.js +17 -17
  7. package/api/resources/agents/resources/context/client/Client.d.ts +2 -2
  8. package/api/resources/agents/resources/context/client/Client.js +3 -3
  9. package/api/resources/agents/resources/coreMemory/client/Client.d.ts +2 -2
  10. package/api/resources/agents/resources/coreMemory/client/Client.js +3 -3
  11. package/api/resources/agents/resources/files/client/Client.d.ts +10 -10
  12. package/api/resources/agents/resources/files/client/Client.js +14 -14
  13. package/api/resources/agents/resources/folders/client/Client.d.ts +8 -8
  14. package/api/resources/agents/resources/folders/client/Client.js +11 -11
  15. package/api/resources/agents/resources/groups/client/Client.d.ts +2 -2
  16. package/api/resources/agents/resources/groups/client/Client.js +3 -3
  17. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  18. package/api/resources/agents/resources/messages/client/Client.d.ts +17 -17
  19. package/api/resources/agents/resources/messages/client/Client.js +27 -27
  20. package/api/resources/agents/resources/passages/client/Client.d.ts +8 -8
  21. package/api/resources/agents/resources/passages/client/Client.js +13 -13
  22. package/api/resources/agents/resources/sources/client/Client.d.ts +8 -8
  23. package/api/resources/agents/resources/sources/client/Client.js +11 -11
  24. package/api/resources/agents/resources/tools/client/Client.d.ts +10 -10
  25. package/api/resources/agents/resources/tools/client/Client.js +14 -14
  26. package/api/resources/archives/client/Client.d.ts +2 -2
  27. package/api/resources/archives/client/Client.js +5 -5
  28. package/api/resources/batches/client/Client.js +4 -4
  29. package/api/resources/batches/resources/messages/client/Client.js +1 -1
  30. package/api/resources/blocks/client/Client.d.ts +6 -6
  31. package/api/resources/blocks/client/Client.js +12 -12
  32. package/api/resources/blocks/resources/agents/client/Client.d.ts +2 -2
  33. package/api/resources/blocks/resources/agents/client/Client.js +3 -3
  34. package/api/resources/chat/client/Client.js +1 -1
  35. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  36. package/api/resources/folders/client/Client.js +8 -8
  37. package/api/resources/folders/resources/agents/client/Client.js +1 -1
  38. package/api/resources/folders/resources/files/client/Client.js +3 -3
  39. package/api/resources/folders/resources/passages/client/Client.js +1 -1
  40. package/api/resources/groups/client/Client.d.ts +6 -6
  41. package/api/resources/groups/client/Client.js +12 -12
  42. package/api/resources/groups/resources/messages/client/Client.d.ts +9 -9
  43. package/api/resources/groups/resources/messages/client/Client.js +14 -14
  44. package/api/resources/health/client/Client.js +1 -1
  45. package/api/resources/identities/client/Client.d.ts +6 -6
  46. package/api/resources/identities/client/Client.js +13 -13
  47. package/api/resources/identities/resources/agents/client/Client.d.ts +2 -2
  48. package/api/resources/identities/resources/agents/client/Client.js +3 -3
  49. package/api/resources/identities/resources/blocks/client/Client.d.ts +2 -2
  50. package/api/resources/identities/resources/blocks/client/Client.js +3 -3
  51. package/api/resources/identities/resources/properties/client/Client.d.ts +2 -2
  52. package/api/resources/identities/resources/properties/client/Client.js +3 -3
  53. package/api/resources/jobs/client/Client.d.ts +6 -6
  54. package/api/resources/jobs/client/Client.js +11 -11
  55. package/api/resources/models/client/Client.js +2 -2
  56. package/api/resources/models/resources/embeddings/client/Client.js +1 -1
  57. package/api/resources/projects/client/Client.js +1 -1
  58. package/api/resources/providers/client/Client.d.ts +8 -8
  59. package/api/resources/providers/client/Client.js +15 -15
  60. package/api/resources/runs/client/Client.js +6 -6
  61. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  62. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  63. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  64. package/api/resources/sources/client/Client.d.ts +11 -11
  65. package/api/resources/sources/client/Client.js +21 -21
  66. package/api/resources/sources/resources/files/client/Client.d.ts +6 -6
  67. package/api/resources/sources/resources/files/client/Client.js +9 -9
  68. package/api/resources/sources/resources/passages/client/Client.d.ts +2 -2
  69. package/api/resources/sources/resources/passages/client/Client.js +3 -3
  70. package/api/resources/steps/client/Client.d.ts +2 -2
  71. package/api/resources/steps/client/Client.js +4 -4
  72. package/api/resources/steps/resources/feedback/client/Client.d.ts +2 -2
  73. package/api/resources/steps/resources/feedback/client/Client.js +3 -3
  74. package/api/resources/steps/resources/messages/client/Client.d.ts +2 -2
  75. package/api/resources/steps/resources/messages/client/Client.js +3 -3
  76. package/api/resources/steps/resources/metrics/client/Client.d.ts +2 -2
  77. package/api/resources/steps/resources/metrics/client/Client.js +3 -3
  78. package/api/resources/steps/resources/trace/client/Client.d.ts +2 -2
  79. package/api/resources/steps/resources/trace/client/Client.js +3 -3
  80. package/api/resources/tags/client/Client.js +1 -1
  81. package/api/resources/telemetry/client/Client.js +1 -1
  82. package/api/resources/templates/client/Client.js +13 -13
  83. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  84. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfig.d.ts +1 -0
  85. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCalls.d.ts +5 -0
  86. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCalls.js +5 -0
  87. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCallsItem.d.ts +4 -0
  88. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCallsItem.js +5 -0
  89. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItem.d.ts +1 -0
  90. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecution.d.ts +5 -0
  91. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecution.js +5 -0
  92. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecutionItem.d.ts +4 -0
  93. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecutionItem.js +5 -0
  94. package/api/resources/templates/types/index.d.ts +4 -0
  95. package/api/resources/templates/types/index.js +4 -0
  96. package/api/resources/tools/client/Client.d.ts +6 -6
  97. package/api/resources/tools/client/Client.js +23 -23
  98. package/api/resources/tools/client/requests/ToolUpdate.d.ts +2 -0
  99. package/api/resources/voice/client/Client.js +1 -1
  100. package/api/types/ApprovalRequestMessage.d.ts +2 -0
  101. package/api/types/ApprovalRequestMessageToolCalls.d.ts +8 -0
  102. package/api/types/ApprovalRequestMessageToolCalls.js +5 -0
  103. package/api/types/InternalTemplateAgentCreate.d.ts +2 -0
  104. package/api/types/LettaSchemasAgentFileAgentSchema.d.ts +2 -0
  105. package/api/types/LettaSchemasAgentFileToolSchema.d.ts +2 -0
  106. package/api/types/LlmConfig.d.ts +2 -0
  107. package/api/types/RunMetrics.d.ts +2 -0
  108. package/api/types/Tool.d.ts +2 -0
  109. package/api/types/ToolCreate.d.ts +2 -0
  110. package/api/types/index.d.ts +1 -0
  111. package/api/types/index.js +1 -0
  112. package/dist/api/resources/agents/client/Client.d.ts +8 -8
  113. package/dist/api/resources/agents/client/Client.js +17 -17
  114. package/dist/api/resources/agents/client/requests/CreateAgentRequest.d.ts +2 -0
  115. package/dist/api/resources/agents/client/requests/UpdateAgent.d.ts +2 -0
  116. package/dist/api/resources/agents/resources/blocks/client/Client.d.ts +12 -12
  117. package/dist/api/resources/agents/resources/blocks/client/Client.js +17 -17
  118. package/dist/api/resources/agents/resources/context/client/Client.d.ts +2 -2
  119. package/dist/api/resources/agents/resources/context/client/Client.js +3 -3
  120. package/dist/api/resources/agents/resources/coreMemory/client/Client.d.ts +2 -2
  121. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +3 -3
  122. package/dist/api/resources/agents/resources/files/client/Client.d.ts +10 -10
  123. package/dist/api/resources/agents/resources/files/client/Client.js +14 -14
  124. package/dist/api/resources/agents/resources/folders/client/Client.d.ts +8 -8
  125. package/dist/api/resources/agents/resources/folders/client/Client.js +11 -11
  126. package/dist/api/resources/agents/resources/groups/client/Client.d.ts +2 -2
  127. package/dist/api/resources/agents/resources/groups/client/Client.js +3 -3
  128. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  129. package/dist/api/resources/agents/resources/messages/client/Client.d.ts +17 -17
  130. package/dist/api/resources/agents/resources/messages/client/Client.js +27 -27
  131. package/dist/api/resources/agents/resources/passages/client/Client.d.ts +8 -8
  132. package/dist/api/resources/agents/resources/passages/client/Client.js +13 -13
  133. package/dist/api/resources/agents/resources/sources/client/Client.d.ts +8 -8
  134. package/dist/api/resources/agents/resources/sources/client/Client.js +11 -11
  135. package/dist/api/resources/agents/resources/tools/client/Client.d.ts +10 -10
  136. package/dist/api/resources/agents/resources/tools/client/Client.js +14 -14
  137. package/dist/api/resources/archives/client/Client.d.ts +2 -2
  138. package/dist/api/resources/archives/client/Client.js +5 -5
  139. package/dist/api/resources/batches/client/Client.js +4 -4
  140. package/dist/api/resources/batches/resources/messages/client/Client.js +1 -1
  141. package/dist/api/resources/blocks/client/Client.d.ts +6 -6
  142. package/dist/api/resources/blocks/client/Client.js +12 -12
  143. package/dist/api/resources/blocks/resources/agents/client/Client.d.ts +2 -2
  144. package/dist/api/resources/blocks/resources/agents/client/Client.js +3 -3
  145. package/dist/api/resources/chat/client/Client.js +1 -1
  146. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  147. package/dist/api/resources/folders/client/Client.js +8 -8
  148. package/dist/api/resources/folders/resources/agents/client/Client.js +1 -1
  149. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  150. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  151. package/dist/api/resources/groups/client/Client.d.ts +6 -6
  152. package/dist/api/resources/groups/client/Client.js +12 -12
  153. package/dist/api/resources/groups/resources/messages/client/Client.d.ts +9 -9
  154. package/dist/api/resources/groups/resources/messages/client/Client.js +14 -14
  155. package/dist/api/resources/health/client/Client.js +1 -1
  156. package/dist/api/resources/identities/client/Client.d.ts +6 -6
  157. package/dist/api/resources/identities/client/Client.js +13 -13
  158. package/dist/api/resources/identities/resources/agents/client/Client.d.ts +2 -2
  159. package/dist/api/resources/identities/resources/agents/client/Client.js +3 -3
  160. package/dist/api/resources/identities/resources/blocks/client/Client.d.ts +2 -2
  161. package/dist/api/resources/identities/resources/blocks/client/Client.js +3 -3
  162. package/dist/api/resources/identities/resources/properties/client/Client.d.ts +2 -2
  163. package/dist/api/resources/identities/resources/properties/client/Client.js +3 -3
  164. package/dist/api/resources/jobs/client/Client.d.ts +6 -6
  165. package/dist/api/resources/jobs/client/Client.js +11 -11
  166. package/dist/api/resources/models/client/Client.js +2 -2
  167. package/dist/api/resources/models/resources/embeddings/client/Client.js +1 -1
  168. package/dist/api/resources/projects/client/Client.js +1 -1
  169. package/dist/api/resources/providers/client/Client.d.ts +8 -8
  170. package/dist/api/resources/providers/client/Client.js +15 -15
  171. package/dist/api/resources/runs/client/Client.js +6 -6
  172. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  173. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  174. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  175. package/dist/api/resources/sources/client/Client.d.ts +11 -11
  176. package/dist/api/resources/sources/client/Client.js +21 -21
  177. package/dist/api/resources/sources/resources/files/client/Client.d.ts +6 -6
  178. package/dist/api/resources/sources/resources/files/client/Client.js +9 -9
  179. package/dist/api/resources/sources/resources/passages/client/Client.d.ts +2 -2
  180. package/dist/api/resources/sources/resources/passages/client/Client.js +3 -3
  181. package/dist/api/resources/steps/client/Client.d.ts +2 -2
  182. package/dist/api/resources/steps/client/Client.js +4 -4
  183. package/dist/api/resources/steps/resources/feedback/client/Client.d.ts +2 -2
  184. package/dist/api/resources/steps/resources/feedback/client/Client.js +3 -3
  185. package/dist/api/resources/steps/resources/messages/client/Client.d.ts +2 -2
  186. package/dist/api/resources/steps/resources/messages/client/Client.js +3 -3
  187. package/dist/api/resources/steps/resources/metrics/client/Client.d.ts +2 -2
  188. package/dist/api/resources/steps/resources/metrics/client/Client.js +3 -3
  189. package/dist/api/resources/steps/resources/trace/client/Client.d.ts +2 -2
  190. package/dist/api/resources/steps/resources/trace/client/Client.js +3 -3
  191. package/dist/api/resources/tags/client/Client.js +1 -1
  192. package/dist/api/resources/telemetry/client/Client.js +1 -1
  193. package/dist/api/resources/templates/client/Client.js +13 -13
  194. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  195. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfig.d.ts +1 -0
  196. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCalls.d.ts +5 -0
  197. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCalls.js +5 -0
  198. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCallsItem.d.ts +4 -0
  199. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCallsItem.js +5 -0
  200. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItem.d.ts +1 -0
  201. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecution.d.ts +5 -0
  202. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecution.js +5 -0
  203. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecutionItem.d.ts +4 -0
  204. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecutionItem.js +5 -0
  205. package/dist/api/resources/templates/types/index.d.ts +4 -0
  206. package/dist/api/resources/templates/types/index.js +4 -0
  207. package/dist/api/resources/tools/client/Client.d.ts +6 -6
  208. package/dist/api/resources/tools/client/Client.js +23 -23
  209. package/dist/api/resources/tools/client/requests/ToolUpdate.d.ts +2 -0
  210. package/dist/api/resources/voice/client/Client.js +1 -1
  211. package/dist/api/types/ApprovalRequestMessage.d.ts +2 -0
  212. package/dist/api/types/ApprovalRequestMessageToolCalls.d.ts +8 -0
  213. package/dist/api/types/ApprovalRequestMessageToolCalls.js +5 -0
  214. package/dist/api/types/InternalTemplateAgentCreate.d.ts +2 -0
  215. package/dist/api/types/LettaSchemasAgentFileAgentSchema.d.ts +2 -0
  216. package/dist/api/types/LettaSchemasAgentFileToolSchema.d.ts +2 -0
  217. package/dist/api/types/LlmConfig.d.ts +2 -0
  218. package/dist/api/types/RunMetrics.d.ts +2 -0
  219. package/dist/api/types/Tool.d.ts +2 -0
  220. package/dist/api/types/ToolCreate.d.ts +2 -0
  221. package/dist/api/types/index.d.ts +1 -0
  222. package/dist/api/types/index.js +1 -0
  223. package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -0
  224. package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.js +1 -0
  225. package/dist/serialization/resources/agents/client/requests/UpdateAgent.d.ts +1 -0
  226. package/dist/serialization/resources/agents/client/requests/UpdateAgent.js +1 -0
  227. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfig.d.ts +2 -0
  228. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfig.js +2 -0
  229. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCalls.d.ts +11 -0
  230. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCalls.js +47 -0
  231. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCallsItem.d.ts +10 -0
  232. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCallsItem.js +41 -0
  233. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItem.d.ts +2 -0
  234. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItem.js +2 -0
  235. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecution.d.ts +11 -0
  236. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecution.js +46 -0
  237. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecutionItem.d.ts +10 -0
  238. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecutionItem.js +41 -0
  239. package/dist/serialization/resources/templates/types/index.d.ts +4 -0
  240. package/dist/serialization/resources/templates/types/index.js +4 -0
  241. package/dist/serialization/resources/tools/client/requests/ToolUpdate.d.ts +1 -0
  242. package/dist/serialization/resources/tools/client/requests/ToolUpdate.js +1 -0
  243. package/dist/serialization/types/ApprovalRequestMessage.d.ts +2 -0
  244. package/dist/serialization/types/ApprovalRequestMessage.js +2 -0
  245. package/dist/serialization/types/ApprovalRequestMessageToolCalls.d.ts +12 -0
  246. package/dist/serialization/types/ApprovalRequestMessageToolCalls.js +43 -0
  247. package/dist/serialization/types/InternalTemplateAgentCreate.d.ts +1 -0
  248. package/dist/serialization/types/InternalTemplateAgentCreate.js +1 -0
  249. package/dist/serialization/types/LettaSchemasAgentFileAgentSchema.d.ts +1 -0
  250. package/dist/serialization/types/LettaSchemasAgentFileAgentSchema.js +1 -0
  251. package/dist/serialization/types/LettaSchemasAgentFileToolSchema.d.ts +1 -0
  252. package/dist/serialization/types/LettaSchemasAgentFileToolSchema.js +1 -0
  253. package/dist/serialization/types/LlmConfig.d.ts +1 -0
  254. package/dist/serialization/types/LlmConfig.js +1 -0
  255. package/dist/serialization/types/RunMetrics.d.ts +1 -0
  256. package/dist/serialization/types/RunMetrics.js +1 -0
  257. package/dist/serialization/types/Tool.d.ts +1 -0
  258. package/dist/serialization/types/Tool.js +1 -0
  259. package/dist/serialization/types/ToolCreate.d.ts +1 -0
  260. package/dist/serialization/types/ToolCreate.js +1 -0
  261. package/dist/serialization/types/index.d.ts +1 -0
  262. package/dist/serialization/types/index.js +1 -0
  263. package/dist/version.d.ts +1 -1
  264. package/dist/version.js +1 -1
  265. package/package.json +1 -1
  266. package/reference.md +235 -186
  267. package/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -0
  268. package/serialization/resources/agents/client/requests/CreateAgentRequest.js +1 -0
  269. package/serialization/resources/agents/client/requests/UpdateAgent.d.ts +1 -0
  270. package/serialization/resources/agents/client/requests/UpdateAgent.js +1 -0
  271. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfig.d.ts +2 -0
  272. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfig.js +2 -0
  273. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCalls.d.ts +11 -0
  274. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCalls.js +47 -0
  275. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCallsItem.d.ts +10 -0
  276. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCallsItem.js +41 -0
  277. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItem.d.ts +2 -0
  278. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItem.js +2 -0
  279. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecution.d.ts +11 -0
  280. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecution.js +46 -0
  281. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecutionItem.d.ts +10 -0
  282. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecutionItem.js +41 -0
  283. package/serialization/resources/templates/types/index.d.ts +4 -0
  284. package/serialization/resources/templates/types/index.js +4 -0
  285. package/serialization/resources/tools/client/requests/ToolUpdate.d.ts +1 -0
  286. package/serialization/resources/tools/client/requests/ToolUpdate.js +1 -0
  287. package/serialization/types/ApprovalRequestMessage.d.ts +2 -0
  288. package/serialization/types/ApprovalRequestMessage.js +2 -0
  289. package/serialization/types/ApprovalRequestMessageToolCalls.d.ts +12 -0
  290. package/serialization/types/ApprovalRequestMessageToolCalls.js +43 -0
  291. package/serialization/types/InternalTemplateAgentCreate.d.ts +1 -0
  292. package/serialization/types/InternalTemplateAgentCreate.js +1 -0
  293. package/serialization/types/LettaSchemasAgentFileAgentSchema.d.ts +1 -0
  294. package/serialization/types/LettaSchemasAgentFileAgentSchema.js +1 -0
  295. package/serialization/types/LettaSchemasAgentFileToolSchema.d.ts +1 -0
  296. package/serialization/types/LettaSchemasAgentFileToolSchema.js +1 -0
  297. package/serialization/types/LlmConfig.d.ts +1 -0
  298. package/serialization/types/LlmConfig.js +1 -0
  299. package/serialization/types/RunMetrics.d.ts +1 -0
  300. package/serialization/types/RunMetrics.js +1 -0
  301. package/serialization/types/Tool.d.ts +1 -0
  302. package/serialization/types/Tool.js +1 -0
  303. package/serialization/types/ToolCreate.d.ts +1 -0
  304. package/serialization/types/ToolCreate.js +1 -0
  305. package/serialization/types/index.d.ts +1 -0
  306. package/serialization/types/index.js +1 -0
  307. package/version.d.ts +1 -1
  308. package/version.js +1 -1
@@ -32,6 +32,8 @@ export interface LettaSchemasAgentFileToolSchema {
32
32
  npmRequirements?: Letta.NpmRequirement[];
33
33
  /** Default value for whether or not executing this tool requires approval. */
34
34
  defaultRequiresApproval?: boolean;
35
+ /** If set to True, then this tool will potentially be executed concurrently with other tools. Default False. */
36
+ enableParallelExecution?: boolean;
35
37
  /** The id of the user that made this Tool. */
36
38
  createdById?: string;
37
39
  /** The id of the user that made this Tool. */
@@ -44,4 +44,6 @@ export interface LlmConfig {
44
44
  verbosity?: Letta.LlmConfigVerbosity;
45
45
  /** The cost tier for the model (cloud only). */
46
46
  tier?: string;
47
+ /** If set to True, enables parallel tool calling. Defaults to False. */
48
+ parallelToolCalls?: boolean;
47
49
  }
@@ -14,6 +14,8 @@ export interface RunMetrics {
14
14
  runNs?: number;
15
15
  /** The number of steps in the run. */
16
16
  numSteps?: number;
17
+ /** List of tool IDs that were used in this run. */
18
+ toolsUsed?: string[];
17
19
  /** The template ID that the run belongs to (cloud only). */
18
20
  templateId?: string;
19
21
  /** The base template ID that the run belongs to (cloud only). */
@@ -39,6 +39,8 @@ export interface Tool {
39
39
  npmRequirements?: Letta.NpmRequirement[];
40
40
  /** Default value for whether or not executing this tool requires approval. */
41
41
  defaultRequiresApproval?: boolean;
42
+ /** If set to True, then this tool will potentially be executed concurrently with other tools. Default False. */
43
+ enableParallelExecution?: boolean;
42
44
  /** The id of the user that made this Tool. */
43
45
  createdById?: string;
44
46
  /** The id of the user that made this Tool. */
@@ -23,4 +23,6 @@ export interface ToolCreate {
23
23
  npmRequirements?: Letta.NpmRequirement[];
24
24
  /** Whether or not to require approval before executing this tool. */
25
25
  defaultRequiresApproval?: boolean;
26
+ /** If set to True, then this tool will potentially be executed concurrently with other tools. Default False. */
27
+ enableParallelExecution?: boolean;
26
28
  }
@@ -15,6 +15,7 @@ export * from "./AnnotationUrlCitation";
15
15
  export * from "./ApprovalCreateApprovalsItem";
16
16
  export * from "./ApprovalCreate";
17
17
  export * from "./ApprovalRequestMessageToolCall";
18
+ export * from "./ApprovalRequestMessageToolCalls";
18
19
  export * from "./ApprovalRequestMessage";
19
20
  export * from "./ApprovalResponseMessageApprovalsItem";
20
21
  export * from "./ApprovalResponseMessage";
@@ -31,6 +31,7 @@ __exportStar(require("./AnnotationUrlCitation"), exports);
31
31
  __exportStar(require("./ApprovalCreateApprovalsItem"), exports);
32
32
  __exportStar(require("./ApprovalCreate"), exports);
33
33
  __exportStar(require("./ApprovalRequestMessageToolCall"), exports);
34
+ __exportStar(require("./ApprovalRequestMessageToolCalls"), exports);
34
35
  __exportStar(require("./ApprovalRequestMessage"), exports);
35
36
  __exportStar(require("./ApprovalResponseMessageApprovalsItem"), exports);
36
37
  __exportStar(require("./ApprovalResponseMessage"), exports);
@@ -125,14 +125,14 @@ export declare class Agents {
125
125
  * - Legacy format (use_legacy_format=true): Single agent with inline tools/blocks
126
126
  * - New format (default): Multi-entity format with separate agents, tools, blocks, files, etc.
127
127
  *
128
- * @param {string} agentId
128
+ * @param {string} agentId - The ID of the agent in the format 'agent-<uuid4>'
129
129
  * @param {Letta.AgentsExportFileRequest} request
130
130
  * @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
131
131
  *
132
132
  * @throws {@link Letta.UnprocessableEntityError}
133
133
  *
134
134
  * @example
135
- * await client.agents.exportFile("agent_id", {
135
+ * await client.agents.exportFile("agent-123e4567-e89b-42d3-8456-426614174000", {
136
136
  * maxSteps: 1,
137
137
  * useLegacyFormat: true
138
138
  * })
@@ -159,41 +159,41 @@ export declare class Agents {
159
159
  /**
160
160
  * Get the state of the agent.
161
161
  *
162
- * @param {string} agentId
162
+ * @param {string} agentId - The ID of the agent in the format 'agent-<uuid4>'
163
163
  * @param {Letta.AgentsRetrieveRequest} request
164
164
  * @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
165
165
  *
166
166
  * @throws {@link Letta.UnprocessableEntityError}
167
167
  *
168
168
  * @example
169
- * await client.agents.retrieve("agent_id")
169
+ * await client.agents.retrieve("agent-123e4567-e89b-42d3-8456-426614174000")
170
170
  */
171
171
  retrieve(agentId: string, request?: Letta.AgentsRetrieveRequest, requestOptions?: Agents.RequestOptions): core.HttpResponsePromise<Letta.AgentState>;
172
172
  private __retrieve;
173
173
  /**
174
174
  * Delete an agent.
175
175
  *
176
- * @param {string} agentId
176
+ * @param {string} agentId - The ID of the agent in the format 'agent-<uuid4>'
177
177
  * @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
178
178
  *
179
179
  * @throws {@link Letta.UnprocessableEntityError}
180
180
  *
181
181
  * @example
182
- * await client.agents.delete("agent_id")
182
+ * await client.agents.delete("agent-123e4567-e89b-42d3-8456-426614174000")
183
183
  */
184
184
  delete(agentId: string, requestOptions?: Agents.RequestOptions): core.HttpResponsePromise<unknown>;
185
185
  private __delete;
186
186
  /**
187
187
  * Update an existing agent.
188
188
  *
189
- * @param {string} agentId
189
+ * @param {string} agentId - The ID of the agent in the format 'agent-<uuid4>'
190
190
  * @param {Letta.UpdateAgent} request
191
191
  * @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
192
192
  *
193
193
  * @throws {@link Letta.UnprocessableEntityError}
194
194
  *
195
195
  * @example
196
- * await client.agents.modify("agent_id")
196
+ * await client.agents.modify("agent-123e4567-e89b-42d3-8456-426614174000")
197
197
  */
198
198
  modify(agentId: string, request?: Letta.UpdateAgent, requestOptions?: Agents.RequestOptions): core.HttpResponsePromise<Letta.AgentState>;
199
199
  private __modify;
@@ -223,7 +223,7 @@ class Agents {
223
223
  method: "GET",
224
224
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
225
225
  ? yield core.Supplier.get(this._options.project)
226
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
226
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "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),
227
227
  contentType: "application/json",
228
228
  queryParameters: _queryParams,
229
229
  requestType: "json",
@@ -300,7 +300,7 @@ class Agents {
300
300
  method: "POST",
301
301
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
302
302
  ? yield core.Supplier.get(this._options.project)
303
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
303
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "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),
304
304
  contentType: "application/json",
305
305
  requestType: "json",
306
306
  body: serializers.CreateAgentRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -376,7 +376,7 @@ class Agents {
376
376
  method: "GET",
377
377
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
378
378
  ? yield core.Supplier.get(this._options.project)
379
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
379
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "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),
380
380
  contentType: "application/json",
381
381
  requestType: "json",
382
382
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -437,14 +437,14 @@ class Agents {
437
437
  * - Legacy format (use_legacy_format=true): Single agent with inline tools/blocks
438
438
  * - New format (default): Multi-entity format with separate agents, tools, blocks, files, etc.
439
439
  *
440
- * @param {string} agentId
440
+ * @param {string} agentId - The ID of the agent in the format 'agent-<uuid4>'
441
441
  * @param {Letta.AgentsExportFileRequest} request
442
442
  * @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
443
443
  *
444
444
  * @throws {@link Letta.UnprocessableEntityError}
445
445
  *
446
446
  * @example
447
- * await client.agents.exportFile("agent_id", {
447
+ * await client.agents.exportFile("agent-123e4567-e89b-42d3-8456-426614174000", {
448
448
  * maxSteps: 1,
449
449
  * useLegacyFormat: true
450
450
  * })
@@ -468,7 +468,7 @@ class Agents {
468
468
  method: "GET",
469
469
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
470
470
  ? yield core.Supplier.get(this._options.project)
471
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
471
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "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),
472
472
  contentType: "application/json",
473
473
  queryParameters: _queryParams,
474
474
  requestType: "json",
@@ -570,7 +570,7 @@ class Agents {
570
570
  method: "POST",
571
571
  headers: Object.assign(Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
572
572
  ? yield core.Supplier.get(this._options.project)
573
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-override-embedding-model": request.overrideEmbeddingModel != null ? request.overrideEmbeddingModel : undefined }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
573
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-override-embedding-model": request.overrideEmbeddingModel != null ? request.overrideEmbeddingModel : undefined }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
574
574
  requestType: "file",
575
575
  duplex: _maybeEncodedRequest.duplex,
576
576
  body: _maybeEncodedRequest.body,
@@ -628,14 +628,14 @@ class Agents {
628
628
  /**
629
629
  * Get the state of the agent.
630
630
  *
631
- * @param {string} agentId
631
+ * @param {string} agentId - The ID of the agent in the format 'agent-<uuid4>'
632
632
  * @param {Letta.AgentsRetrieveRequest} request
633
633
  * @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
634
634
  *
635
635
  * @throws {@link Letta.UnprocessableEntityError}
636
636
  *
637
637
  * @example
638
- * await client.agents.retrieve("agent_id")
638
+ * await client.agents.retrieve("agent-123e4567-e89b-42d3-8456-426614174000")
639
639
  */
640
640
  retrieve(agentId, request = {}, requestOptions) {
641
641
  return core.HttpResponsePromise.fromPromise(this.__retrieve(agentId, request, requestOptions));
@@ -658,7 +658,7 @@ class Agents {
658
658
  method: "GET",
659
659
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
660
660
  ? yield core.Supplier.get(this._options.project)
661
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
661
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "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),
662
662
  contentType: "application/json",
663
663
  queryParameters: _queryParams,
664
664
  requestType: "json",
@@ -716,13 +716,13 @@ class Agents {
716
716
  /**
717
717
  * Delete an agent.
718
718
  *
719
- * @param {string} agentId
719
+ * @param {string} agentId - The ID of the agent in the format 'agent-<uuid4>'
720
720
  * @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
721
721
  *
722
722
  * @throws {@link Letta.UnprocessableEntityError}
723
723
  *
724
724
  * @example
725
- * await client.agents.delete("agent_id")
725
+ * await client.agents.delete("agent-123e4567-e89b-42d3-8456-426614174000")
726
726
  */
727
727
  delete(agentId, requestOptions) {
728
728
  return core.HttpResponsePromise.fromPromise(this.__delete(agentId, requestOptions));
@@ -735,7 +735,7 @@ class Agents {
735
735
  method: "DELETE",
736
736
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
737
737
  ? yield core.Supplier.get(this._options.project)
738
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
738
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "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),
739
739
  contentType: "application/json",
740
740
  requestType: "json",
741
741
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -783,14 +783,14 @@ class Agents {
783
783
  /**
784
784
  * Update an existing agent.
785
785
  *
786
- * @param {string} agentId
786
+ * @param {string} agentId - The ID of the agent in the format 'agent-<uuid4>'
787
787
  * @param {Letta.UpdateAgent} request
788
788
  * @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
789
789
  *
790
790
  * @throws {@link Letta.UnprocessableEntityError}
791
791
  *
792
792
  * @example
793
- * await client.agents.modify("agent_id")
793
+ * await client.agents.modify("agent-123e4567-e89b-42d3-8456-426614174000")
794
794
  */
795
795
  modify(agentId, request = {}, requestOptions) {
796
796
  return core.HttpResponsePromise.fromPromise(this.__modify(agentId, request, requestOptions));
@@ -803,7 +803,7 @@ class Agents {
803
803
  method: "PATCH",
804
804
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
805
805
  ? yield core.Supplier.get(this._options.project)
806
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
806
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "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),
807
807
  contentType: "application/json",
808
808
  requestType: "json",
809
809
  body: serializers.UpdateAgent.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -880,7 +880,7 @@ class Agents {
880
880
  method: "POST",
881
881
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
882
882
  ? yield core.Supplier.get(this._options.project)
883
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
883
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "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),
884
884
  contentType: "application/json",
885
885
  requestType: "json",
886
886
  body: serializers.AgentsSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -95,4 +95,6 @@ export interface CreateAgentRequest {
95
95
  perFileViewWindowCharLimit?: number;
96
96
  /** If set to True, the agent will be hidden. */
97
97
  hidden?: boolean;
98
+ /** If set to True, enables parallel tool calling. Defaults to False. */
99
+ parallelToolCalls?: boolean;
98
100
  }
@@ -67,4 +67,6 @@ export interface UpdateAgent {
67
67
  perFileViewWindowCharLimit?: number;
68
68
  /** If set to True, the agent will be hidden. */
69
69
  hidden?: boolean;
70
+ /** If set to True, enables parallel tool calling. Defaults to False. */
71
+ parallelToolCalls?: boolean;
70
72
  }
@@ -34,13 +34,13 @@ export declare class Blocks {
34
34
  * Retrieve a core memory block from an agent.
35
35
  *
36
36
  * @param {string} agentId
37
- * @param {string} blockLabel
37
+ * @param {string} blockLabel - The ID of the agent in the format 'agent-<uuid4>'
38
38
  * @param {Blocks.RequestOptions} requestOptions - Request-specific configuration.
39
39
  *
40
40
  * @throws {@link Letta.UnprocessableEntityError}
41
41
  *
42
42
  * @example
43
- * await client.agents.blocks.retrieve("agent_id", "block_label")
43
+ * await client.agents.blocks.retrieve("agent_id", "agent-123e4567-e89b-42d3-8456-426614174000")
44
44
  */
45
45
  retrieve(agentId: string, blockLabel: string, requestOptions?: Blocks.RequestOptions): core.HttpResponsePromise<Letta.Block>;
46
46
  private __retrieve;
@@ -48,28 +48,28 @@ export declare class Blocks {
48
48
  * Updates a core memory block of an agent.
49
49
  *
50
50
  * @param {string} agentId
51
- * @param {string} blockLabel
51
+ * @param {string} blockLabel - The ID of the agent in the format 'agent-<uuid4>'
52
52
  * @param {Letta.BlockUpdate} request
53
53
  * @param {Blocks.RequestOptions} requestOptions - Request-specific configuration.
54
54
  *
55
55
  * @throws {@link Letta.UnprocessableEntityError}
56
56
  *
57
57
  * @example
58
- * await client.agents.blocks.modify("agent_id", "block_label", {})
58
+ * await client.agents.blocks.modify("agent_id", "agent-123e4567-e89b-42d3-8456-426614174000", {})
59
59
  */
60
60
  modify(agentId: string, blockLabel: string, request: Letta.BlockUpdate, requestOptions?: Blocks.RequestOptions): core.HttpResponsePromise<Letta.Block>;
61
61
  private __modify;
62
62
  /**
63
63
  * Retrieve the core memory blocks of a specific agent.
64
64
  *
65
- * @param {string} agentId
65
+ * @param {string} agentId - The ID of the agent in the format 'agent-<uuid4>'
66
66
  * @param {Letta.agents.BlocksListRequest} request
67
67
  * @param {Blocks.RequestOptions} requestOptions - Request-specific configuration.
68
68
  *
69
69
  * @throws {@link Letta.UnprocessableEntityError}
70
70
  *
71
71
  * @example
72
- * await client.agents.blocks.list("agent_id", {
72
+ * await client.agents.blocks.list("agent-123e4567-e89b-42d3-8456-426614174000", {
73
73
  * before: "before",
74
74
  * after: "after",
75
75
  * limit: 1,
@@ -82,28 +82,28 @@ export declare class Blocks {
82
82
  /**
83
83
  * Attach a core memory block to an agent.
84
84
  *
85
- * @param {string} agentId
86
- * @param {string} blockId
85
+ * @param {string} agentId - The ID of the block in the format 'block-<uuid4>'
86
+ * @param {string} blockId - The ID of the agent in the format 'agent-<uuid4>'
87
87
  * @param {Blocks.RequestOptions} requestOptions - Request-specific configuration.
88
88
  *
89
89
  * @throws {@link Letta.UnprocessableEntityError}
90
90
  *
91
91
  * @example
92
- * await client.agents.blocks.attach("agent_id", "block_id")
92
+ * await client.agents.blocks.attach("block-123e4567-e89b-42d3-8456-426614174000", "agent-123e4567-e89b-42d3-8456-426614174000")
93
93
  */
94
94
  attach(agentId: string, blockId: string, requestOptions?: Blocks.RequestOptions): core.HttpResponsePromise<Letta.AgentState>;
95
95
  private __attach;
96
96
  /**
97
97
  * Detach a core memory block from an agent.
98
98
  *
99
- * @param {string} agentId
100
- * @param {string} blockId
99
+ * @param {string} agentId - The ID of the block in the format 'block-<uuid4>'
100
+ * @param {string} blockId - The ID of the agent in the format 'agent-<uuid4>'
101
101
  * @param {Blocks.RequestOptions} requestOptions - Request-specific configuration.
102
102
  *
103
103
  * @throws {@link Letta.UnprocessableEntityError}
104
104
  *
105
105
  * @example
106
- * await client.agents.blocks.detach("agent_id", "block_id")
106
+ * await client.agents.blocks.detach("block-123e4567-e89b-42d3-8456-426614174000", "agent-123e4567-e89b-42d3-8456-426614174000")
107
107
  */
108
108
  detach(agentId: string, blockId: string, requestOptions?: Blocks.RequestOptions): core.HttpResponsePromise<Letta.AgentState>;
109
109
  private __detach;
@@ -63,13 +63,13 @@ class Blocks {
63
63
  * Retrieve a core memory block from an agent.
64
64
  *
65
65
  * @param {string} agentId
66
- * @param {string} blockLabel
66
+ * @param {string} blockLabel - The ID of the agent in the format 'agent-<uuid4>'
67
67
  * @param {Blocks.RequestOptions} requestOptions - Request-specific configuration.
68
68
  *
69
69
  * @throws {@link Letta.UnprocessableEntityError}
70
70
  *
71
71
  * @example
72
- * await client.agents.blocks.retrieve("agent_id", "block_label")
72
+ * await client.agents.blocks.retrieve("agent_id", "agent-123e4567-e89b-42d3-8456-426614174000")
73
73
  */
74
74
  retrieve(agentId, blockLabel, requestOptions) {
75
75
  return core.HttpResponsePromise.fromPromise(this.__retrieve(agentId, blockLabel, requestOptions));
@@ -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": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "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,
@@ -140,14 +140,14 @@ class Blocks {
140
140
  * Updates a core memory block of an agent.
141
141
  *
142
142
  * @param {string} agentId
143
- * @param {string} blockLabel
143
+ * @param {string} blockLabel - The ID of the agent in the format 'agent-<uuid4>'
144
144
  * @param {Letta.BlockUpdate} request
145
145
  * @param {Blocks.RequestOptions} requestOptions - Request-specific configuration.
146
146
  *
147
147
  * @throws {@link Letta.UnprocessableEntityError}
148
148
  *
149
149
  * @example
150
- * await client.agents.blocks.modify("agent_id", "block_label", {})
150
+ * await client.agents.blocks.modify("agent_id", "agent-123e4567-e89b-42d3-8456-426614174000", {})
151
151
  */
152
152
  modify(agentId, blockLabel, request, requestOptions) {
153
153
  return core.HttpResponsePromise.fromPromise(this.__modify(agentId, blockLabel, request, requestOptions));
@@ -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": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "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" }),
@@ -218,14 +218,14 @@ class Blocks {
218
218
  /**
219
219
  * Retrieve the core memory blocks of a specific agent.
220
220
  *
221
- * @param {string} agentId
221
+ * @param {string} agentId - The ID of the agent in the format 'agent-<uuid4>'
222
222
  * @param {Letta.agents.BlocksListRequest} request
223
223
  * @param {Blocks.RequestOptions} requestOptions - Request-specific configuration.
224
224
  *
225
225
  * @throws {@link Letta.UnprocessableEntityError}
226
226
  *
227
227
  * @example
228
- * await client.agents.blocks.list("agent_id", {
228
+ * await client.agents.blocks.list("agent-123e4567-e89b-42d3-8456-426614174000", {
229
229
  * before: "before",
230
230
  * after: "after",
231
231
  * limit: 1,
@@ -263,7 +263,7 @@ class Blocks {
263
263
  method: "GET",
264
264
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
265
265
  ? yield core.Supplier.get(this._options.project)
266
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
266
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "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),
267
267
  contentType: "application/json",
268
268
  queryParameters: _queryParams,
269
269
  requestType: "json",
@@ -321,14 +321,14 @@ class Blocks {
321
321
  /**
322
322
  * Attach a core memory block to an agent.
323
323
  *
324
- * @param {string} agentId
325
- * @param {string} blockId
324
+ * @param {string} agentId - The ID of the block in the format 'block-<uuid4>'
325
+ * @param {string} blockId - The ID of the agent in the format 'agent-<uuid4>'
326
326
  * @param {Blocks.RequestOptions} requestOptions - Request-specific configuration.
327
327
  *
328
328
  * @throws {@link Letta.UnprocessableEntityError}
329
329
  *
330
330
  * @example
331
- * await client.agents.blocks.attach("agent_id", "block_id")
331
+ * await client.agents.blocks.attach("block-123e4567-e89b-42d3-8456-426614174000", "agent-123e4567-e89b-42d3-8456-426614174000")
332
332
  */
333
333
  attach(agentId, blockId, requestOptions) {
334
334
  return core.HttpResponsePromise.fromPromise(this.__attach(agentId, blockId, requestOptions));
@@ -341,7 +341,7 @@ class Blocks {
341
341
  method: "PATCH",
342
342
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
343
343
  ? yield core.Supplier.get(this._options.project)
344
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
344
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "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),
345
345
  contentType: "application/json",
346
346
  requestType: "json",
347
347
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -398,14 +398,14 @@ class Blocks {
398
398
  /**
399
399
  * Detach a core memory block from an agent.
400
400
  *
401
- * @param {string} agentId
402
- * @param {string} blockId
401
+ * @param {string} agentId - The ID of the block in the format 'block-<uuid4>'
402
+ * @param {string} blockId - The ID of the agent in the format 'agent-<uuid4>'
403
403
  * @param {Blocks.RequestOptions} requestOptions - Request-specific configuration.
404
404
  *
405
405
  * @throws {@link Letta.UnprocessableEntityError}
406
406
  *
407
407
  * @example
408
- * await client.agents.blocks.detach("agent_id", "block_id")
408
+ * await client.agents.blocks.detach("block-123e4567-e89b-42d3-8456-426614174000", "agent-123e4567-e89b-42d3-8456-426614174000")
409
409
  */
410
410
  detach(agentId, blockId, requestOptions) {
411
411
  return core.HttpResponsePromise.fromPromise(this.__detach(agentId, blockId, requestOptions));
@@ -418,7 +418,7 @@ class Blocks {
418
418
  method: "PATCH",
419
419
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
420
420
  ? yield core.Supplier.get(this._options.project)
421
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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),
421
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "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),
422
422
  contentType: "application/json",
423
423
  requestType: "json",
424
424
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -33,13 +33,13 @@ export declare class Context {
33
33
  /**
34
34
  * Retrieve the context window of a specific agent.
35
35
  *
36
- * @param {string} agentId
36
+ * @param {string} agentId - The ID of the agent in the format 'agent-<uuid4>'
37
37
  * @param {Context.RequestOptions} requestOptions - Request-specific configuration.
38
38
  *
39
39
  * @throws {@link Letta.UnprocessableEntityError}
40
40
  *
41
41
  * @example
42
- * await client.agents.context.retrieve("agent_id")
42
+ * await client.agents.context.retrieve("agent-123e4567-e89b-42d3-8456-426614174000")
43
43
  */
44
44
  retrieve(agentId: string, requestOptions?: Context.RequestOptions): core.HttpResponsePromise<Letta.ContextWindowOverview>;
45
45
  private __retrieve;
@@ -62,13 +62,13 @@ class Context {
62
62
  /**
63
63
  * Retrieve the context window of a specific agent.
64
64
  *
65
- * @param {string} agentId
65
+ * @param {string} agentId - The ID of the agent in the format 'agent-<uuid4>'
66
66
  * @param {Context.RequestOptions} requestOptions - Request-specific configuration.
67
67
  *
68
68
  * @throws {@link Letta.UnprocessableEntityError}
69
69
  *
70
70
  * @example
71
- * await client.agents.context.retrieve("agent_id")
71
+ * await client.agents.context.retrieve("agent-123e4567-e89b-42d3-8456-426614174000")
72
72
  */
73
73
  retrieve(agentId, requestOptions) {
74
74
  return core.HttpResponsePromise.fromPromise(this.__retrieve(agentId, requestOptions));
@@ -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": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "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,
@@ -34,13 +34,13 @@ export declare class CoreMemory {
34
34
  * Retrieve the memory state of a specific agent.
35
35
  * This endpoint fetches the current memory state of the agent identified by the user ID and agent ID.
36
36
  *
37
- * @param {string} agentId
37
+ * @param {string} agentId - The ID of the agent in the format 'agent-<uuid4>'
38
38
  * @param {CoreMemory.RequestOptions} requestOptions - Request-specific configuration.
39
39
  *
40
40
  * @throws {@link Letta.UnprocessableEntityError}
41
41
  *
42
42
  * @example
43
- * await client.agents.coreMemory.retrieve("agent_id")
43
+ * await client.agents.coreMemory.retrieve("agent-123e4567-e89b-42d3-8456-426614174000")
44
44
  */
45
45
  retrieve(agentId: string, requestOptions?: CoreMemory.RequestOptions): core.HttpResponsePromise<Letta.Memory>;
46
46
  private __retrieve;
@@ -63,13 +63,13 @@ class CoreMemory {
63
63
  * Retrieve the memory state of a specific agent.
64
64
  * This endpoint fetches the current memory state of the agent identified by the user ID and agent ID.
65
65
  *
66
- * @param {string} agentId
66
+ * @param {string} agentId - The ID of the agent in the format 'agent-<uuid4>'
67
67
  * @param {CoreMemory.RequestOptions} requestOptions - Request-specific configuration.
68
68
  *
69
69
  * @throws {@link Letta.UnprocessableEntityError}
70
70
  *
71
71
  * @example
72
- * await client.agents.coreMemory.retrieve("agent_id")
72
+ * await client.agents.coreMemory.retrieve("agent-123e4567-e89b-42d3-8456-426614174000")
73
73
  */
74
74
  retrieve(agentId, requestOptions) {
75
75
  return core.HttpResponsePromise.fromPromise(this.__retrieve(agentId, requestOptions));
@@ -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": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "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": "1.0.0-alpha.5", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.5", "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,