@letta-ai/letta-client 0.1.178 → 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.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/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.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/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/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/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/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/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,43 @@
|
|
|
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.OpenaiTypesChatChatCompletionCustomToolParamCustomFormat = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const CustomFormatText_1 = require("./CustomFormatText");
|
|
42
|
+
const CustomFormatGrammar_1 = require("./CustomFormatGrammar");
|
|
43
|
+
exports.OpenaiTypesChatChatCompletionCustomToolParamCustomFormat = core.serialization.undiscriminatedUnion([CustomFormatText_1.CustomFormatText, CustomFormatGrammar_1.CustomFormatGrammar]);
|
package/serialization/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
export declare const OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom: core.serialization.ObjectSchema<serializers.OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.Raw, Letta.OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom>;
|
|
8
|
+
export declare namespace OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom {
|
|
9
|
+
interface Raw {
|
|
10
|
+
input: string;
|
|
11
|
+
name: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom = core.serialization.object({
|
|
42
|
+
input: core.serialization.string(),
|
|
43
|
+
name: core.serialization.string(),
|
|
44
|
+
});
|
package/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
export declare const OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction: core.serialization.ObjectSchema<serializers.OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.Raw, Letta.OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction>;
|
|
8
|
+
export declare namespace OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction {
|
|
9
|
+
interface Raw {
|
|
10
|
+
arguments: string;
|
|
11
|
+
name: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -36,9 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
exports.
|
|
41
|
+
exports.OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction = core.serialization.object({
|
|
42
42
|
arguments: core.serialization.string(),
|
|
43
43
|
name: core.serialization.string(),
|
|
44
44
|
});
|
package/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
export declare const OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom: core.serialization.ObjectSchema<serializers.OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.Raw, Letta.OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom>;
|
|
8
|
+
export declare namespace OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom = core.serialization.object({
|
|
42
|
+
name: core.serialization.string(),
|
|
43
|
+
});
|
|
@@ -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";
|
|
@@ -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);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.179";
|
package/version.js
CHANGED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Letta from "../index";
|
|
5
|
-
export interface ChatCompletionMessageToolCallParam {
|
|
6
|
-
id: string;
|
|
7
|
-
function: Letta.OpenaiTypesChatChatCompletionMessageToolCallParamFunction;
|
|
8
|
-
type: "function";
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Letta from "../index";
|
|
5
|
-
export interface ChatCompletionMessageToolCallParam {
|
|
6
|
-
id: string;
|
|
7
|
-
function: Letta.OpenaiTypesChatChatCompletionMessageToolCallParamFunction;
|
|
8
|
-
type: "function";
|
|
9
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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 { OpenaiTypesChatChatCompletionMessageToolCallParamFunction } from "./OpenaiTypesChatChatCompletionMessageToolCallParamFunction";
|
|
8
|
-
export declare const ChatCompletionMessageToolCallParam: core.serialization.ObjectSchema<serializers.ChatCompletionMessageToolCallParam.Raw, Letta.ChatCompletionMessageToolCallParam>;
|
|
9
|
-
export declare namespace ChatCompletionMessageToolCallParam {
|
|
10
|
-
interface Raw {
|
|
11
|
-
id: string;
|
|
12
|
-
function: OpenaiTypesChatChatCompletionMessageToolCallParamFunction.Raw;
|
|
13
|
-
type: "function";
|
|
14
|
-
}
|
|
15
|
-
}
|
package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageToolCallParamFunction.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
export declare const OpenaiTypesChatChatCompletionMessageToolCallParamFunction: core.serialization.ObjectSchema<serializers.OpenaiTypesChatChatCompletionMessageToolCallParamFunction.Raw, Letta.OpenaiTypesChatChatCompletionMessageToolCallParamFunction>;
|
|
8
|
-
export declare namespace OpenaiTypesChatChatCompletionMessageToolCallParamFunction {
|
|
9
|
-
interface Raw {
|
|
10
|
-
arguments: string;
|
|
11
|
-
name: string;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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 { OpenaiTypesChatChatCompletionMessageToolCallParamFunction } from "./OpenaiTypesChatChatCompletionMessageToolCallParamFunction";
|
|
8
|
-
export declare const ChatCompletionMessageToolCallParam: core.serialization.ObjectSchema<serializers.ChatCompletionMessageToolCallParam.Raw, Letta.ChatCompletionMessageToolCallParam>;
|
|
9
|
-
export declare namespace ChatCompletionMessageToolCallParam {
|
|
10
|
-
interface Raw {
|
|
11
|
-
id: string;
|
|
12
|
-
function: OpenaiTypesChatChatCompletionMessageToolCallParamFunction.Raw;
|
|
13
|
-
type: "function";
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
export declare const OpenaiTypesChatChatCompletionMessageToolCallParamFunction: core.serialization.ObjectSchema<serializers.OpenaiTypesChatChatCompletionMessageToolCallParamFunction.Raw, Letta.OpenaiTypesChatChatCompletionMessageToolCallParamFunction>;
|
|
8
|
-
export declare namespace OpenaiTypesChatChatCompletionMessageToolCallParamFunction {
|
|
9
|
-
interface Raw {
|
|
10
|
-
arguments: string;
|
|
11
|
-
name: string;
|
|
12
|
-
}
|
|
13
|
-
}
|
/package/api/types/{ChatCompletionMessageToolCall.js → ChatCompletionAllowedToolChoiceParam.js}
RENAMED
|
File without changes
|
/package/api/types/{ChatCompletionMessageToolCallParam.js → ChatCompletionAllowedToolsParam.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|