@letta-ai/letta-client 0.1.172 → 0.1.173

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 (195) hide show
  1. package/api/resources/agents/client/Client.js +10 -10
  2. package/api/resources/agents/client/requests/AgentsListRequest.d.ts +1 -1
  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.js +5 -5
  6. package/api/resources/agents/resources/context/client/Client.js +1 -1
  7. package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  8. package/api/resources/agents/resources/files/client/Client.js +3 -3
  9. package/api/resources/agents/resources/folders/client/Client.js +3 -3
  10. package/api/resources/agents/resources/groups/client/Client.js +1 -1
  11. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  12. package/api/resources/agents/resources/messages/client/Client.js +8 -8
  13. package/api/resources/agents/resources/passages/client/Client.js +4 -4
  14. package/api/resources/agents/resources/passages/client/requests/PassageUpdate.d.ts +2 -2
  15. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  16. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  17. package/api/resources/agents/resources/tools/client/Client.js +3 -3
  18. package/api/resources/batches/client/Client.js +4 -4
  19. package/api/resources/blocks/client/Client.js +6 -6
  20. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  21. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  22. package/api/resources/embeddingModels/client/Client.js +1 -1
  23. package/api/resources/folders/client/Client.js +9 -9
  24. package/api/resources/folders/resources/files/client/Client.js +3 -3
  25. package/api/resources/folders/resources/passages/client/Client.js +1 -1
  26. package/api/resources/groups/client/Client.js +6 -6
  27. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  28. package/api/resources/health/client/Client.js +1 -1
  29. package/api/resources/identities/client/Client.js +7 -7
  30. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  31. package/api/resources/jobs/client/Client.js +5 -5
  32. package/api/resources/messages/client/Client.js +1 -1
  33. package/api/resources/models/client/Client.js +1 -1
  34. package/api/resources/projects/client/Client.js +1 -1
  35. package/api/resources/providers/client/Client.js +5 -5
  36. package/api/resources/runs/client/Client.js +4 -4
  37. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  38. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  39. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  40. package/api/resources/sources/client/Client.js +10 -10
  41. package/api/resources/sources/resources/files/client/Client.js +3 -3
  42. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  43. package/api/resources/steps/client/Client.js +2 -2
  44. package/api/resources/steps/resources/feedback/client/Client.js +1 -1
  45. package/api/resources/tags/client/Client.js +1 -1
  46. package/api/resources/telemetry/client/Client.js +1 -1
  47. package/api/resources/templates/client/Client.js +1 -1
  48. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  49. package/api/resources/tools/client/Client.js +20 -20
  50. package/api/resources/tools/client/requests/ToolRunFromSource.d.ts +2 -0
  51. package/api/resources/tools/client/requests/ToolUpdate.d.ts +2 -0
  52. package/api/resources/voice/client/Client.js +1 -1
  53. package/api/types/AgentState.d.ts +2 -0
  54. package/api/types/EmbeddingConfig.d.ts +1 -11
  55. package/api/types/LlmConfig.d.ts +1 -11
  56. package/api/types/ModalSandboxConfig.d.ts +4 -0
  57. package/api/types/ModalSandboxConfigLanguage.d.ts +8 -0
  58. package/api/types/ModalSandboxConfigLanguage.js +10 -0
  59. package/api/types/NpmRequirement.d.ts +9 -0
  60. package/api/types/NpmRequirement.js +5 -0
  61. package/api/types/Passage.d.ts +4 -4
  62. package/api/types/Tool.d.ts +2 -0
  63. package/api/types/ToolCreate.d.ts +2 -0
  64. package/api/types/ToolType.d.ts +2 -1
  65. package/api/types/ToolType.js +1 -0
  66. package/api/types/index.d.ts +2 -0
  67. package/api/types/index.js +2 -0
  68. package/dist/api/resources/agents/client/Client.js +10 -10
  69. package/dist/api/resources/agents/client/requests/AgentsListRequest.d.ts +1 -1
  70. package/dist/api/resources/agents/client/requests/CreateAgentRequest.d.ts +2 -0
  71. package/dist/api/resources/agents/client/requests/UpdateAgent.d.ts +2 -0
  72. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  73. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  74. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  75. package/dist/api/resources/agents/resources/files/client/Client.js +3 -3
  76. package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
  77. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  78. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  79. package/dist/api/resources/agents/resources/messages/client/Client.js +8 -8
  80. package/dist/api/resources/agents/resources/passages/client/Client.js +4 -4
  81. package/dist/api/resources/agents/resources/passages/client/requests/PassageUpdate.d.ts +2 -2
  82. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  83. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  84. package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
  85. package/dist/api/resources/batches/client/Client.js +4 -4
  86. package/dist/api/resources/blocks/client/Client.js +6 -6
  87. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  88. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  89. package/dist/api/resources/embeddingModels/client/Client.js +1 -1
  90. package/dist/api/resources/folders/client/Client.js +9 -9
  91. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  92. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  93. package/dist/api/resources/groups/client/Client.js +6 -6
  94. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  95. package/dist/api/resources/health/client/Client.js +1 -1
  96. package/dist/api/resources/identities/client/Client.js +7 -7
  97. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  98. package/dist/api/resources/jobs/client/Client.js +5 -5
  99. package/dist/api/resources/messages/client/Client.js +1 -1
  100. package/dist/api/resources/models/client/Client.js +1 -1
  101. package/dist/api/resources/projects/client/Client.js +1 -1
  102. package/dist/api/resources/providers/client/Client.js +5 -5
  103. package/dist/api/resources/runs/client/Client.js +4 -4
  104. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  105. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  106. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  107. package/dist/api/resources/sources/client/Client.js +10 -10
  108. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  109. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  110. package/dist/api/resources/steps/client/Client.js +2 -2
  111. package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
  112. package/dist/api/resources/tags/client/Client.js +1 -1
  113. package/dist/api/resources/telemetry/client/Client.js +1 -1
  114. package/dist/api/resources/templates/client/Client.js +1 -1
  115. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  116. package/dist/api/resources/tools/client/Client.js +20 -20
  117. package/dist/api/resources/tools/client/requests/ToolRunFromSource.d.ts +2 -0
  118. package/dist/api/resources/tools/client/requests/ToolUpdate.d.ts +2 -0
  119. package/dist/api/resources/voice/client/Client.js +1 -1
  120. package/dist/api/types/AgentState.d.ts +2 -0
  121. package/dist/api/types/EmbeddingConfig.d.ts +1 -11
  122. package/dist/api/types/LlmConfig.d.ts +1 -11
  123. package/dist/api/types/ModalSandboxConfig.d.ts +4 -0
  124. package/dist/api/types/ModalSandboxConfigLanguage.d.ts +8 -0
  125. package/dist/api/types/ModalSandboxConfigLanguage.js +10 -0
  126. package/dist/api/types/NpmRequirement.d.ts +9 -0
  127. package/dist/api/types/NpmRequirement.js +5 -0
  128. package/dist/api/types/Passage.d.ts +4 -4
  129. package/dist/api/types/Tool.d.ts +2 -0
  130. package/dist/api/types/ToolCreate.d.ts +2 -0
  131. package/dist/api/types/ToolType.d.ts +2 -1
  132. package/dist/api/types/ToolType.js +1 -0
  133. package/dist/api/types/index.d.ts +2 -0
  134. package/dist/api/types/index.js +2 -0
  135. package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -0
  136. package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.js +1 -0
  137. package/dist/serialization/resources/agents/client/requests/UpdateAgent.d.ts +1 -0
  138. package/dist/serialization/resources/agents/client/requests/UpdateAgent.js +1 -0
  139. package/dist/serialization/resources/agents/resources/passages/client/requests/PassageUpdate.d.ts +1 -1
  140. package/dist/serialization/resources/agents/resources/passages/client/requests/PassageUpdate.js +1 -1
  141. package/dist/serialization/resources/tools/client/requests/ToolRunFromSource.d.ts +2 -0
  142. package/dist/serialization/resources/tools/client/requests/ToolRunFromSource.js +2 -0
  143. package/dist/serialization/resources/tools/client/requests/ToolUpdate.d.ts +2 -0
  144. package/dist/serialization/resources/tools/client/requests/ToolUpdate.js +2 -0
  145. package/dist/serialization/types/AgentState.d.ts +1 -0
  146. package/dist/serialization/types/AgentState.js +1 -0
  147. package/dist/serialization/types/ModalSandboxConfig.d.ts +3 -0
  148. package/dist/serialization/types/ModalSandboxConfig.js +3 -0
  149. package/dist/serialization/types/ModalSandboxConfigLanguage.d.ts +10 -0
  150. package/dist/serialization/types/ModalSandboxConfigLanguage.js +41 -0
  151. package/dist/serialization/types/NpmRequirement.d.ts +13 -0
  152. package/dist/serialization/types/NpmRequirement.js +44 -0
  153. package/dist/serialization/types/Passage.d.ts +1 -1
  154. package/dist/serialization/types/Passage.js +1 -1
  155. package/dist/serialization/types/Tool.d.ts +2 -0
  156. package/dist/serialization/types/Tool.js +2 -0
  157. package/dist/serialization/types/ToolCreate.d.ts +2 -0
  158. package/dist/serialization/types/ToolCreate.js +2 -0
  159. package/dist/serialization/types/ToolType.d.ts +1 -1
  160. package/dist/serialization/types/ToolType.js +1 -0
  161. package/dist/serialization/types/index.d.ts +2 -0
  162. package/dist/serialization/types/index.js +2 -0
  163. package/dist/version.d.ts +1 -1
  164. package/dist/version.js +1 -1
  165. package/package.json +1 -1
  166. package/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -0
  167. package/serialization/resources/agents/client/requests/CreateAgentRequest.js +1 -0
  168. package/serialization/resources/agents/client/requests/UpdateAgent.d.ts +1 -0
  169. package/serialization/resources/agents/client/requests/UpdateAgent.js +1 -0
  170. package/serialization/resources/agents/resources/passages/client/requests/PassageUpdate.d.ts +1 -1
  171. package/serialization/resources/agents/resources/passages/client/requests/PassageUpdate.js +1 -1
  172. package/serialization/resources/tools/client/requests/ToolRunFromSource.d.ts +2 -0
  173. package/serialization/resources/tools/client/requests/ToolRunFromSource.js +2 -0
  174. package/serialization/resources/tools/client/requests/ToolUpdate.d.ts +2 -0
  175. package/serialization/resources/tools/client/requests/ToolUpdate.js +2 -0
  176. package/serialization/types/AgentState.d.ts +1 -0
  177. package/serialization/types/AgentState.js +1 -0
  178. package/serialization/types/ModalSandboxConfig.d.ts +3 -0
  179. package/serialization/types/ModalSandboxConfig.js +3 -0
  180. package/serialization/types/ModalSandboxConfigLanguage.d.ts +10 -0
  181. package/serialization/types/ModalSandboxConfigLanguage.js +41 -0
  182. package/serialization/types/NpmRequirement.d.ts +13 -0
  183. package/serialization/types/NpmRequirement.js +44 -0
  184. package/serialization/types/Passage.d.ts +1 -1
  185. package/serialization/types/Passage.js +1 -1
  186. package/serialization/types/Tool.d.ts +2 -0
  187. package/serialization/types/Tool.js +2 -0
  188. package/serialization/types/ToolCreate.d.ts +2 -0
  189. package/serialization/types/ToolCreate.js +2 -0
  190. package/serialization/types/ToolType.d.ts +1 -1
  191. package/serialization/types/ToolType.js +1 -0
  192. package/serialization/types/index.d.ts +2 -0
  193. package/serialization/types/index.js +2 -0
  194. package/version.d.ts +1 -1
  195. package/version.js +1 -1
@@ -85,7 +85,7 @@ class Voice {
85
85
  method: "POST",
86
86
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
87
87
  ? yield core.Supplier.get(this._options.project)
88
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "user-id": userId != null ? userId : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
88
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "user-id": userId != null ? userId : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
89
89
  contentType: "application/json",
90
90
  requestType: "json",
91
91
  body: serializers.voice.createVoiceChatCompletions.Request.jsonOrThrow(_body, {
@@ -81,4 +81,6 @@ export interface AgentState {
81
81
  maxFilesOpen?: number;
82
82
  /** The per-file view window character limit for this agent. Setting this too high may exceed the context window, which will break the agent. */
83
83
  perFileViewWindowCharLimit?: number;
84
+ /** If set to True, the agent will be hidden. */
85
+ hidden?: boolean;
84
86
  }
@@ -3,17 +3,7 @@
3
3
  */
4
4
  import * as Letta from "../index";
5
5
  /**
6
- * Embedding model configuration. This object specifies all the information necessary to access an embedding model to usage with Letta, except for secret keys.
7
- *
8
- * Attributes:
9
- * embedding_endpoint_type (str): The endpoint type for the model.
10
- * embedding_endpoint (str): The endpoint for the model.
11
- * embedding_model (str): The model for the embedding.
12
- * embedding_dim (int): The dimension of the embedding.
13
- * embedding_chunk_size (int): The chunk size of the embedding.
14
- * azure_endpoint (:obj:`str`, optional): The Azure endpoint for the model (Azure only).
15
- * azure_version (str): The Azure version for the model (Azure only).
16
- * azure_deployment (str): The Azure deployment for the model (Azure only).
6
+ * Configuration for embedding model connection and processing parameters.
17
7
  */
18
8
  export interface EmbeddingConfig {
19
9
  /** The endpoint type for the model. */
@@ -3,17 +3,7 @@
3
3
  */
4
4
  import * as Letta from "../index";
5
5
  /**
6
- * Configuration for a Language Model (LLM) model. This object specifies all the information necessary to access an LLM model to usage with Letta, except for secret keys.
7
- *
8
- * Attributes:
9
- * model (str): The name of the LLM model.
10
- * model_endpoint_type (str): The endpoint type for the model.
11
- * model_endpoint (str): The endpoint for the model.
12
- * model_wrapper (str): The wrapper for the model. This is used to wrap additional text around the input/output of the model. This is useful for text-to-text completions, such as the Completions API in OpenAI.
13
- * context_window (int): The context window size for the model.
14
- * put_inner_thoughts_in_kwargs (bool): Puts `inner_thoughts` as a kwarg in the function call if this is set to True. This helps with function calling performance and also the generation of inner thoughts.
15
- * temperature (float): The temperature to use when generating text with the model. A higher temperature will result in more random text.
16
- * max_tokens (int): The maximum number of tokens to generate.
6
+ * Configuration for Language Model (LLM) connection and generation parameters.
17
7
  */
18
8
  export interface LlmConfig {
19
9
  /** LLM model name. */
@@ -1,9 +1,13 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Letta from "../index";
4
5
  export interface ModalSandboxConfig {
5
6
  /** Time limit for the sandbox (in seconds). */
6
7
  timeout?: number;
7
8
  /** A list of pip packages to install in the Modal sandbox */
8
9
  pipRequirements?: string[];
10
+ /** A list of npm packages to install in the Modal sandbox */
11
+ npmRequirements?: string[];
12
+ language?: Letta.ModalSandboxConfigLanguage;
9
13
  }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type ModalSandboxConfigLanguage = "python" | "typescript";
5
+ export declare const ModalSandboxConfigLanguage: {
6
+ readonly Python: "python";
7
+ readonly Typescript: "typescript";
8
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ModalSandboxConfigLanguage = void 0;
7
+ exports.ModalSandboxConfigLanguage = {
8
+ Python: "python",
9
+ Typescript: "typescript",
10
+ };
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface NpmRequirement {
5
+ /** Name of the npm package. */
6
+ name: string;
7
+ /** Optional version of the package, following semantic versioning. */
8
+ version?: string;
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 });
@@ -10,8 +10,8 @@ import * as Letta from "../index";
10
10
  * embedding (List[float]): The embedding of the passage.
11
11
  * embedding_config (EmbeddingConfig): The embedding configuration used by the passage.
12
12
  * created_at (datetime): The creation date of the passage.
13
- * user_id (str): The unique identifier of the user associated with the passage.
14
- * agent_id (str): The unique identifier of the agent associated with the passage.
13
+ * organization_id (str): The unique identifier of the organization associated with the passage.
14
+ * archive_id (str): The unique identifier of the archive containing this passage.
15
15
  * source_id (str): The data source of the passage.
16
16
  * file_id (str): The unique identifier of the file associated with the passage.
17
17
  */
@@ -26,8 +26,8 @@ export interface Passage {
26
26
  updatedAt?: Date;
27
27
  /** Whether this passage is deleted or not. */
28
28
  isDeleted?: boolean;
29
- /** The unique identifier of the agent associated with the passage. */
30
- agentId?: string;
29
+ /** The unique identifier of the archive containing this passage. */
30
+ archiveId?: string;
31
31
  /** The data source of the passage. */
32
32
  sourceId?: string;
33
33
  /** The unique identifier of the file associated with the passage. */
@@ -35,6 +35,8 @@ export interface Tool {
35
35
  returnCharLimit?: number;
36
36
  /** Optional list of pip packages required by this tool. */
37
37
  pipRequirements?: Letta.PipRequirement[];
38
+ /** Optional list of npm packages required by this tool. */
39
+ npmRequirements?: Letta.NpmRequirement[];
38
40
  /** The id of the user that made this Tool. */
39
41
  createdById?: string;
40
42
  /** The id of the user that made this Tool. */
@@ -19,4 +19,6 @@ export interface ToolCreate {
19
19
  returnCharLimit?: number;
20
20
  /** Optional list of pip packages required by this tool. */
21
21
  pipRequirements?: Letta.PipRequirement[];
22
+ /** Optional list of npm packages required by this tool. */
23
+ npmRequirements?: Letta.NpmRequirement[];
22
24
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type ToolType = "custom" | "letta_core" | "letta_memory_core" | "letta_multi_agent_core" | "letta_sleeptime_core" | "letta_voice_sleeptime_core" | "letta_builtin" | "letta_files_core" | "external_composio" | "external_mcp";
4
+ export type ToolType = "custom" | "letta_core" | "letta_memory_core" | "letta_multi_agent_core" | "letta_sleeptime_core" | "letta_voice_sleeptime_core" | "letta_builtin" | "letta_files_core" | "external_composio" | "external_langchain" | "external_mcp";
5
5
  export declare const ToolType: {
6
6
  readonly Custom: "custom";
7
7
  readonly LettaCore: "letta_core";
@@ -12,5 +12,6 @@ export declare const ToolType: {
12
12
  readonly LettaBuiltin: "letta_builtin";
13
13
  readonly LettaFilesCore: "letta_files_core";
14
14
  readonly ExternalComposio: "external_composio";
15
+ readonly ExternalLangchain: "external_langchain";
15
16
  readonly ExternalMcp: "external_mcp";
16
17
  };
@@ -14,5 +14,6 @@ exports.ToolType = {
14
14
  LettaBuiltin: "letta_builtin",
15
15
  LettaFilesCore: "letta_files_core",
16
16
  ExternalComposio: "external_composio",
17
+ ExternalLangchain: "external_langchain",
17
18
  ExternalMcp: "external_mcp",
18
19
  };
@@ -157,7 +157,9 @@ export * from "./MessageCreate";
157
157
  export * from "./MessageRole";
158
158
  export * from "./MessageSchema";
159
159
  export * from "./MessageType";
160
+ export * from "./ModalSandboxConfigLanguage";
160
161
  export * from "./ModalSandboxConfig";
162
+ export * from "./NpmRequirement";
161
163
  export * from "./OmittedReasoningContent";
162
164
  export * from "./Organization";
163
165
  export * from "./OrganizationCreate";
@@ -173,7 +173,9 @@ __exportStar(require("./MessageCreate"), exports);
173
173
  __exportStar(require("./MessageRole"), exports);
174
174
  __exportStar(require("./MessageSchema"), exports);
175
175
  __exportStar(require("./MessageType"), exports);
176
+ __exportStar(require("./ModalSandboxConfigLanguage"), exports);
176
177
  __exportStar(require("./ModalSandboxConfig"), exports);
178
+ __exportStar(require("./NpmRequirement"), exports);
177
179
  __exportStar(require("./OmittedReasoningContent"), exports);
178
180
  __exportStar(require("./Organization"), exports);
179
181
  __exportStar(require("./OrganizationCreate"), exports);
@@ -206,7 +206,7 @@ class Agents {
206
206
  method: "GET",
207
207
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
208
208
  ? yield core.Supplier.get(this._options.project)
209
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "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),
209
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "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
210
  contentType: "application/json",
211
211
  queryParameters: _queryParams,
212
212
  requestType: "json",
@@ -283,7 +283,7 @@ class Agents {
283
283
  method: "POST",
284
284
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
285
285
  ? yield core.Supplier.get(this._options.project)
286
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "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),
286
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "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
287
  contentType: "application/json",
288
288
  requestType: "json",
289
289
  body: serializers.CreateAgentRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -359,7 +359,7 @@ class Agents {
359
359
  method: "GET",
360
360
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
361
361
  ? yield core.Supplier.get(this._options.project)
362
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "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),
362
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "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
363
  contentType: "application/json",
364
364
  requestType: "json",
365
365
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -435,7 +435,7 @@ class Agents {
435
435
  method: "GET",
436
436
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
437
437
  ? yield core.Supplier.get(this._options.project)
438
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "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),
438
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "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),
439
439
  contentType: "application/json",
440
440
  requestType: "json",
441
441
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -528,7 +528,7 @@ class Agents {
528
528
  method: "POST",
529
529
  headers: Object.assign(Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
530
530
  ? yield core.Supplier.get(this._options.project)
531
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "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),
531
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "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),
532
532
  queryParameters: _queryParams,
533
533
  requestType: "file",
534
534
  duplex: _maybeEncodedRequest.duplex,
@@ -617,7 +617,7 @@ class Agents {
617
617
  method: "GET",
618
618
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
619
619
  ? yield core.Supplier.get(this._options.project)
620
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "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),
620
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "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),
621
621
  contentType: "application/json",
622
622
  queryParameters: _queryParams,
623
623
  requestType: "json",
@@ -694,7 +694,7 @@ class Agents {
694
694
  method: "DELETE",
695
695
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
696
696
  ? yield core.Supplier.get(this._options.project)
697
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "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),
697
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "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),
698
698
  contentType: "application/json",
699
699
  requestType: "json",
700
700
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -762,7 +762,7 @@ class Agents {
762
762
  method: "PATCH",
763
763
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
764
764
  ? yield core.Supplier.get(this._options.project)
765
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "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),
765
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "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),
766
766
  contentType: "application/json",
767
767
  requestType: "json",
768
768
  body: serializers.UpdateAgent.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -848,7 +848,7 @@ class Agents {
848
848
  method: "POST",
849
849
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
850
850
  ? yield core.Supplier.get(this._options.project)
851
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "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),
851
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "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),
852
852
  contentType: "application/json",
853
853
  queryParameters: _queryParams,
854
854
  requestType: "json",
@@ -916,7 +916,7 @@ class Agents {
916
916
  method: "POST",
917
917
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
918
918
  ? yield core.Supplier.get(this._options.project)
919
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "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),
919
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "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),
920
920
  contentType: "application/json",
921
921
  requestType: "json",
922
922
  body: serializers.AgentsSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -35,7 +35,7 @@ export interface AgentsListRequest {
35
35
  */
36
36
  queryText?: string;
37
37
  /**
38
- * Search agents by project ID
38
+ * Search agents by project ID - this will default to your default project on cloud
39
39
  */
40
40
  projectId?: string;
41
41
  /**
@@ -89,4 +89,6 @@ export interface CreateAgentRequest {
89
89
  maxFilesOpen?: number;
90
90
  /** The per-file view window character limit for this agent. Setting this too high may exceed the context window, which will break the agent. */
91
91
  perFileViewWindowCharLimit?: number;
92
+ /** If set to True, the agent will be hidden. */
93
+ hidden?: boolean;
92
94
  }
@@ -61,4 +61,6 @@ export interface UpdateAgent {
61
61
  maxFilesOpen?: number;
62
62
  /** The per-file view window character limit for this agent. Setting this too high may exceed the context window, which will break the agent. */
63
63
  perFileViewWindowCharLimit?: number;
64
+ /** If set to True, the agent will be hidden. */
65
+ hidden?: boolean;
64
66
  }
@@ -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.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "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.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "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.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "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.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "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.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "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.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "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.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "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.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "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.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "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.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "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.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "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.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "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.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "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.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "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.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "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.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "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.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "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.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "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.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "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.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "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.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "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.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "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.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "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.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "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.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "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.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "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.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "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.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "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",
@@ -83,7 +83,7 @@ class MemoryVariables {
83
83
  method: "GET",
84
84
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
85
85
  ? yield core.Supplier.get(this._options.project)
86
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
86
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
87
87
  contentType: "application/json",
88
88
  requestType: "json",
89
89
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -108,7 +108,7 @@ class Messages {
108
108
  method: "GET",
109
109
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
110
110
  ? yield core.Supplier.get(this._options.project)
111
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
111
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "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),
112
112
  contentType: "application/json",
113
113
  queryParameters: _queryParams,
114
114
  requestType: "json",
@@ -195,7 +195,7 @@ class Messages {
195
195
  method: "POST",
196
196
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
197
197
  ? yield core.Supplier.get(this._options.project)
198
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "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),
198
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "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),
199
199
  contentType: "application/json",
200
200
  requestType: "json",
201
201
  body: serializers.LettaRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -276,7 +276,7 @@ class Messages {
276
276
  method: "PATCH",
277
277
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
278
278
  ? yield core.Supplier.get(this._options.project)
279
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "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),
279
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "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),
280
280
  contentType: "application/json",
281
281
  requestType: "json",
282
282
  body: serializers.agents.MessagesModifyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -347,7 +347,7 @@ class Messages {
347
347
  method: "POST",
348
348
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
349
349
  ? yield core.Supplier.get(this._options.project)
350
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
350
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "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),
351
351
  contentType: "application/json",
352
352
  requestType: "json",
353
353
  body: serializers.LettaStreamingRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -438,7 +438,7 @@ class Messages {
438
438
  method: "POST",
439
439
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
440
440
  ? yield core.Supplier.get(this._options.project)
441
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "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),
441
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "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),
442
442
  contentType: "application/json",
443
443
  requestType: "json",
444
444
  body: request != null
@@ -532,7 +532,7 @@ class Messages {
532
532
  method: "POST",
533
533
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
534
534
  ? yield core.Supplier.get(this._options.project)
535
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "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),
535
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "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),
536
536
  contentType: "application/json",
537
537
  requestType: "json",
538
538
  body: serializers.agents.LettaAsyncRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -615,7 +615,7 @@ class Messages {
615
615
  method: "PATCH",
616
616
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
617
617
  ? yield core.Supplier.get(this._options.project)
618
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
618
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "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),
619
619
  contentType: "application/json",
620
620
  queryParameters: _queryParams,
621
621
  requestType: "json",
@@ -705,7 +705,7 @@ class Messages {
705
705
  method: "POST",
706
706
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
707
707
  ? yield core.Supplier.get(this._options.project)
708
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "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),
708
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.173", "User-Agent": "@letta-ai/letta-client/0.1.173", "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),
709
709
  contentType: "application/json",
710
710
  requestType: "json",
711
711
  body: serializers.agents.MessagesPreviewRawPayloadRequest.jsonOrThrow(request, {