@letta-ai/letta-client 0.1.177 → 0.1.179
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.d.ts +2 -4
- package/api/resources/agents/resources/messages/client/Client.js +12 -14
- package/api/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.d.ts +1 -5
- 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/tools/client/requests/ToolUpdate.d.ts +2 -0
- 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/CodeInput.d.ts +3 -1
- 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/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 +24 -4
- package/api/types/index.js +24 -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.d.ts +2 -4
- package/dist/api/resources/agents/resources/messages/client/Client.js +12 -14
- package/dist/api/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.d.ts +1 -5
- 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/tools/client/requests/ToolUpdate.d.ts +2 -0
- 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/CodeInput.d.ts +3 -1
- 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/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 +24 -4
- package/dist/api/types/index.js +24 -4
- package/dist/serialization/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.d.ts +0 -1
- package/dist/serialization/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.js +0 -1
- package/dist/serialization/resources/tools/client/requests/ToolUpdate.d.ts +1 -0
- package/dist/serialization/resources/tools/client/requests/ToolUpdate.js +1 -0
- 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/CodeInput.d.ts +1 -0
- package/dist/serialization/types/CodeInput.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/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 +24 -4
- package/dist/serialization/types/index.js +24 -4
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +1 -3
- package/serialization/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.d.ts +0 -1
- package/serialization/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.js +0 -1
- package/serialization/resources/tools/client/requests/ToolUpdate.d.ts +1 -0
- package/serialization/resources/tools/client/requests/ToolUpdate.js +1 -0
- 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/CodeInput.d.ts +1 -0
- package/serialization/types/CodeInput.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/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 +24 -4
- package/serialization/types/index.js +24 -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
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type CompletionCreateParamsNonStreamingVerbosity = "low" | "medium" | "high";
|
|
5
|
+
export declare const CompletionCreateParamsNonStreamingVerbosity: {
|
|
6
|
+
readonly Low: "low";
|
|
7
|
+
readonly Medium: "medium";
|
|
8
|
+
readonly High: "high";
|
|
9
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.CompletionCreateParamsNonStreamingVerbosity = void 0;
|
|
7
|
+
exports.CompletionCreateParamsNonStreamingVerbosity = {
|
|
8
|
+
Low: "low",
|
|
9
|
+
Medium: "medium",
|
|
10
|
+
High: "high",
|
|
11
|
+
};
|
|
@@ -30,10 +30,11 @@ export interface CompletionCreateParamsStreaming {
|
|
|
30
30
|
streamOptions?: Letta.ChatCompletionStreamOptionsParam;
|
|
31
31
|
temperature?: number;
|
|
32
32
|
toolChoice?: Letta.CompletionCreateParamsStreamingToolChoice;
|
|
33
|
-
tools?: Letta.
|
|
33
|
+
tools?: Letta.CompletionCreateParamsStreamingToolsItem[];
|
|
34
34
|
topLogprobs?: number;
|
|
35
35
|
topP?: number;
|
|
36
36
|
user?: string;
|
|
37
|
+
verbosity?: Letta.CompletionCreateParamsStreamingVerbosity;
|
|
37
38
|
webSearchOptions?: Letta.WebSearchOptions;
|
|
38
39
|
stream: boolean;
|
|
39
40
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type CompletionCreateParamsStreamingModel = string | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "gpt-4.1-2025-04-14" | "gpt-4.1-mini-2025-04-14" | "gpt-4.1-nano-2025-04-14" | "o4-mini" | "o4-mini-2025-04-16" | "o3" | "o3-2025-04-16" | "o3-mini" | "o3-mini-2025-01-31" | "o1" | "o1-2024-12-17" | "o1-preview" | "o1-preview-2024-09-12" | "o1-mini" | "o1-mini-2024-09-12" | "gpt-4o" | "gpt-4o-2024-11-20" | "gpt-4o-2024-08-06" | "gpt-4o-2024-05-13" | "gpt-4o-audio-preview" | "gpt-4o-audio-preview-2024-10-01" | "gpt-4o-audio-preview-2024-12-17" | "gpt-4o-audio-preview-2025-06-03" | "gpt-4o-mini-audio-preview" | "gpt-4o-mini-audio-preview-2024-12-17" | "gpt-4o-search-preview" | "gpt-4o-mini-search-preview" | "gpt-4o-search-preview-2025-03-11" | "gpt-4o-mini-search-preview-2025-03-11" | "chatgpt-4o-latest" | "codex-mini-latest" | "gpt-4o-mini" | "gpt-4o-mini-2024-07-18" | "gpt-4-turbo" | "gpt-4-turbo-2024-04-09" | "gpt-4-0125-preview" | "gpt-4-turbo-preview" | "gpt-4-1106-preview" | "gpt-4-vision-preview" | "gpt-4" | "gpt-4-0314" | "gpt-4-0613" | "gpt-4-32k" | "gpt-4-32k-0314" | "gpt-4-32k-0613" | "gpt-3.5-turbo" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo-0301" | "gpt-3.5-turbo-0613" | "gpt-3.5-turbo-1106" | "gpt-3.5-turbo-0125" | "gpt-3.5-turbo-16k-0613";
|
|
4
|
+
export type CompletionCreateParamsStreamingModel = string | "gpt-5" | "gpt-5-mini" | "gpt-5-nano" | "gpt-5-2025-08-07" | "gpt-5-mini-2025-08-07" | "gpt-5-nano-2025-08-07" | "gpt-5-chat-latest" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "gpt-4.1-2025-04-14" | "gpt-4.1-mini-2025-04-14" | "gpt-4.1-nano-2025-04-14" | "o4-mini" | "o4-mini-2025-04-16" | "o3" | "o3-2025-04-16" | "o3-mini" | "o3-mini-2025-01-31" | "o1" | "o1-2024-12-17" | "o1-preview" | "o1-preview-2024-09-12" | "o1-mini" | "o1-mini-2024-09-12" | "gpt-4o" | "gpt-4o-2024-11-20" | "gpt-4o-2024-08-06" | "gpt-4o-2024-05-13" | "gpt-4o-audio-preview" | "gpt-4o-audio-preview-2024-10-01" | "gpt-4o-audio-preview-2024-12-17" | "gpt-4o-audio-preview-2025-06-03" | "gpt-4o-mini-audio-preview" | "gpt-4o-mini-audio-preview-2024-12-17" | "gpt-4o-search-preview" | "gpt-4o-mini-search-preview" | "gpt-4o-search-preview-2025-03-11" | "gpt-4o-mini-search-preview-2025-03-11" | "chatgpt-4o-latest" | "codex-mini-latest" | "gpt-4o-mini" | "gpt-4o-mini-2024-07-18" | "gpt-4-turbo" | "gpt-4-turbo-2024-04-09" | "gpt-4-0125-preview" | "gpt-4-turbo-preview" | "gpt-4-1106-preview" | "gpt-4-vision-preview" | "gpt-4" | "gpt-4-0314" | "gpt-4-0613" | "gpt-4-32k" | "gpt-4-32k-0314" | "gpt-4-32k-0613" | "gpt-3.5-turbo" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo-0301" | "gpt-3.5-turbo-0613" | "gpt-3.5-turbo-1106" | "gpt-3.5-turbo-0125" | "gpt-3.5-turbo-16k-0613";
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type CompletionCreateParamsStreamingReasoningEffort = "low" | "medium" | "high";
|
|
4
|
+
export type CompletionCreateParamsStreamingReasoningEffort = "minimal" | "low" | "medium" | "high";
|
|
5
5
|
export declare const CompletionCreateParamsStreamingReasoningEffort: {
|
|
6
|
+
readonly Minimal: "minimal";
|
|
6
7
|
readonly Low: "low";
|
|
7
8
|
readonly Medium: "medium";
|
|
8
9
|
readonly High: "high";
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Letta from "../index";
|
|
5
|
-
export type CompletionCreateParamsStreamingToolChoice = "none" | "auto" | "required" | Letta.ChatCompletionNamedToolChoiceParam;
|
|
5
|
+
export type CompletionCreateParamsStreamingToolChoice = "none" | "auto" | "required" | Letta.ChatCompletionAllowedToolChoiceParam | Letta.ChatCompletionNamedToolChoiceParam | Letta.ChatCompletionNamedToolChoiceCustomParam;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type CompletionCreateParamsStreamingVerbosity = "low" | "medium" | "high";
|
|
5
|
+
export declare const CompletionCreateParamsStreamingVerbosity: {
|
|
6
|
+
readonly Low: "low";
|
|
7
|
+
readonly Medium: "medium";
|
|
8
|
+
readonly High: "high";
|
|
9
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.CompletionCreateParamsStreamingVerbosity = void 0;
|
|
7
|
+
exports.CompletionCreateParamsStreamingVerbosity = {
|
|
8
|
+
Low: "low",
|
|
9
|
+
Medium: "medium",
|
|
10
|
+
High: "high",
|
|
11
|
+
};
|
|
@@ -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.CustomFormatGrammarGrammarSyntax = void 0;
|
|
7
|
+
exports.CustomFormatGrammarGrammarSyntax = {
|
|
8
|
+
Lark: "lark",
|
|
9
|
+
Regex: "regex",
|
|
10
|
+
};
|
|
@@ -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
|
+
}
|
|
@@ -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
|
}
|
|
@@ -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";
|
|
@@ -153,6 +168,7 @@ export * from "./McpServerSchema";
|
|
|
153
168
|
export * from "./McpServerType";
|
|
154
169
|
export * from "./McpTool";
|
|
155
170
|
export * from "./McpToolExecuteRequest";
|
|
171
|
+
export * from "./McpToolHealth";
|
|
156
172
|
export * from "./ManagerType";
|
|
157
173
|
export * from "./MaxCountPerStepToolRule";
|
|
158
174
|
export * from "./MaxCountPerStepToolRuleSchema";
|
|
@@ -275,7 +291,11 @@ export * from "./LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesIte
|
|
|
275
291
|
export * from "./LettaSerializeSchemasPydanticAgentSchemaAgentSchema";
|
|
276
292
|
export * from "./LettaSerializeSchemasPydanticAgentSchemaMessageSchema";
|
|
277
293
|
export * from "./LettaSerializeSchemasPydanticAgentSchemaToolSchema";
|
|
278
|
-
export * from "./
|
|
294
|
+
export * from "./OpenaiTypesChatChatCompletionCustomToolParamCustomFormat";
|
|
295
|
+
export * from "./OpenaiTypesChatChatCompletionCustomToolParamCustom";
|
|
296
|
+
export * from "./OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom";
|
|
297
|
+
export * from "./OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction";
|
|
298
|
+
export * from "./OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom";
|
|
279
299
|
export * from "./OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction";
|
|
280
300
|
export * from "./OpenaiTypesChatCompletionCreateParamsFunction";
|
|
281
301
|
export * from "./LettaMessageUnion";
|
package/dist/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);
|
|
@@ -169,6 +184,7 @@ __exportStar(require("./McpServerSchema"), exports);
|
|
|
169
184
|
__exportStar(require("./McpServerType"), exports);
|
|
170
185
|
__exportStar(require("./McpTool"), exports);
|
|
171
186
|
__exportStar(require("./McpToolExecuteRequest"), exports);
|
|
187
|
+
__exportStar(require("./McpToolHealth"), exports);
|
|
172
188
|
__exportStar(require("./ManagerType"), exports);
|
|
173
189
|
__exportStar(require("./MaxCountPerStepToolRule"), exports);
|
|
174
190
|
__exportStar(require("./MaxCountPerStepToolRuleSchema"), exports);
|
|
@@ -291,7 +307,11 @@ __exportStar(require("./LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolR
|
|
|
291
307
|
__exportStar(require("./LettaSerializeSchemasPydanticAgentSchemaAgentSchema"), exports);
|
|
292
308
|
__exportStar(require("./LettaSerializeSchemasPydanticAgentSchemaMessageSchema"), exports);
|
|
293
309
|
__exportStar(require("./LettaSerializeSchemasPydanticAgentSchemaToolSchema"), exports);
|
|
294
|
-
__exportStar(require("./
|
|
310
|
+
__exportStar(require("./OpenaiTypesChatChatCompletionCustomToolParamCustomFormat"), exports);
|
|
311
|
+
__exportStar(require("./OpenaiTypesChatChatCompletionCustomToolParamCustom"), exports);
|
|
312
|
+
__exportStar(require("./OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom"), exports);
|
|
313
|
+
__exportStar(require("./OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction"), exports);
|
|
314
|
+
__exportStar(require("./OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom"), exports);
|
|
295
315
|
__exportStar(require("./OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction"), exports);
|
|
296
316
|
__exportStar(require("./OpenaiTypesChatCompletionCreateParamsFunction"), exports);
|
|
297
317
|
__exportStar(require("./LettaMessageUnion"), exports);
|
|
@@ -7,7 +7,6 @@ import * as core from "../../../../../../../core";
|
|
|
7
7
|
export declare const CancelAgentRunRequest: core.serialization.Schema<serializers.agents.CancelAgentRunRequest.Raw, Letta.agents.CancelAgentRunRequest>;
|
|
8
8
|
export declare namespace CancelAgentRunRequest {
|
|
9
9
|
interface Raw {
|
|
10
|
-
agent_id: string;
|
|
11
10
|
run_ids?: string[] | null;
|
|
12
11
|
}
|
|
13
12
|
}
|
|
@@ -39,6 +39,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.CancelAgentRunRequest = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../../core"));
|
|
41
41
|
exports.CancelAgentRunRequest = core.serialization.object({
|
|
42
|
-
cancelAgentRunRequestAgentId: core.serialization.property("agent_id", core.serialization.string()),
|
|
43
42
|
runIds: core.serialization.property("run_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
44
43
|
});
|
|
@@ -50,4 +50,5 @@ exports.ToolUpdate = core.serialization.object({
|
|
|
50
50
|
returnCharLimit: core.serialization.property("return_char_limit", core.serialization.number().optional()),
|
|
51
51
|
pipRequirements: core.serialization.property("pip_requirements", core.serialization.list(PipRequirement_1.PipRequirement).optional()),
|
|
52
52
|
npmRequirements: core.serialization.property("npm_requirements", core.serialization.list(NpmRequirement_1.NpmRequirement).optional()),
|
|
53
|
+
metadata: core.serialization.property("metadata_", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
53
54
|
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Letta from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { ChatCompletionAllowedToolsParam } from "./ChatCompletionAllowedToolsParam";
|
|
8
|
+
export declare const ChatCompletionAllowedToolChoiceParam: core.serialization.ObjectSchema<serializers.ChatCompletionAllowedToolChoiceParam.Raw, Letta.ChatCompletionAllowedToolChoiceParam>;
|
|
9
|
+
export declare namespace ChatCompletionAllowedToolChoiceParam {
|
|
10
|
+
interface Raw {
|
|
11
|
+
allowed_tools: ChatCompletionAllowedToolsParam.Raw;
|
|
12
|
+
type: "allowed_tools";
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ChatCompletionAllowedToolChoiceParam = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const ChatCompletionAllowedToolsParam_1 = require("./ChatCompletionAllowedToolsParam");
|
|
42
|
+
exports.ChatCompletionAllowedToolChoiceParam = core.serialization.object({
|
|
43
|
+
allowedTools: core.serialization.property("allowed_tools", ChatCompletionAllowedToolsParam_1.ChatCompletionAllowedToolsParam),
|
|
44
|
+
type: core.serialization.stringLiteral("allowed_tools"),
|
|
45
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Letta from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { ChatCompletionAllowedToolsParamMode } from "./ChatCompletionAllowedToolsParamMode";
|
|
8
|
+
export declare const ChatCompletionAllowedToolsParam: core.serialization.ObjectSchema<serializers.ChatCompletionAllowedToolsParam.Raw, Letta.ChatCompletionAllowedToolsParam>;
|
|
9
|
+
export declare namespace ChatCompletionAllowedToolsParam {
|
|
10
|
+
interface Raw {
|
|
11
|
+
mode: ChatCompletionAllowedToolsParamMode.Raw;
|
|
12
|
+
tools: Record<string, unknown>[];
|
|
13
|
+
}
|
|
14
|
+
}
|