@letta-ai/letta-client 0.1.178 → 0.1.180
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/agents/client/Client.js +10 -10
- package/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/api/resources/agents/resources/context/client/Client.js +1 -1
- package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/api/resources/agents/resources/files/client/Client.js +3 -3
- package/api/resources/agents/resources/folders/client/Client.js +3 -3
- package/api/resources/agents/resources/groups/client/Client.js +1 -1
- package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/api/resources/agents/resources/messages/client/Client.js +8 -8
- package/api/resources/agents/resources/passages/client/Client.js +4 -4
- package/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/api/resources/batches/client/Client.js +4 -4
- package/api/resources/blocks/client/Client.js +6 -6
- package/api/resources/blocks/resources/agents/client/Client.js +1 -1
- package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
- package/api/resources/embeddingModels/client/Client.js +1 -1
- package/api/resources/folders/client/Client.js +9 -9
- package/api/resources/folders/resources/files/client/Client.js +3 -3
- package/api/resources/folders/resources/passages/client/Client.js +1 -1
- package/api/resources/groups/client/Client.js +6 -6
- package/api/resources/groups/resources/messages/client/Client.js +5 -5
- package/api/resources/health/client/Client.js +1 -1
- package/api/resources/identities/client/Client.js +7 -7
- package/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/api/resources/jobs/client/Client.js +5 -5
- package/api/resources/messages/client/Client.js +1 -1
- package/api/resources/models/client/Client.js +1 -1
- package/api/resources/projects/client/Client.js +1 -1
- package/api/resources/providers/client/Client.js +6 -6
- package/api/resources/runs/client/Client.js +4 -4
- package/api/resources/runs/resources/messages/client/Client.js +1 -1
- package/api/resources/runs/resources/steps/client/Client.js +1 -1
- package/api/resources/runs/resources/usage/client/Client.js +1 -1
- package/api/resources/sources/client/Client.js +10 -10
- package/api/resources/sources/resources/files/client/Client.js +3 -3
- package/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/api/resources/steps/client/Client.js +3 -3
- package/api/resources/steps/resources/feedback/client/Client.js +1 -1
- package/api/resources/tags/client/Client.js +1 -1
- package/api/resources/telemetry/client/Client.js +1 -1
- package/api/resources/templates/client/Client.js +1 -1
- package/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/api/resources/tools/client/Client.js +20 -20
- package/api/resources/voice/client/Client.js +1 -1
- package/api/types/ChatCompletionAllowedToolChoiceParam.d.ts +8 -0
- package/api/types/ChatCompletionAllowedToolsParam.d.ts +8 -0
- package/api/types/ChatCompletionAllowedToolsParamMode.d.ts +8 -0
- package/api/types/ChatCompletionAllowedToolsParamMode.js +10 -0
- package/api/types/ChatCompletionAssistantMessageParam.d.ts +1 -1
- package/api/types/ChatCompletionAssistantMessageParamToolCallsItem.d.ts +5 -0
- package/api/types/ChatCompletionCustomToolParam.d.ts +8 -0
- package/api/types/{ChatCompletionToolParam.d.ts → ChatCompletionFunctionToolParam.d.ts} +1 -1
- package/api/types/ChatCompletionMessageCustomToolCallParam.d.ts +9 -0
- package/api/types/{ChatCompletionMessageToolCall.d.ts → ChatCompletionMessageFunctionToolCall.d.ts} +1 -1
- package/api/types/ChatCompletionMessageFunctionToolCallParam.d.ts +9 -0
- package/api/types/ChatCompletionNamedToolChoiceCustomParam.d.ts +8 -0
- package/api/types/ChatCompletionNamedToolChoiceCustomParam.js +5 -0
- package/api/types/ChatCompletionStreamOptionsParam.d.ts +1 -0
- package/api/types/CompletionCreateParamsNonStreaming.d.ts +2 -1
- package/api/types/CompletionCreateParamsNonStreamingModel.d.ts +1 -1
- package/api/types/CompletionCreateParamsNonStreamingReasoningEffort.d.ts +2 -1
- package/api/types/CompletionCreateParamsNonStreamingReasoningEffort.js +1 -0
- package/api/types/CompletionCreateParamsNonStreamingToolChoice.d.ts +1 -1
- package/api/types/CompletionCreateParamsNonStreamingToolsItem.d.ts +5 -0
- package/api/types/CompletionCreateParamsNonStreamingToolsItem.js +5 -0
- package/api/types/CompletionCreateParamsNonStreamingVerbosity.d.ts +9 -0
- package/api/types/CompletionCreateParamsNonStreamingVerbosity.js +11 -0
- package/api/types/CompletionCreateParamsStreaming.d.ts +2 -1
- package/api/types/CompletionCreateParamsStreamingModel.d.ts +1 -1
- package/api/types/CompletionCreateParamsStreamingReasoningEffort.d.ts +2 -1
- package/api/types/CompletionCreateParamsStreamingReasoningEffort.js +1 -0
- package/api/types/CompletionCreateParamsStreamingToolChoice.d.ts +1 -1
- package/api/types/CompletionCreateParamsStreamingToolsItem.d.ts +5 -0
- package/api/types/CompletionCreateParamsStreamingToolsItem.js +5 -0
- package/api/types/CompletionCreateParamsStreamingVerbosity.d.ts +9 -0
- package/api/types/CompletionCreateParamsStreamingVerbosity.js +11 -0
- package/api/types/CustomFormatGrammar.d.ts +8 -0
- package/api/types/CustomFormatGrammar.js +5 -0
- package/api/types/CustomFormatGrammarGrammar.d.ts +8 -0
- package/api/types/CustomFormatGrammarGrammar.js +5 -0
- package/api/types/CustomFormatGrammarGrammarSyntax.d.ts +8 -0
- package/api/types/CustomFormatGrammarGrammarSyntax.js +10 -0
- package/api/types/CustomFormatText.d.ts +6 -0
- package/api/types/CustomFormatText.js +5 -0
- package/api/types/LlmConfig.d.ts +2 -0
- package/api/types/LlmConfigVerbosity.d.ts +9 -0
- package/api/types/LlmConfigVerbosity.js +11 -0
- package/api/types/McpTool.d.ts +2 -0
- package/api/types/McpToolHealth.d.ts +12 -0
- package/api/types/McpToolHealth.js +5 -0
- package/api/types/Message.d.ts +1 -1
- package/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.d.ts +9 -0
- package/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.js +5 -0
- package/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.d.ts +5 -0
- package/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.js +5 -0
- package/api/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.d.ts +7 -0
- package/api/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.js +5 -0
- package/api/types/{OpenaiTypesChatChatCompletionMessageToolCallParamFunction.d.ts → OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.d.ts} +1 -1
- package/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.js +5 -0
- package/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.d.ts +6 -0
- package/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.js +5 -0
- package/api/types/index.d.ts +25 -4
- package/api/types/index.js +25 -4
- package/dist/api/resources/agents/client/Client.js +10 -10
- package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/files/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/messages/client/Client.js +8 -8
- package/dist/api/resources/agents/resources/passages/client/Client.js +4 -4
- package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/dist/api/resources/batches/client/Client.js +4 -4
- package/dist/api/resources/blocks/client/Client.js +6 -6
- package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
- package/dist/api/resources/embeddingModels/client/Client.js +1 -1
- package/dist/api/resources/folders/client/Client.js +9 -9
- package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
- package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
- package/dist/api/resources/groups/client/Client.js +6 -6
- package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
- package/dist/api/resources/health/client/Client.js +1 -1
- package/dist/api/resources/identities/client/Client.js +7 -7
- package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/dist/api/resources/jobs/client/Client.js +5 -5
- package/dist/api/resources/messages/client/Client.js +1 -1
- package/dist/api/resources/models/client/Client.js +1 -1
- package/dist/api/resources/projects/client/Client.js +1 -1
- package/dist/api/resources/providers/client/Client.js +6 -6
- package/dist/api/resources/runs/client/Client.js +4 -4
- package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
- package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
- package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
- package/dist/api/resources/sources/client/Client.js +10 -10
- package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
- package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/dist/api/resources/steps/client/Client.js +3 -3
- package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
- package/dist/api/resources/tags/client/Client.js +1 -1
- package/dist/api/resources/telemetry/client/Client.js +1 -1
- package/dist/api/resources/templates/client/Client.js +1 -1
- package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/tools/client/Client.js +20 -20
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/api/types/ChatCompletionAllowedToolChoiceParam.d.ts +8 -0
- package/dist/api/types/ChatCompletionAllowedToolChoiceParam.js +5 -0
- package/dist/api/types/ChatCompletionAllowedToolsParam.d.ts +8 -0
- package/dist/api/types/ChatCompletionAllowedToolsParam.js +5 -0
- package/dist/api/types/ChatCompletionAllowedToolsParamMode.d.ts +8 -0
- package/dist/api/types/ChatCompletionAllowedToolsParamMode.js +10 -0
- package/dist/api/types/ChatCompletionAssistantMessageParam.d.ts +1 -1
- package/dist/api/types/ChatCompletionAssistantMessageParamToolCallsItem.d.ts +5 -0
- package/dist/api/types/ChatCompletionAssistantMessageParamToolCallsItem.js +5 -0
- package/dist/api/types/ChatCompletionCustomToolParam.d.ts +8 -0
- package/dist/api/types/ChatCompletionCustomToolParam.js +5 -0
- package/dist/api/types/{ChatCompletionToolParam.d.ts → ChatCompletionFunctionToolParam.d.ts} +1 -1
- package/dist/api/types/ChatCompletionFunctionToolParam.js +5 -0
- package/dist/api/types/ChatCompletionMessageCustomToolCallParam.d.ts +9 -0
- package/dist/api/types/ChatCompletionMessageCustomToolCallParam.js +5 -0
- package/dist/api/types/{ChatCompletionMessageToolCall.d.ts → ChatCompletionMessageFunctionToolCall.d.ts} +1 -1
- package/dist/api/types/ChatCompletionMessageFunctionToolCall.js +5 -0
- package/dist/api/types/ChatCompletionMessageFunctionToolCallParam.d.ts +9 -0
- package/dist/api/types/ChatCompletionMessageFunctionToolCallParam.js +5 -0
- package/dist/api/types/ChatCompletionNamedToolChoiceCustomParam.d.ts +8 -0
- package/dist/api/types/ChatCompletionNamedToolChoiceCustomParam.js +5 -0
- package/dist/api/types/ChatCompletionStreamOptionsParam.d.ts +1 -0
- package/dist/api/types/CompletionCreateParamsNonStreaming.d.ts +2 -1
- package/dist/api/types/CompletionCreateParamsNonStreamingModel.d.ts +1 -1
- package/dist/api/types/CompletionCreateParamsNonStreamingReasoningEffort.d.ts +2 -1
- package/dist/api/types/CompletionCreateParamsNonStreamingReasoningEffort.js +1 -0
- package/dist/api/types/CompletionCreateParamsNonStreamingToolChoice.d.ts +1 -1
- package/dist/api/types/CompletionCreateParamsNonStreamingToolsItem.d.ts +5 -0
- package/dist/api/types/CompletionCreateParamsNonStreamingToolsItem.js +5 -0
- package/dist/api/types/CompletionCreateParamsNonStreamingVerbosity.d.ts +9 -0
- package/dist/api/types/CompletionCreateParamsNonStreamingVerbosity.js +11 -0
- package/dist/api/types/CompletionCreateParamsStreaming.d.ts +2 -1
- package/dist/api/types/CompletionCreateParamsStreamingModel.d.ts +1 -1
- package/dist/api/types/CompletionCreateParamsStreamingReasoningEffort.d.ts +2 -1
- package/dist/api/types/CompletionCreateParamsStreamingReasoningEffort.js +1 -0
- package/dist/api/types/CompletionCreateParamsStreamingToolChoice.d.ts +1 -1
- package/dist/api/types/CompletionCreateParamsStreamingToolsItem.d.ts +5 -0
- package/dist/api/types/CompletionCreateParamsStreamingToolsItem.js +5 -0
- package/dist/api/types/CompletionCreateParamsStreamingVerbosity.d.ts +9 -0
- package/dist/api/types/CompletionCreateParamsStreamingVerbosity.js +11 -0
- package/dist/api/types/CustomFormatGrammar.d.ts +8 -0
- package/dist/api/types/CustomFormatGrammar.js +5 -0
- package/dist/api/types/CustomFormatGrammarGrammar.d.ts +8 -0
- package/dist/api/types/CustomFormatGrammarGrammar.js +5 -0
- package/dist/api/types/CustomFormatGrammarGrammarSyntax.d.ts +8 -0
- package/dist/api/types/CustomFormatGrammarGrammarSyntax.js +10 -0
- package/dist/api/types/CustomFormatText.d.ts +6 -0
- package/dist/api/types/CustomFormatText.js +5 -0
- package/dist/api/types/LlmConfig.d.ts +2 -0
- package/dist/api/types/LlmConfigVerbosity.d.ts +9 -0
- package/dist/api/types/LlmConfigVerbosity.js +11 -0
- package/dist/api/types/McpTool.d.ts +2 -0
- package/dist/api/types/McpToolHealth.d.ts +12 -0
- package/dist/api/types/McpToolHealth.js +5 -0
- package/dist/api/types/Message.d.ts +1 -1
- package/dist/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.d.ts +9 -0
- package/dist/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.js +5 -0
- package/dist/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.d.ts +5 -0
- package/dist/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.js +5 -0
- package/dist/api/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.d.ts +7 -0
- package/dist/api/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.js +5 -0
- package/dist/api/types/{OpenaiTypesChatChatCompletionMessageToolCallParamFunction.d.ts → OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.d.ts} +1 -1
- package/dist/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.js +5 -0
- package/dist/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.d.ts +6 -0
- package/dist/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.js +5 -0
- package/dist/api/types/index.d.ts +25 -4
- package/dist/api/types/index.js +25 -4
- package/dist/serialization/types/ChatCompletionAllowedToolChoiceParam.d.ts +14 -0
- package/dist/serialization/types/ChatCompletionAllowedToolChoiceParam.js +45 -0
- package/dist/serialization/types/ChatCompletionAllowedToolsParam.d.ts +14 -0
- package/dist/serialization/types/ChatCompletionAllowedToolsParam.js +45 -0
- package/dist/serialization/types/ChatCompletionAllowedToolsParamMode.d.ts +10 -0
- package/dist/serialization/types/ChatCompletionAllowedToolsParamMode.js +41 -0
- package/dist/serialization/types/ChatCompletionAssistantMessageParam.d.ts +2 -2
- package/dist/serialization/types/ChatCompletionAssistantMessageParam.js +2 -2
- package/dist/serialization/types/ChatCompletionAssistantMessageParamToolCallsItem.d.ts +12 -0
- package/dist/serialization/types/ChatCompletionAssistantMessageParamToolCallsItem.js +46 -0
- package/dist/serialization/types/ChatCompletionCustomToolParam.d.ts +14 -0
- package/dist/serialization/types/ChatCompletionCustomToolParam.js +45 -0
- package/dist/serialization/types/{ChatCompletionToolParam.d.ts → ChatCompletionFunctionToolParam.d.ts} +2 -2
- package/dist/serialization/types/{ChatCompletionToolParam.js → ChatCompletionFunctionToolParam.js} +2 -2
- package/dist/serialization/types/ChatCompletionMessageCustomToolCallParam.d.ts +15 -0
- package/dist/serialization/types/ChatCompletionMessageCustomToolCallParam.js +46 -0
- package/dist/serialization/types/{ChatCompletionMessageToolCall.d.ts → ChatCompletionMessageFunctionToolCall.d.ts} +2 -2
- package/dist/serialization/types/{ChatCompletionMessageToolCall.js → ChatCompletionMessageFunctionToolCall.js} +2 -2
- package/dist/serialization/types/ChatCompletionMessageFunctionToolCallParam.d.ts +15 -0
- package/dist/serialization/types/{ChatCompletionMessageToolCallParam.js → ChatCompletionMessageFunctionToolCallParam.js} +4 -4
- package/dist/serialization/types/ChatCompletionNamedToolChoiceCustomParam.d.ts +14 -0
- package/dist/serialization/types/ChatCompletionNamedToolChoiceCustomParam.js +45 -0
- package/dist/serialization/types/ChatCompletionStreamOptionsParam.d.ts +1 -0
- package/dist/serialization/types/ChatCompletionStreamOptionsParam.js +1 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreaming.d.ts +4 -2
- package/dist/serialization/types/CompletionCreateParamsNonStreaming.js +4 -2
- package/dist/serialization/types/CompletionCreateParamsNonStreamingModel.d.ts +1 -1
- package/dist/serialization/types/CompletionCreateParamsNonStreamingModel.js +7 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingReasoningEffort.d.ts +1 -1
- package/dist/serialization/types/CompletionCreateParamsNonStreamingReasoningEffort.js +1 -1
- package/dist/serialization/types/CompletionCreateParamsNonStreamingToolChoice.d.ts +3 -1
- package/dist/serialization/types/CompletionCreateParamsNonStreamingToolChoice.js +4 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingToolsItem.d.ts +12 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingToolsItem.js +43 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingVerbosity.d.ts +10 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingVerbosity.js +41 -0
- package/dist/serialization/types/CompletionCreateParamsStreaming.d.ts +4 -2
- package/dist/serialization/types/CompletionCreateParamsStreaming.js +4 -2
- package/dist/serialization/types/CompletionCreateParamsStreamingModel.d.ts +1 -1
- package/dist/serialization/types/CompletionCreateParamsStreamingModel.js +7 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingReasoningEffort.d.ts +1 -1
- package/dist/serialization/types/CompletionCreateParamsStreamingReasoningEffort.js +1 -1
- package/dist/serialization/types/CompletionCreateParamsStreamingToolChoice.d.ts +3 -1
- package/dist/serialization/types/CompletionCreateParamsStreamingToolChoice.js +4 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingToolsItem.d.ts +12 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingToolsItem.js +43 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingVerbosity.d.ts +10 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingVerbosity.js +41 -0
- package/dist/serialization/types/CustomFormatGrammar.d.ts +14 -0
- package/dist/serialization/types/CustomFormatGrammar.js +45 -0
- package/dist/serialization/types/CustomFormatGrammarGrammar.d.ts +14 -0
- package/dist/serialization/types/CustomFormatGrammarGrammar.js +45 -0
- package/dist/serialization/types/CustomFormatGrammarGrammarSyntax.d.ts +10 -0
- package/dist/serialization/types/CustomFormatGrammarGrammarSyntax.js +41 -0
- package/dist/serialization/types/CustomFormatText.d.ts +12 -0
- package/dist/serialization/types/CustomFormatText.js +43 -0
- package/dist/serialization/types/LlmConfig.d.ts +2 -0
- package/dist/serialization/types/LlmConfig.js +2 -0
- package/dist/serialization/types/LlmConfigVerbosity.d.ts +10 -0
- package/dist/serialization/types/LlmConfigVerbosity.js +41 -0
- package/dist/serialization/types/McpTool.d.ts +2 -0
- package/dist/serialization/types/McpTool.js +2 -0
- package/dist/serialization/types/McpToolHealth.d.ts +13 -0
- package/dist/serialization/types/McpToolHealth.js +44 -0
- package/dist/serialization/types/Message.d.ts +2 -2
- package/dist/serialization/types/Message.js +2 -2
- package/dist/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.d.ts +15 -0
- package/dist/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.js +46 -0
- package/dist/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.d.ts +12 -0
- package/dist/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.js +43 -0
- package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.d.ts +13 -0
- package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.js +44 -0
- package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.d.ts +13 -0
- package/{serialization/types/OpenaiTypesChatChatCompletionMessageToolCallParamFunction.js → dist/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.js} +2 -2
- package/dist/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.d.ts +12 -0
- package/dist/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.js +43 -0
- package/dist/serialization/types/index.d.ts +25 -4
- package/dist/serialization/types/index.js +25 -4
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/types/ChatCompletionAllowedToolChoiceParam.d.ts +14 -0
- package/serialization/types/ChatCompletionAllowedToolChoiceParam.js +45 -0
- package/serialization/types/ChatCompletionAllowedToolsParam.d.ts +14 -0
- package/serialization/types/ChatCompletionAllowedToolsParam.js +45 -0
- package/serialization/types/ChatCompletionAllowedToolsParamMode.d.ts +10 -0
- package/serialization/types/ChatCompletionAllowedToolsParamMode.js +41 -0
- package/serialization/types/ChatCompletionAssistantMessageParam.d.ts +2 -2
- package/serialization/types/ChatCompletionAssistantMessageParam.js +2 -2
- package/serialization/types/ChatCompletionAssistantMessageParamToolCallsItem.d.ts +12 -0
- package/serialization/types/ChatCompletionAssistantMessageParamToolCallsItem.js +46 -0
- package/serialization/types/ChatCompletionCustomToolParam.d.ts +14 -0
- package/serialization/types/ChatCompletionCustomToolParam.js +45 -0
- package/serialization/types/{ChatCompletionToolParam.d.ts → ChatCompletionFunctionToolParam.d.ts} +2 -2
- package/serialization/types/{ChatCompletionToolParam.js → ChatCompletionFunctionToolParam.js} +2 -2
- package/serialization/types/ChatCompletionMessageCustomToolCallParam.d.ts +15 -0
- package/serialization/types/ChatCompletionMessageCustomToolCallParam.js +46 -0
- package/serialization/types/{ChatCompletionMessageToolCall.d.ts → ChatCompletionMessageFunctionToolCall.d.ts} +2 -2
- package/serialization/types/{ChatCompletionMessageToolCall.js → ChatCompletionMessageFunctionToolCall.js} +2 -2
- package/serialization/types/ChatCompletionMessageFunctionToolCallParam.d.ts +15 -0
- package/serialization/types/{ChatCompletionMessageToolCallParam.js → ChatCompletionMessageFunctionToolCallParam.js} +4 -4
- package/serialization/types/ChatCompletionNamedToolChoiceCustomParam.d.ts +14 -0
- package/serialization/types/ChatCompletionNamedToolChoiceCustomParam.js +45 -0
- package/serialization/types/ChatCompletionStreamOptionsParam.d.ts +1 -0
- package/serialization/types/ChatCompletionStreamOptionsParam.js +1 -0
- package/serialization/types/CompletionCreateParamsNonStreaming.d.ts +4 -2
- package/serialization/types/CompletionCreateParamsNonStreaming.js +4 -2
- package/serialization/types/CompletionCreateParamsNonStreamingModel.d.ts +1 -1
- package/serialization/types/CompletionCreateParamsNonStreamingModel.js +7 -0
- package/serialization/types/CompletionCreateParamsNonStreamingReasoningEffort.d.ts +1 -1
- package/serialization/types/CompletionCreateParamsNonStreamingReasoningEffort.js +1 -1
- package/serialization/types/CompletionCreateParamsNonStreamingToolChoice.d.ts +3 -1
- package/serialization/types/CompletionCreateParamsNonStreamingToolChoice.js +4 -0
- package/serialization/types/CompletionCreateParamsNonStreamingToolsItem.d.ts +12 -0
- package/serialization/types/CompletionCreateParamsNonStreamingToolsItem.js +43 -0
- package/serialization/types/CompletionCreateParamsNonStreamingVerbosity.d.ts +10 -0
- package/serialization/types/CompletionCreateParamsNonStreamingVerbosity.js +41 -0
- package/serialization/types/CompletionCreateParamsStreaming.d.ts +4 -2
- package/serialization/types/CompletionCreateParamsStreaming.js +4 -2
- package/serialization/types/CompletionCreateParamsStreamingModel.d.ts +1 -1
- package/serialization/types/CompletionCreateParamsStreamingModel.js +7 -0
- package/serialization/types/CompletionCreateParamsStreamingReasoningEffort.d.ts +1 -1
- package/serialization/types/CompletionCreateParamsStreamingReasoningEffort.js +1 -1
- package/serialization/types/CompletionCreateParamsStreamingToolChoice.d.ts +3 -1
- package/serialization/types/CompletionCreateParamsStreamingToolChoice.js +4 -0
- package/serialization/types/CompletionCreateParamsStreamingToolsItem.d.ts +12 -0
- package/serialization/types/CompletionCreateParamsStreamingToolsItem.js +43 -0
- package/serialization/types/CompletionCreateParamsStreamingVerbosity.d.ts +10 -0
- package/serialization/types/CompletionCreateParamsStreamingVerbosity.js +41 -0
- package/serialization/types/CustomFormatGrammar.d.ts +14 -0
- package/serialization/types/CustomFormatGrammar.js +45 -0
- package/serialization/types/CustomFormatGrammarGrammar.d.ts +14 -0
- package/serialization/types/CustomFormatGrammarGrammar.js +45 -0
- package/serialization/types/CustomFormatGrammarGrammarSyntax.d.ts +10 -0
- package/serialization/types/CustomFormatGrammarGrammarSyntax.js +41 -0
- package/serialization/types/CustomFormatText.d.ts +12 -0
- package/serialization/types/CustomFormatText.js +43 -0
- package/serialization/types/LlmConfig.d.ts +2 -0
- package/serialization/types/LlmConfig.js +2 -0
- package/serialization/types/LlmConfigVerbosity.d.ts +10 -0
- package/serialization/types/LlmConfigVerbosity.js +41 -0
- package/serialization/types/McpTool.d.ts +2 -0
- package/serialization/types/McpTool.js +2 -0
- package/serialization/types/McpToolHealth.d.ts +13 -0
- package/serialization/types/McpToolHealth.js +44 -0
- package/serialization/types/Message.d.ts +2 -2
- package/serialization/types/Message.js +2 -2
- package/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.d.ts +15 -0
- package/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.js +46 -0
- package/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.d.ts +12 -0
- package/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.js +43 -0
- package/serialization/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.d.ts +13 -0
- package/serialization/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.js +44 -0
- package/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.d.ts +13 -0
- package/{dist/serialization/types/OpenaiTypesChatChatCompletionMessageToolCallParamFunction.js → serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.js} +2 -2
- package/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.d.ts +12 -0
- package/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.js +43 -0
- package/serialization/types/index.d.ts +25 -4
- package/serialization/types/index.js +25 -4
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/ChatCompletionMessageToolCallParam.d.ts +0 -9
- package/dist/api/types/ChatCompletionMessageToolCallParam.d.ts +0 -9
- package/dist/serialization/types/ChatCompletionMessageToolCallParam.d.ts +0 -15
- package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageToolCallParamFunction.d.ts +0 -13
- package/serialization/types/ChatCompletionMessageToolCallParam.d.ts +0 -15
- package/serialization/types/OpenaiTypesChatChatCompletionMessageToolCallParamFunction.d.ts +0 -13
- /package/api/types/{ChatCompletionMessageToolCall.js → ChatCompletionAllowedToolChoiceParam.js} +0 -0
- /package/api/types/{ChatCompletionMessageToolCallParam.js → ChatCompletionAllowedToolsParam.js} +0 -0
- /package/api/types/{ChatCompletionToolParam.js → ChatCompletionAssistantMessageParamToolCallsItem.js} +0 -0
- /package/api/types/{OpenaiTypesChatChatCompletionMessageToolCallParamFunction.js → ChatCompletionCustomToolParam.js} +0 -0
- /package/{dist/api/types/ChatCompletionMessageToolCall.js → api/types/ChatCompletionFunctionToolParam.js} +0 -0
- /package/{dist/api/types/ChatCompletionMessageToolCallParam.js → api/types/ChatCompletionMessageCustomToolCallParam.js} +0 -0
- /package/{dist/api/types/ChatCompletionToolParam.js → api/types/ChatCompletionMessageFunctionToolCall.js} +0 -0
- /package/{dist/api/types/OpenaiTypesChatChatCompletionMessageToolCallParamFunction.js → api/types/ChatCompletionMessageFunctionToolCallParam.js} +0 -0
package/api/types/LlmConfig.d.ts
CHANGED
|
@@ -38,4 +38,6 @@ export interface LlmConfig {
|
|
|
38
38
|
frequencyPenalty?: number;
|
|
39
39
|
/** The framework compatibility type for the model. */
|
|
40
40
|
compatibilityType?: Letta.LlmConfigCompatibilityType;
|
|
41
|
+
/** Soft control for how verbose model output should be, used for GPT-5 models. */
|
|
42
|
+
verbosity?: Letta.LlmConfigVerbosity;
|
|
41
43
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.LlmConfigVerbosity = void 0;
|
|
7
|
+
exports.LlmConfigVerbosity = {
|
|
8
|
+
Low: "low",
|
|
9
|
+
Medium: "medium",
|
|
10
|
+
High: "high",
|
|
11
|
+
};
|
package/api/types/McpTool.d.ts
CHANGED
|
@@ -13,6 +13,8 @@ export interface McpTool {
|
|
|
13
13
|
outputSchema?: Record<string, unknown>;
|
|
14
14
|
annotations?: Letta.ToolAnnotations;
|
|
15
15
|
meta?: Record<string, unknown>;
|
|
16
|
+
/** Schema health status for OpenAI strict mode */
|
|
17
|
+
health?: Letta.McpToolHealth;
|
|
16
18
|
/** Accepts any additional properties */
|
|
17
19
|
[key: string]: any;
|
|
18
20
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Health status for an MCP tool's schema.
|
|
6
|
+
*/
|
|
7
|
+
export interface McpToolHealth {
|
|
8
|
+
/** Schema health status: STRICT_COMPLIANT, NON_STRICT_ONLY, or INVALID */
|
|
9
|
+
status: string;
|
|
10
|
+
/** List of reasons for the health status */
|
|
11
|
+
reasons?: string[];
|
|
12
|
+
}
|
package/api/types/Message.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ export interface Message {
|
|
|
45
45
|
/** For role user/assistant: the (optional) name of the participant. For role tool/function: the name of the function called. */
|
|
46
46
|
name?: string;
|
|
47
47
|
/** The list of tool calls requested. Only applicable for role assistant. */
|
|
48
|
-
toolCalls?: Letta.
|
|
48
|
+
toolCalls?: Letta.ChatCompletionMessageFunctionToolCall[];
|
|
49
49
|
/** The ID of the tool call. Only applicable for role tool. */
|
|
50
50
|
toolCallId?: string;
|
|
51
51
|
/** The id of the step that this message was created in. */
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Letta from "../index";
|
|
5
|
+
export interface OpenaiTypesChatChatCompletionCustomToolParamCustom {
|
|
6
|
+
name: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
format?: Letta.OpenaiTypesChatChatCompletionCustomToolParamCustomFormat;
|
|
9
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export interface
|
|
4
|
+
export interface OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction {
|
|
5
5
|
arguments: string;
|
|
6
6
|
name: string;
|
|
7
7
|
}
|
package/api/types/index.d.ts
CHANGED
|
@@ -29,8 +29,12 @@ export * from "./Block";
|
|
|
29
29
|
export * from "./BlockSchema";
|
|
30
30
|
export * from "./BlockUpdate";
|
|
31
31
|
export * from "./BodyExportAgentSerialized";
|
|
32
|
+
export * from "./ChatCompletionAllowedToolChoiceParam";
|
|
33
|
+
export * from "./ChatCompletionAllowedToolsParamMode";
|
|
34
|
+
export * from "./ChatCompletionAllowedToolsParam";
|
|
32
35
|
export * from "./ChatCompletionAssistantMessageParamContentItem";
|
|
33
36
|
export * from "./ChatCompletionAssistantMessageParamContent";
|
|
37
|
+
export * from "./ChatCompletionAssistantMessageParamToolCallsItem";
|
|
34
38
|
export * from "./ChatCompletionAssistantMessageParam";
|
|
35
39
|
export * from "./ChatCompletionAudioParamFormat";
|
|
36
40
|
export * from "./ChatCompletionAudioParamVoice";
|
|
@@ -39,12 +43,16 @@ export * from "./ChatCompletionContentPartImageParam";
|
|
|
39
43
|
export * from "./ChatCompletionContentPartInputAudioParam";
|
|
40
44
|
export * from "./ChatCompletionContentPartRefusalParam";
|
|
41
45
|
export * from "./ChatCompletionContentPartTextParam";
|
|
46
|
+
export * from "./ChatCompletionCustomToolParam";
|
|
42
47
|
export * from "./ChatCompletionDeveloperMessageParamContent";
|
|
43
48
|
export * from "./ChatCompletionDeveloperMessageParam";
|
|
44
49
|
export * from "./ChatCompletionFunctionCallOptionParam";
|
|
45
50
|
export * from "./ChatCompletionFunctionMessageParam";
|
|
46
|
-
export * from "./
|
|
47
|
-
export * from "./
|
|
51
|
+
export * from "./ChatCompletionFunctionToolParam";
|
|
52
|
+
export * from "./ChatCompletionMessageCustomToolCallParam";
|
|
53
|
+
export * from "./ChatCompletionMessageFunctionToolCall";
|
|
54
|
+
export * from "./ChatCompletionMessageFunctionToolCallParam";
|
|
55
|
+
export * from "./ChatCompletionNamedToolChoiceCustomParam";
|
|
48
56
|
export * from "./ChatCompletionNamedToolChoiceParam";
|
|
49
57
|
export * from "./ChatCompletionPredictionContentParamContent";
|
|
50
58
|
export * from "./ChatCompletionPredictionContentParam";
|
|
@@ -53,7 +61,6 @@ export * from "./ChatCompletionSystemMessageParamContent";
|
|
|
53
61
|
export * from "./ChatCompletionSystemMessageParam";
|
|
54
62
|
export * from "./ChatCompletionToolMessageParamContent";
|
|
55
63
|
export * from "./ChatCompletionToolMessageParam";
|
|
56
|
-
export * from "./ChatCompletionToolParam";
|
|
57
64
|
export * from "./ChatCompletionUserMessageParamContentItem";
|
|
58
65
|
export * from "./ChatCompletionUserMessageParamContent";
|
|
59
66
|
export * from "./ChatCompletionUserMessageParam";
|
|
@@ -69,6 +76,8 @@ export * from "./CompletionCreateParamsNonStreamingResponseFormat";
|
|
|
69
76
|
export * from "./CompletionCreateParamsNonStreamingServiceTier";
|
|
70
77
|
export * from "./CompletionCreateParamsNonStreamingStop";
|
|
71
78
|
export * from "./CompletionCreateParamsNonStreamingToolChoice";
|
|
79
|
+
export * from "./CompletionCreateParamsNonStreamingToolsItem";
|
|
80
|
+
export * from "./CompletionCreateParamsNonStreamingVerbosity";
|
|
72
81
|
export * from "./CompletionCreateParamsNonStreaming";
|
|
73
82
|
export * from "./CompletionCreateParamsStreamingMessagesItem";
|
|
74
83
|
export * from "./CompletionCreateParamsStreamingModel";
|
|
@@ -79,6 +88,8 @@ export * from "./CompletionCreateParamsStreamingResponseFormat";
|
|
|
79
88
|
export * from "./CompletionCreateParamsStreamingServiceTier";
|
|
80
89
|
export * from "./CompletionCreateParamsStreamingStop";
|
|
81
90
|
export * from "./CompletionCreateParamsStreamingToolChoice";
|
|
91
|
+
export * from "./CompletionCreateParamsStreamingToolsItem";
|
|
92
|
+
export * from "./CompletionCreateParamsStreamingVerbosity";
|
|
82
93
|
export * from "./CompletionCreateParamsStreaming";
|
|
83
94
|
export * from "./ConditionalToolRule";
|
|
84
95
|
export * from "./ConditionalToolRuleSchema";
|
|
@@ -86,6 +97,10 @@ export * from "./ContextWindowOverview";
|
|
|
86
97
|
export * from "./ContinueToolRule";
|
|
87
98
|
export * from "./CoreMemoryBlockSchema";
|
|
88
99
|
export * from "./CreateBlock";
|
|
100
|
+
export * from "./CustomFormatGrammar";
|
|
101
|
+
export * from "./CustomFormatGrammarGrammarSyntax";
|
|
102
|
+
export * from "./CustomFormatGrammarGrammar";
|
|
103
|
+
export * from "./CustomFormatText";
|
|
89
104
|
export * from "./DuplicateFileHandling";
|
|
90
105
|
export * from "./DynamicManager";
|
|
91
106
|
export * from "./DynamicManagerUpdate";
|
|
@@ -138,6 +153,7 @@ export * from "./JsonSchemaResponseFormat";
|
|
|
138
153
|
export * from "./LlmConfigModelEndpointType";
|
|
139
154
|
export * from "./LlmConfigReasoningEffort";
|
|
140
155
|
export * from "./LlmConfigCompatibilityType";
|
|
156
|
+
export * from "./LlmConfigVerbosity";
|
|
141
157
|
export * from "./LlmConfig";
|
|
142
158
|
export * from "./LettaBatchMessages";
|
|
143
159
|
export * from "./LettaBatchRequest";
|
|
@@ -153,6 +169,7 @@ export * from "./McpServerSchema";
|
|
|
153
169
|
export * from "./McpServerType";
|
|
154
170
|
export * from "./McpTool";
|
|
155
171
|
export * from "./McpToolExecuteRequest";
|
|
172
|
+
export * from "./McpToolHealth";
|
|
156
173
|
export * from "./ManagerType";
|
|
157
174
|
export * from "./MaxCountPerStepToolRule";
|
|
158
175
|
export * from "./MaxCountPerStepToolRuleSchema";
|
|
@@ -275,7 +292,11 @@ export * from "./LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesIte
|
|
|
275
292
|
export * from "./LettaSerializeSchemasPydanticAgentSchemaAgentSchema";
|
|
276
293
|
export * from "./LettaSerializeSchemasPydanticAgentSchemaMessageSchema";
|
|
277
294
|
export * from "./LettaSerializeSchemasPydanticAgentSchemaToolSchema";
|
|
278
|
-
export * from "./
|
|
295
|
+
export * from "./OpenaiTypesChatChatCompletionCustomToolParamCustomFormat";
|
|
296
|
+
export * from "./OpenaiTypesChatChatCompletionCustomToolParamCustom";
|
|
297
|
+
export * from "./OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom";
|
|
298
|
+
export * from "./OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction";
|
|
299
|
+
export * from "./OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom";
|
|
279
300
|
export * from "./OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction";
|
|
280
301
|
export * from "./OpenaiTypesChatCompletionCreateParamsFunction";
|
|
281
302
|
export * from "./LettaMessageUnion";
|
package/api/types/index.js
CHANGED
|
@@ -45,8 +45,12 @@ __exportStar(require("./Block"), exports);
|
|
|
45
45
|
__exportStar(require("./BlockSchema"), exports);
|
|
46
46
|
__exportStar(require("./BlockUpdate"), exports);
|
|
47
47
|
__exportStar(require("./BodyExportAgentSerialized"), exports);
|
|
48
|
+
__exportStar(require("./ChatCompletionAllowedToolChoiceParam"), exports);
|
|
49
|
+
__exportStar(require("./ChatCompletionAllowedToolsParamMode"), exports);
|
|
50
|
+
__exportStar(require("./ChatCompletionAllowedToolsParam"), exports);
|
|
48
51
|
__exportStar(require("./ChatCompletionAssistantMessageParamContentItem"), exports);
|
|
49
52
|
__exportStar(require("./ChatCompletionAssistantMessageParamContent"), exports);
|
|
53
|
+
__exportStar(require("./ChatCompletionAssistantMessageParamToolCallsItem"), exports);
|
|
50
54
|
__exportStar(require("./ChatCompletionAssistantMessageParam"), exports);
|
|
51
55
|
__exportStar(require("./ChatCompletionAudioParamFormat"), exports);
|
|
52
56
|
__exportStar(require("./ChatCompletionAudioParamVoice"), exports);
|
|
@@ -55,12 +59,16 @@ __exportStar(require("./ChatCompletionContentPartImageParam"), exports);
|
|
|
55
59
|
__exportStar(require("./ChatCompletionContentPartInputAudioParam"), exports);
|
|
56
60
|
__exportStar(require("./ChatCompletionContentPartRefusalParam"), exports);
|
|
57
61
|
__exportStar(require("./ChatCompletionContentPartTextParam"), exports);
|
|
62
|
+
__exportStar(require("./ChatCompletionCustomToolParam"), exports);
|
|
58
63
|
__exportStar(require("./ChatCompletionDeveloperMessageParamContent"), exports);
|
|
59
64
|
__exportStar(require("./ChatCompletionDeveloperMessageParam"), exports);
|
|
60
65
|
__exportStar(require("./ChatCompletionFunctionCallOptionParam"), exports);
|
|
61
66
|
__exportStar(require("./ChatCompletionFunctionMessageParam"), exports);
|
|
62
|
-
__exportStar(require("./
|
|
63
|
-
__exportStar(require("./
|
|
67
|
+
__exportStar(require("./ChatCompletionFunctionToolParam"), exports);
|
|
68
|
+
__exportStar(require("./ChatCompletionMessageCustomToolCallParam"), exports);
|
|
69
|
+
__exportStar(require("./ChatCompletionMessageFunctionToolCall"), exports);
|
|
70
|
+
__exportStar(require("./ChatCompletionMessageFunctionToolCallParam"), exports);
|
|
71
|
+
__exportStar(require("./ChatCompletionNamedToolChoiceCustomParam"), exports);
|
|
64
72
|
__exportStar(require("./ChatCompletionNamedToolChoiceParam"), exports);
|
|
65
73
|
__exportStar(require("./ChatCompletionPredictionContentParamContent"), exports);
|
|
66
74
|
__exportStar(require("./ChatCompletionPredictionContentParam"), exports);
|
|
@@ -69,7 +77,6 @@ __exportStar(require("./ChatCompletionSystemMessageParamContent"), exports);
|
|
|
69
77
|
__exportStar(require("./ChatCompletionSystemMessageParam"), exports);
|
|
70
78
|
__exportStar(require("./ChatCompletionToolMessageParamContent"), exports);
|
|
71
79
|
__exportStar(require("./ChatCompletionToolMessageParam"), exports);
|
|
72
|
-
__exportStar(require("./ChatCompletionToolParam"), exports);
|
|
73
80
|
__exportStar(require("./ChatCompletionUserMessageParamContentItem"), exports);
|
|
74
81
|
__exportStar(require("./ChatCompletionUserMessageParamContent"), exports);
|
|
75
82
|
__exportStar(require("./ChatCompletionUserMessageParam"), exports);
|
|
@@ -85,6 +92,8 @@ __exportStar(require("./CompletionCreateParamsNonStreamingResponseFormat"), expo
|
|
|
85
92
|
__exportStar(require("./CompletionCreateParamsNonStreamingServiceTier"), exports);
|
|
86
93
|
__exportStar(require("./CompletionCreateParamsNonStreamingStop"), exports);
|
|
87
94
|
__exportStar(require("./CompletionCreateParamsNonStreamingToolChoice"), exports);
|
|
95
|
+
__exportStar(require("./CompletionCreateParamsNonStreamingToolsItem"), exports);
|
|
96
|
+
__exportStar(require("./CompletionCreateParamsNonStreamingVerbosity"), exports);
|
|
88
97
|
__exportStar(require("./CompletionCreateParamsNonStreaming"), exports);
|
|
89
98
|
__exportStar(require("./CompletionCreateParamsStreamingMessagesItem"), exports);
|
|
90
99
|
__exportStar(require("./CompletionCreateParamsStreamingModel"), exports);
|
|
@@ -95,6 +104,8 @@ __exportStar(require("./CompletionCreateParamsStreamingResponseFormat"), exports
|
|
|
95
104
|
__exportStar(require("./CompletionCreateParamsStreamingServiceTier"), exports);
|
|
96
105
|
__exportStar(require("./CompletionCreateParamsStreamingStop"), exports);
|
|
97
106
|
__exportStar(require("./CompletionCreateParamsStreamingToolChoice"), exports);
|
|
107
|
+
__exportStar(require("./CompletionCreateParamsStreamingToolsItem"), exports);
|
|
108
|
+
__exportStar(require("./CompletionCreateParamsStreamingVerbosity"), exports);
|
|
98
109
|
__exportStar(require("./CompletionCreateParamsStreaming"), exports);
|
|
99
110
|
__exportStar(require("./ConditionalToolRule"), exports);
|
|
100
111
|
__exportStar(require("./ConditionalToolRuleSchema"), exports);
|
|
@@ -102,6 +113,10 @@ __exportStar(require("./ContextWindowOverview"), exports);
|
|
|
102
113
|
__exportStar(require("./ContinueToolRule"), exports);
|
|
103
114
|
__exportStar(require("./CoreMemoryBlockSchema"), exports);
|
|
104
115
|
__exportStar(require("./CreateBlock"), exports);
|
|
116
|
+
__exportStar(require("./CustomFormatGrammar"), exports);
|
|
117
|
+
__exportStar(require("./CustomFormatGrammarGrammarSyntax"), exports);
|
|
118
|
+
__exportStar(require("./CustomFormatGrammarGrammar"), exports);
|
|
119
|
+
__exportStar(require("./CustomFormatText"), exports);
|
|
105
120
|
__exportStar(require("./DuplicateFileHandling"), exports);
|
|
106
121
|
__exportStar(require("./DynamicManager"), exports);
|
|
107
122
|
__exportStar(require("./DynamicManagerUpdate"), exports);
|
|
@@ -154,6 +169,7 @@ __exportStar(require("./JsonSchemaResponseFormat"), exports);
|
|
|
154
169
|
__exportStar(require("./LlmConfigModelEndpointType"), exports);
|
|
155
170
|
__exportStar(require("./LlmConfigReasoningEffort"), exports);
|
|
156
171
|
__exportStar(require("./LlmConfigCompatibilityType"), exports);
|
|
172
|
+
__exportStar(require("./LlmConfigVerbosity"), exports);
|
|
157
173
|
__exportStar(require("./LlmConfig"), exports);
|
|
158
174
|
__exportStar(require("./LettaBatchMessages"), exports);
|
|
159
175
|
__exportStar(require("./LettaBatchRequest"), exports);
|
|
@@ -169,6 +185,7 @@ __exportStar(require("./McpServerSchema"), exports);
|
|
|
169
185
|
__exportStar(require("./McpServerType"), exports);
|
|
170
186
|
__exportStar(require("./McpTool"), exports);
|
|
171
187
|
__exportStar(require("./McpToolExecuteRequest"), exports);
|
|
188
|
+
__exportStar(require("./McpToolHealth"), exports);
|
|
172
189
|
__exportStar(require("./ManagerType"), exports);
|
|
173
190
|
__exportStar(require("./MaxCountPerStepToolRule"), exports);
|
|
174
191
|
__exportStar(require("./MaxCountPerStepToolRuleSchema"), exports);
|
|
@@ -291,7 +308,11 @@ __exportStar(require("./LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolR
|
|
|
291
308
|
__exportStar(require("./LettaSerializeSchemasPydanticAgentSchemaAgentSchema"), exports);
|
|
292
309
|
__exportStar(require("./LettaSerializeSchemasPydanticAgentSchemaMessageSchema"), exports);
|
|
293
310
|
__exportStar(require("./LettaSerializeSchemasPydanticAgentSchemaToolSchema"), exports);
|
|
294
|
-
__exportStar(require("./
|
|
311
|
+
__exportStar(require("./OpenaiTypesChatChatCompletionCustomToolParamCustomFormat"), exports);
|
|
312
|
+
__exportStar(require("./OpenaiTypesChatChatCompletionCustomToolParamCustom"), exports);
|
|
313
|
+
__exportStar(require("./OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom"), exports);
|
|
314
|
+
__exportStar(require("./OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction"), exports);
|
|
315
|
+
__exportStar(require("./OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom"), exports);
|
|
295
316
|
__exportStar(require("./OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction"), exports);
|
|
296
317
|
__exportStar(require("./OpenaiTypesChatCompletionCreateParamsFunction"), exports);
|
|
297
318
|
__exportStar(require("./LettaMessageUnion"), exports);
|
|
@@ -207,7 +207,7 @@ class Agents {
|
|
|
207
207
|
method: "GET",
|
|
208
208
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
209
209
|
? yield core.Supplier.get(this._options.project)
|
|
210
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
210
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
211
211
|
contentType: "application/json",
|
|
212
212
|
queryParameters: _queryParams,
|
|
213
213
|
requestType: "json",
|
|
@@ -284,7 +284,7 @@ class Agents {
|
|
|
284
284
|
method: "POST",
|
|
285
285
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
286
286
|
? yield core.Supplier.get(this._options.project)
|
|
287
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
287
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
288
288
|
contentType: "application/json",
|
|
289
289
|
requestType: "json",
|
|
290
290
|
body: serializers.CreateAgentRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -360,7 +360,7 @@ class Agents {
|
|
|
360
360
|
method: "GET",
|
|
361
361
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
362
362
|
? yield core.Supplier.get(this._options.project)
|
|
363
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
363
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
364
364
|
contentType: "application/json",
|
|
365
365
|
requestType: "json",
|
|
366
366
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -449,7 +449,7 @@ class Agents {
|
|
|
449
449
|
method: "GET",
|
|
450
450
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
451
451
|
? yield core.Supplier.get(this._options.project)
|
|
452
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
452
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
453
453
|
contentType: "application/json",
|
|
454
454
|
queryParameters: _queryParams,
|
|
455
455
|
requestType: "json",
|
|
@@ -546,7 +546,7 @@ class Agents {
|
|
|
546
546
|
method: "POST",
|
|
547
547
|
headers: Object.assign(Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
548
548
|
? yield core.Supplier.get(this._options.project)
|
|
549
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
549
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
550
550
|
requestType: "file",
|
|
551
551
|
duplex: _maybeEncodedRequest.duplex,
|
|
552
552
|
body: _maybeEncodedRequest.body,
|
|
@@ -634,7 +634,7 @@ class Agents {
|
|
|
634
634
|
method: "GET",
|
|
635
635
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
636
636
|
? yield core.Supplier.get(this._options.project)
|
|
637
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
637
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
638
638
|
contentType: "application/json",
|
|
639
639
|
queryParameters: _queryParams,
|
|
640
640
|
requestType: "json",
|
|
@@ -711,7 +711,7 @@ class Agents {
|
|
|
711
711
|
method: "DELETE",
|
|
712
712
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
713
713
|
? yield core.Supplier.get(this._options.project)
|
|
714
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
714
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
715
715
|
contentType: "application/json",
|
|
716
716
|
requestType: "json",
|
|
717
717
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -779,7 +779,7 @@ class Agents {
|
|
|
779
779
|
method: "PATCH",
|
|
780
780
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
781
781
|
? yield core.Supplier.get(this._options.project)
|
|
782
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
782
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
783
783
|
contentType: "application/json",
|
|
784
784
|
requestType: "json",
|
|
785
785
|
body: serializers.UpdateAgent.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -865,7 +865,7 @@ class Agents {
|
|
|
865
865
|
method: "POST",
|
|
866
866
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
867
867
|
? yield core.Supplier.get(this._options.project)
|
|
868
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
868
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
869
869
|
contentType: "application/json",
|
|
870
870
|
queryParameters: _queryParams,
|
|
871
871
|
requestType: "json",
|
|
@@ -933,7 +933,7 @@ class Agents {
|
|
|
933
933
|
method: "POST",
|
|
934
934
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
935
935
|
? yield core.Supplier.get(this._options.project)
|
|
936
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
936
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
937
937
|
contentType: "application/json",
|
|
938
938
|
requestType: "json",
|
|
939
939
|
body: serializers.AgentsSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -82,7 +82,7 @@ class Blocks {
|
|
|
82
82
|
method: "GET",
|
|
83
83
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
84
84
|
? yield core.Supplier.get(this._options.project)
|
|
85
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
85
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
86
86
|
contentType: "application/json",
|
|
87
87
|
requestType: "json",
|
|
88
88
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -160,7 +160,7 @@ class Blocks {
|
|
|
160
160
|
method: "PATCH",
|
|
161
161
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
162
162
|
? yield core.Supplier.get(this._options.project)
|
|
163
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
163
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
164
164
|
contentType: "application/json",
|
|
165
165
|
requestType: "json",
|
|
166
166
|
body: serializers.BlockUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -237,7 +237,7 @@ class Blocks {
|
|
|
237
237
|
method: "GET",
|
|
238
238
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
239
239
|
? yield core.Supplier.get(this._options.project)
|
|
240
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
240
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
241
241
|
contentType: "application/json",
|
|
242
242
|
requestType: "json",
|
|
243
243
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -314,7 +314,7 @@ class Blocks {
|
|
|
314
314
|
method: "PATCH",
|
|
315
315
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
316
316
|
? yield core.Supplier.get(this._options.project)
|
|
317
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
317
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
318
318
|
contentType: "application/json",
|
|
319
319
|
requestType: "json",
|
|
320
320
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -391,7 +391,7 @@ class Blocks {
|
|
|
391
391
|
method: "PATCH",
|
|
392
392
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
393
393
|
? yield core.Supplier.get(this._options.project)
|
|
394
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
394
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
395
395
|
contentType: "application/json",
|
|
396
396
|
requestType: "json",
|
|
397
397
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -81,7 +81,7 @@ class Context {
|
|
|
81
81
|
method: "GET",
|
|
82
82
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
83
83
|
? yield core.Supplier.get(this._options.project)
|
|
84
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
84
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
85
85
|
contentType: "application/json",
|
|
86
86
|
requestType: "json",
|
|
87
87
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -82,7 +82,7 @@ class CoreMemory {
|
|
|
82
82
|
method: "GET",
|
|
83
83
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
84
84
|
? yield core.Supplier.get(this._options.project)
|
|
85
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
85
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
86
86
|
contentType: "application/json",
|
|
87
87
|
requestType: "json",
|
|
88
88
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -84,7 +84,7 @@ class Files {
|
|
|
84
84
|
method: "PATCH",
|
|
85
85
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
86
86
|
? yield core.Supplier.get(this._options.project)
|
|
87
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
87
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
88
88
|
contentType: "application/json",
|
|
89
89
|
requestType: "json",
|
|
90
90
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -165,7 +165,7 @@ class Files {
|
|
|
165
165
|
method: "PATCH",
|
|
166
166
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
167
167
|
? yield core.Supplier.get(this._options.project)
|
|
168
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
168
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
169
169
|
contentType: "application/json",
|
|
170
170
|
requestType: "json",
|
|
171
171
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -245,7 +245,7 @@ class Files {
|
|
|
245
245
|
method: "PATCH",
|
|
246
246
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
247
247
|
? yield core.Supplier.get(this._options.project)
|
|
248
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
248
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
249
249
|
contentType: "application/json",
|
|
250
250
|
requestType: "json",
|
|
251
251
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -82,7 +82,7 @@ class Folders {
|
|
|
82
82
|
method: "PATCH",
|
|
83
83
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
84
84
|
? yield core.Supplier.get(this._options.project)
|
|
85
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
85
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
86
86
|
contentType: "application/json",
|
|
87
87
|
requestType: "json",
|
|
88
88
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -159,7 +159,7 @@ class Folders {
|
|
|
159
159
|
method: "PATCH",
|
|
160
160
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
161
161
|
? yield core.Supplier.get(this._options.project)
|
|
162
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
162
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
163
163
|
contentType: "application/json",
|
|
164
164
|
requestType: "json",
|
|
165
165
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -235,7 +235,7 @@ class Folders {
|
|
|
235
235
|
method: "GET",
|
|
236
236
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
237
237
|
? yield core.Supplier.get(this._options.project)
|
|
238
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
238
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
239
239
|
contentType: "application/json",
|
|
240
240
|
requestType: "json",
|
|
241
241
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -87,7 +87,7 @@ class Groups {
|
|
|
87
87
|
method: "GET",
|
|
88
88
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
89
89
|
? yield core.Supplier.get(this._options.project)
|
|
90
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
90
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.180", "User-Agent": "@letta-ai/letta-client/0.1.180", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
91
91
|
contentType: "application/json",
|
|
92
92
|
queryParameters: _queryParams,
|
|
93
93
|
requestType: "json",
|