@letta-ai/letta-client 0.0.68660 → 0.0.68662
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 +9 -9
- 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 +4 -4
- 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 +10 -10
- package/api/resources/agents/resources/passages/client/Client.js +5 -5
- 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 +4 -4
- package/api/resources/archives/client/Client.js +3 -3
- package/api/resources/batches/client/Client.js +4 -4
- package/api/resources/batches/resources/messages/client/Client.js +1 -1
- 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/folders/client/Client.js +8 -8
- package/api/resources/folders/resources/agents/client/Client.js +1 -1
- 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/agents/client/Client.js +1 -1
- package/api/resources/identities/resources/blocks/client/Client.js +1 -1
- package/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/api/resources/jobs/client/Client.js +5 -5
- package/api/resources/models/client/Client.js +2 -2
- package/api/resources/models/resources/embeddings/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 +5 -5
- 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 +2 -2
- package/api/resources/steps/resources/feedback/client/Client.js +1 -1
- package/api/resources/steps/resources/messages/client/Client.js +1 -1
- package/api/resources/steps/resources/metrics/client/Client.js +1 -1
- package/api/resources/steps/resources/trace/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 +11 -11
- package/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.d.ts +2 -1
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.js +1 -0
- package/api/resources/tools/client/Client.js +20 -20
- package/api/resources/voice/client/Client.js +1 -1
- package/api/types/AgentType.d.ts +2 -1
- package/api/types/AgentType.js +1 -0
- package/{dist/api/types/ChatCompletionMessageFunctionToolCallOutput.d.ts → api/types/ChatCompletionMessageFunctionToolCall.d.ts} +2 -2
- package/{dist/api/types/FunctionOutput.d.ts → api/types/Function.d.ts} +1 -1
- package/api/types/{FunctionDefinitionOutput.d.ts → FunctionDefinition.d.ts} +1 -1
- package/api/types/FunctionTool.d.ts +1 -1
- package/api/types/LettaSchemasAgentFileMessageSchema.d.ts +1 -1
- package/api/types/Message.d.ts +1 -1
- package/api/types/MessageContentItem.d.ts +1 -1
- package/api/types/OmittedReasoningContent.d.ts +3 -0
- package/api/types/ReasoningContent.d.ts +3 -0
- package/api/types/RedactedReasoningContent.d.ts +3 -0
- package/api/types/SummarizedReasoningContent.d.ts +16 -0
- package/api/types/SummarizedReasoningContentPart.d.ts +9 -0
- package/api/types/index.d.ts +5 -91
- package/api/types/index.js +5 -91
- package/dist/api/resources/agents/client/Client.js +9 -9
- 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 +4 -4
- 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 +10 -10
- package/dist/api/resources/agents/resources/passages/client/Client.js +5 -5
- 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 +4 -4
- package/dist/api/resources/archives/client/Client.js +3 -3
- package/dist/api/resources/batches/client/Client.js +4 -4
- package/dist/api/resources/batches/resources/messages/client/Client.js +1 -1
- 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/folders/client/Client.js +8 -8
- package/dist/api/resources/folders/resources/agents/client/Client.js +1 -1
- 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/agents/client/Client.js +1 -1
- package/dist/api/resources/identities/resources/blocks/client/Client.js +1 -1
- 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/models/client/Client.js +2 -2
- package/dist/api/resources/models/resources/embeddings/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 +5 -5
- 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 +2 -2
- package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
- package/dist/api/resources/steps/resources/messages/client/Client.js +1 -1
- package/dist/api/resources/steps/resources/metrics/client/Client.js +1 -1
- package/dist/api/resources/steps/resources/trace/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 +11 -11
- package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.d.ts +2 -1
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.js +1 -0
- package/dist/api/resources/tools/client/Client.js +20 -20
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/api/types/AgentType.d.ts +2 -1
- package/dist/api/types/AgentType.js +1 -0
- package/{api/types/ChatCompletionMessageFunctionToolCallOutput.d.ts → dist/api/types/ChatCompletionMessageFunctionToolCall.d.ts} +2 -2
- package/{api/types/FunctionOutput.d.ts → dist/api/types/Function.d.ts} +1 -1
- package/dist/api/types/{FunctionDefinitionOutput.d.ts → FunctionDefinition.d.ts} +1 -1
- package/dist/api/types/FunctionTool.d.ts +1 -1
- package/dist/api/types/LettaSchemasAgentFileMessageSchema.d.ts +1 -1
- package/dist/api/types/Message.d.ts +1 -1
- package/dist/api/types/MessageContentItem.d.ts +1 -1
- package/dist/api/types/OmittedReasoningContent.d.ts +3 -0
- package/dist/api/types/ReasoningContent.d.ts +3 -0
- package/dist/api/types/RedactedReasoningContent.d.ts +3 -0
- package/dist/api/types/SummarizedReasoningContent.d.ts +16 -0
- package/dist/api/types/SummarizedReasoningContentPart.d.ts +9 -0
- package/dist/api/types/index.d.ts +5 -91
- package/dist/api/types/index.js +5 -91
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.d.ts +1 -1
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.js +1 -0
- package/dist/serialization/types/AgentType.d.ts +1 -1
- package/dist/serialization/types/AgentType.js +1 -0
- package/dist/serialization/types/ChatCompletionMessageFunctionToolCall.d.ts +16 -0
- package/dist/serialization/types/{ChatCompletionMessageFunctionToolCallOutput.js → ChatCompletionMessageFunctionToolCall.js} +4 -4
- package/dist/serialization/types/{FunctionOutput.d.ts → Function.d.ts} +2 -2
- package/dist/serialization/types/{FunctionOutput.js → Function.js} +2 -2
- package/dist/serialization/types/{FunctionDefinitionOutput.d.ts → FunctionDefinition.d.ts} +2 -2
- package/dist/serialization/types/{FunctionDefinitionOutput.js → FunctionDefinition.js} +2 -2
- package/dist/serialization/types/FunctionTool.d.ts +2 -2
- package/dist/serialization/types/FunctionTool.js +2 -2
- package/dist/serialization/types/LettaSchemasAgentFileMessageSchema.d.ts +2 -2
- package/dist/serialization/types/LettaSchemasAgentFileMessageSchema.js +2 -2
- package/dist/serialization/types/Message.d.ts +2 -2
- package/dist/serialization/types/Message.js +2 -2
- package/dist/serialization/types/MessageContentItem.d.ts +2 -1
- package/dist/serialization/types/MessageContentItem.js +2 -0
- package/dist/serialization/types/SummarizedReasoningContent.d.ts +16 -0
- package/{serialization/types/ChatCompletionMessageCustomToolCallParam.js → dist/serialization/types/SummarizedReasoningContent.js} +6 -5
- package/dist/serialization/types/SummarizedReasoningContentPart.d.ts +13 -0
- package/{serialization/types/ChatCompletionContentPartTextParam.js → dist/serialization/types/SummarizedReasoningContentPart.js} +3 -3
- package/dist/serialization/types/index.d.ts +5 -91
- package/dist/serialization/types/index.js +5 -91
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.d.ts +1 -1
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.js +1 -0
- package/serialization/types/AgentType.d.ts +1 -1
- package/serialization/types/AgentType.js +1 -0
- package/serialization/types/ChatCompletionMessageFunctionToolCall.d.ts +16 -0
- package/serialization/types/{ChatCompletionMessageFunctionToolCallOutput.js → ChatCompletionMessageFunctionToolCall.js} +4 -4
- package/serialization/types/{FunctionOutput.d.ts → Function.d.ts} +2 -2
- package/serialization/types/{FunctionOutput.js → Function.js} +2 -2
- package/serialization/types/{FunctionDefinitionOutput.d.ts → FunctionDefinition.d.ts} +2 -2
- package/serialization/types/{FunctionDefinitionOutput.js → FunctionDefinition.js} +2 -2
- package/serialization/types/FunctionTool.d.ts +2 -2
- package/serialization/types/FunctionTool.js +2 -2
- package/serialization/types/LettaSchemasAgentFileMessageSchema.d.ts +2 -2
- package/serialization/types/LettaSchemasAgentFileMessageSchema.js +2 -2
- package/serialization/types/Message.d.ts +2 -2
- package/serialization/types/Message.js +2 -2
- package/serialization/types/MessageContentItem.d.ts +2 -1
- package/serialization/types/MessageContentItem.js +2 -0
- package/serialization/types/SummarizedReasoningContent.d.ts +16 -0
- package/{dist/serialization/types/ChatCompletionMessageCustomToolCallParam.js → serialization/types/SummarizedReasoningContent.js} +6 -5
- package/serialization/types/SummarizedReasoningContentPart.d.ts +13 -0
- package/{dist/serialization/types/ChatCompletionContentPartTextParam.js → serialization/types/SummarizedReasoningContentPart.js} +3 -3
- package/serialization/types/index.d.ts +5 -91
- package/serialization/types/index.js +5 -91
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/Audio.d.ts +0 -6
- package/api/types/ChatCompletionAllowedToolChoiceParam.d.ts +0 -8
- package/api/types/ChatCompletionAllowedToolsParam.d.ts +0 -8
- package/api/types/ChatCompletionAllowedToolsParamMode.d.ts +0 -8
- package/api/types/ChatCompletionAllowedToolsParamMode.js +0 -10
- package/api/types/ChatCompletionAssistantMessageParam.d.ts +0 -13
- package/api/types/ChatCompletionAssistantMessageParamContent.d.ts +0 -5
- package/api/types/ChatCompletionAssistantMessageParamContentItem.d.ts +0 -5
- package/api/types/ChatCompletionAssistantMessageParamToolCallsItem.d.ts +0 -5
- package/api/types/ChatCompletionAudioParam.d.ts +0 -8
- package/api/types/ChatCompletionAudioParamFormat.d.ts +0 -12
- package/api/types/ChatCompletionAudioParamFormat.js +0 -14
- package/api/types/ChatCompletionAudioParamVoice.d.ts +0 -4
- package/api/types/ChatCompletionContentPartImageParam.d.ts +0 -8
- package/api/types/ChatCompletionContentPartInputAudioParam.d.ts +0 -8
- package/api/types/ChatCompletionContentPartInputAudioParam.js +0 -5
- package/api/types/ChatCompletionContentPartRefusalParam.d.ts +0 -7
- package/api/types/ChatCompletionContentPartRefusalParam.js +0 -5
- package/api/types/ChatCompletionContentPartTextParam.d.ts +0 -7
- package/api/types/ChatCompletionContentPartTextParam.js +0 -5
- package/api/types/ChatCompletionCustomToolParam.d.ts +0 -8
- package/api/types/ChatCompletionCustomToolParam.js +0 -5
- package/api/types/ChatCompletionDeveloperMessageParam.d.ts +0 -9
- package/api/types/ChatCompletionDeveloperMessageParam.js +0 -5
- package/api/types/ChatCompletionDeveloperMessageParamContent.d.ts +0 -5
- package/api/types/ChatCompletionDeveloperMessageParamContent.js +0 -5
- package/api/types/ChatCompletionFunctionCallOptionParam.d.ts +0 -6
- package/api/types/ChatCompletionFunctionCallOptionParam.js +0 -5
- package/api/types/ChatCompletionFunctionMessageParam.d.ts +0 -8
- package/api/types/ChatCompletionFunctionMessageParam.js +0 -5
- package/api/types/ChatCompletionFunctionToolParam.d.ts +0 -8
- package/api/types/ChatCompletionFunctionToolParam.js +0 -5
- package/api/types/ChatCompletionMessageCustomToolCallParam.d.ts +0 -9
- package/api/types/ChatCompletionMessageCustomToolCallParam.js +0 -5
- package/api/types/ChatCompletionMessageFunctionToolCallInput.d.ts +0 -11
- package/api/types/ChatCompletionMessageFunctionToolCallInput.js +0 -5
- package/api/types/ChatCompletionMessageFunctionToolCallOutput.js +0 -5
- package/api/types/ChatCompletionMessageFunctionToolCallParam.d.ts +0 -9
- package/api/types/ChatCompletionMessageFunctionToolCallParam.js +0 -5
- package/api/types/ChatCompletionNamedToolChoiceCustomParam.d.ts +0 -8
- package/api/types/ChatCompletionNamedToolChoiceCustomParam.js +0 -5
- package/api/types/ChatCompletionNamedToolChoiceParam.d.ts +0 -8
- package/api/types/ChatCompletionNamedToolChoiceParam.js +0 -5
- package/api/types/ChatCompletionPredictionContentParam.d.ts +0 -8
- package/api/types/ChatCompletionPredictionContentParam.js +0 -5
- package/api/types/ChatCompletionPredictionContentParamContent.d.ts +0 -5
- package/api/types/ChatCompletionPredictionContentParamContent.js +0 -5
- package/api/types/ChatCompletionStreamOptionsParam.d.ts +0 -7
- package/api/types/ChatCompletionStreamOptionsParam.js +0 -5
- package/api/types/ChatCompletionSystemMessageParam.d.ts +0 -9
- package/api/types/ChatCompletionSystemMessageParam.js +0 -5
- package/api/types/ChatCompletionSystemMessageParamContent.d.ts +0 -5
- package/api/types/ChatCompletionSystemMessageParamContent.js +0 -5
- package/api/types/ChatCompletionToolMessageParam.d.ts +0 -9
- package/api/types/ChatCompletionToolMessageParam.js +0 -5
- package/api/types/ChatCompletionToolMessageParamContent.d.ts +0 -5
- package/api/types/ChatCompletionToolMessageParamContent.js +0 -5
- package/api/types/ChatCompletionUserMessageParam.d.ts +0 -9
- package/api/types/ChatCompletionUserMessageParam.js +0 -5
- package/api/types/ChatCompletionUserMessageParamContent.d.ts +0 -5
- package/api/types/ChatCompletionUserMessageParamContent.js +0 -5
- package/api/types/ChatCompletionUserMessageParamContentItem.d.ts +0 -5
- package/api/types/ChatCompletionUserMessageParamContentItem.js +0 -5
- package/api/types/CompletionCreateParamsNonStreaming.d.ts +0 -40
- package/api/types/CompletionCreateParamsNonStreaming.js +0 -5
- package/api/types/CompletionCreateParamsNonStreamingFunctionCall.d.ts +0 -5
- package/api/types/CompletionCreateParamsNonStreamingFunctionCall.js +0 -5
- package/api/types/CompletionCreateParamsNonStreamingMessagesItem.d.ts +0 -5
- package/api/types/CompletionCreateParamsNonStreamingMessagesItem.js +0 -5
- package/api/types/CompletionCreateParamsNonStreamingModalitiesItem.d.ts +0 -8
- package/api/types/CompletionCreateParamsNonStreamingModalitiesItem.js +0 -10
- package/api/types/CompletionCreateParamsNonStreamingModel.d.ts +0 -4
- package/api/types/CompletionCreateParamsNonStreamingModel.js +0 -5
- package/api/types/CompletionCreateParamsNonStreamingReasoningEffort.d.ts +0 -10
- package/api/types/CompletionCreateParamsNonStreamingReasoningEffort.js +0 -12
- package/api/types/CompletionCreateParamsNonStreamingResponseFormat.d.ts +0 -5
- package/api/types/CompletionCreateParamsNonStreamingResponseFormat.js +0 -5
- package/api/types/CompletionCreateParamsNonStreamingServiceTier.d.ts +0 -11
- package/api/types/CompletionCreateParamsNonStreamingServiceTier.js +0 -13
- package/api/types/CompletionCreateParamsNonStreamingStop.d.ts +0 -4
- package/api/types/CompletionCreateParamsNonStreamingStop.js +0 -5
- package/api/types/CompletionCreateParamsNonStreamingToolChoice.d.ts +0 -5
- package/api/types/CompletionCreateParamsNonStreamingToolChoice.js +0 -5
- package/api/types/CompletionCreateParamsNonStreamingToolsItem.d.ts +0 -5
- package/api/types/CompletionCreateParamsNonStreamingToolsItem.js +0 -5
- package/api/types/CompletionCreateParamsNonStreamingVerbosity.d.ts +0 -9
- package/api/types/CompletionCreateParamsNonStreamingVerbosity.js +0 -11
- package/api/types/CompletionCreateParamsStreaming.d.ts +0 -40
- package/api/types/CompletionCreateParamsStreaming.js +0 -5
- package/api/types/CompletionCreateParamsStreamingFunctionCall.d.ts +0 -5
- package/api/types/CompletionCreateParamsStreamingFunctionCall.js +0 -5
- package/api/types/CompletionCreateParamsStreamingMessagesItem.d.ts +0 -5
- package/api/types/CompletionCreateParamsStreamingMessagesItem.js +0 -5
- package/api/types/CompletionCreateParamsStreamingModalitiesItem.d.ts +0 -8
- package/api/types/CompletionCreateParamsStreamingModalitiesItem.js +0 -10
- package/api/types/CompletionCreateParamsStreamingModel.d.ts +0 -4
- package/api/types/CompletionCreateParamsStreamingModel.js +0 -5
- package/api/types/CompletionCreateParamsStreamingReasoningEffort.d.ts +0 -10
- package/api/types/CompletionCreateParamsStreamingReasoningEffort.js +0 -12
- package/api/types/CompletionCreateParamsStreamingResponseFormat.d.ts +0 -5
- package/api/types/CompletionCreateParamsStreamingResponseFormat.js +0 -5
- package/api/types/CompletionCreateParamsStreamingServiceTier.d.ts +0 -11
- package/api/types/CompletionCreateParamsStreamingServiceTier.js +0 -13
- package/api/types/CompletionCreateParamsStreamingStop.d.ts +0 -4
- package/api/types/CompletionCreateParamsStreamingStop.js +0 -5
- package/api/types/CompletionCreateParamsStreamingToolChoice.d.ts +0 -5
- package/api/types/CompletionCreateParamsStreamingToolChoice.js +0 -5
- package/api/types/CompletionCreateParamsStreamingToolsItem.d.ts +0 -5
- package/api/types/CompletionCreateParamsStreamingToolsItem.js +0 -5
- package/api/types/CompletionCreateParamsStreamingVerbosity.d.ts +0 -9
- package/api/types/CompletionCreateParamsStreamingVerbosity.js +0 -11
- package/api/types/CustomFormatGrammar.d.ts +0 -8
- package/api/types/CustomFormatGrammar.js +0 -5
- package/api/types/CustomFormatGrammarGrammar.d.ts +0 -8
- package/api/types/CustomFormatGrammarGrammar.js +0 -5
- package/api/types/CustomFormatGrammarGrammarSyntax.d.ts +0 -8
- package/api/types/CustomFormatGrammarGrammarSyntax.js +0 -10
- package/api/types/CustomFormatText.d.ts +0 -6
- package/api/types/CustomFormatText.js +0 -5
- package/api/types/FileFile.d.ts +0 -8
- package/api/types/FileFile.js +0 -5
- package/api/types/File_.d.ts +0 -8
- package/api/types/File_.js +0 -5
- package/api/types/FunctionCall.d.ts +0 -7
- package/api/types/FunctionCall.js +0 -5
- package/api/types/FunctionDefinitionInput.d.ts +0 -9
- package/api/types/FunctionDefinitionInput.js +0 -5
- package/api/types/FunctionDefinitionOutput.js +0 -5
- package/api/types/FunctionOutput.js +0 -5
- package/api/types/ImageUrl.d.ts +0 -8
- package/api/types/ImageUrl.js +0 -5
- package/api/types/ImageUrlDetail.d.ts +0 -9
- package/api/types/ImageUrlDetail.js +0 -11
- package/api/types/InputAudio.d.ts +0 -8
- package/api/types/InputAudio.js +0 -5
- package/api/types/InputAudioFormat.d.ts +0 -8
- package/api/types/InputAudioFormat.js +0 -10
- package/api/types/JsonSchema.d.ts +0 -9
- package/api/types/JsonSchema.js +0 -5
- package/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.d.ts +0 -9
- package/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.js +0 -5
- package/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.d.ts +0 -5
- package/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.js +0 -5
- package/api/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.d.ts +0 -7
- package/api/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.js +0 -5
- package/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.d.ts +0 -9
- package/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.js +0 -5
- package/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.d.ts +0 -7
- package/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.js +0 -5
- package/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.d.ts +0 -6
- package/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.js +0 -5
- package/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.d.ts +0 -6
- package/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.js +0 -5
- package/api/types/OpenaiTypesChatCompletionCreateParamsFunction.d.ts +0 -8
- package/api/types/OpenaiTypesChatCompletionCreateParamsFunction.js +0 -5
- package/api/types/ResponseFormatJsonObject.d.ts +0 -6
- package/api/types/ResponseFormatJsonObject.js +0 -5
- package/api/types/ResponseFormatJsonSchema.d.ts +0 -8
- package/api/types/ResponseFormatJsonSchema.js +0 -5
- package/api/types/ResponseFormatText.d.ts +0 -6
- package/api/types/ResponseFormatText.js +0 -5
- package/api/types/WebSearchOptions.d.ts +0 -8
- package/api/types/WebSearchOptions.js +0 -5
- package/api/types/WebSearchOptionsSearchContextSize.d.ts +0 -9
- package/api/types/WebSearchOptionsSearchContextSize.js +0 -11
- package/api/types/WebSearchOptionsUserLocation.d.ts +0 -8
- package/api/types/WebSearchOptionsUserLocation.js +0 -5
- package/api/types/WebSearchOptionsUserLocationApproximate.d.ts +0 -9
- package/api/types/WebSearchOptionsUserLocationApproximate.js +0 -5
- package/dist/api/types/Audio.d.ts +0 -6
- package/dist/api/types/Audio.js +0 -5
- package/dist/api/types/ChatCompletionAllowedToolChoiceParam.d.ts +0 -8
- package/dist/api/types/ChatCompletionAllowedToolChoiceParam.js +0 -5
- package/dist/api/types/ChatCompletionAllowedToolsParam.d.ts +0 -8
- package/dist/api/types/ChatCompletionAllowedToolsParam.js +0 -5
- package/dist/api/types/ChatCompletionAllowedToolsParamMode.d.ts +0 -8
- package/dist/api/types/ChatCompletionAllowedToolsParamMode.js +0 -10
- package/dist/api/types/ChatCompletionAssistantMessageParam.d.ts +0 -13
- package/dist/api/types/ChatCompletionAssistantMessageParam.js +0 -5
- package/dist/api/types/ChatCompletionAssistantMessageParamContent.d.ts +0 -5
- package/dist/api/types/ChatCompletionAssistantMessageParamContent.js +0 -5
- package/dist/api/types/ChatCompletionAssistantMessageParamContentItem.d.ts +0 -5
- package/dist/api/types/ChatCompletionAssistantMessageParamContentItem.js +0 -5
- package/dist/api/types/ChatCompletionAssistantMessageParamToolCallsItem.d.ts +0 -5
- package/dist/api/types/ChatCompletionAssistantMessageParamToolCallsItem.js +0 -5
- package/dist/api/types/ChatCompletionAudioParam.d.ts +0 -8
- package/dist/api/types/ChatCompletionAudioParam.js +0 -5
- package/dist/api/types/ChatCompletionAudioParamFormat.d.ts +0 -12
- package/dist/api/types/ChatCompletionAudioParamFormat.js +0 -14
- package/dist/api/types/ChatCompletionAudioParamVoice.d.ts +0 -4
- package/dist/api/types/ChatCompletionAudioParamVoice.js +0 -5
- package/dist/api/types/ChatCompletionContentPartImageParam.d.ts +0 -8
- package/dist/api/types/ChatCompletionContentPartImageParam.js +0 -5
- package/dist/api/types/ChatCompletionContentPartInputAudioParam.d.ts +0 -8
- package/dist/api/types/ChatCompletionContentPartInputAudioParam.js +0 -5
- package/dist/api/types/ChatCompletionContentPartRefusalParam.d.ts +0 -7
- package/dist/api/types/ChatCompletionContentPartRefusalParam.js +0 -5
- package/dist/api/types/ChatCompletionContentPartTextParam.d.ts +0 -7
- package/dist/api/types/ChatCompletionContentPartTextParam.js +0 -5
- package/dist/api/types/ChatCompletionCustomToolParam.d.ts +0 -8
- package/dist/api/types/ChatCompletionCustomToolParam.js +0 -5
- package/dist/api/types/ChatCompletionDeveloperMessageParam.d.ts +0 -9
- package/dist/api/types/ChatCompletionDeveloperMessageParam.js +0 -5
- package/dist/api/types/ChatCompletionDeveloperMessageParamContent.d.ts +0 -5
- package/dist/api/types/ChatCompletionDeveloperMessageParamContent.js +0 -5
- package/dist/api/types/ChatCompletionFunctionCallOptionParam.d.ts +0 -6
- package/dist/api/types/ChatCompletionFunctionCallOptionParam.js +0 -5
- package/dist/api/types/ChatCompletionFunctionMessageParam.d.ts +0 -8
- package/dist/api/types/ChatCompletionFunctionMessageParam.js +0 -5
- package/dist/api/types/ChatCompletionFunctionToolParam.d.ts +0 -8
- package/dist/api/types/ChatCompletionFunctionToolParam.js +0 -5
- package/dist/api/types/ChatCompletionMessageCustomToolCallParam.d.ts +0 -9
- package/dist/api/types/ChatCompletionMessageCustomToolCallParam.js +0 -5
- package/dist/api/types/ChatCompletionMessageFunctionToolCallInput.d.ts +0 -11
- package/dist/api/types/ChatCompletionMessageFunctionToolCallInput.js +0 -5
- package/dist/api/types/ChatCompletionMessageFunctionToolCallOutput.js +0 -5
- package/dist/api/types/ChatCompletionMessageFunctionToolCallParam.d.ts +0 -9
- package/dist/api/types/ChatCompletionMessageFunctionToolCallParam.js +0 -5
- package/dist/api/types/ChatCompletionNamedToolChoiceCustomParam.d.ts +0 -8
- package/dist/api/types/ChatCompletionNamedToolChoiceCustomParam.js +0 -5
- package/dist/api/types/ChatCompletionNamedToolChoiceParam.d.ts +0 -8
- package/dist/api/types/ChatCompletionNamedToolChoiceParam.js +0 -5
- package/dist/api/types/ChatCompletionPredictionContentParam.d.ts +0 -8
- package/dist/api/types/ChatCompletionPredictionContentParam.js +0 -5
- package/dist/api/types/ChatCompletionPredictionContentParamContent.d.ts +0 -5
- package/dist/api/types/ChatCompletionPredictionContentParamContent.js +0 -5
- package/dist/api/types/ChatCompletionStreamOptionsParam.d.ts +0 -7
- package/dist/api/types/ChatCompletionStreamOptionsParam.js +0 -5
- package/dist/api/types/ChatCompletionSystemMessageParam.d.ts +0 -9
- package/dist/api/types/ChatCompletionSystemMessageParam.js +0 -5
- package/dist/api/types/ChatCompletionSystemMessageParamContent.d.ts +0 -5
- package/dist/api/types/ChatCompletionSystemMessageParamContent.js +0 -5
- package/dist/api/types/ChatCompletionToolMessageParam.d.ts +0 -9
- package/dist/api/types/ChatCompletionToolMessageParam.js +0 -5
- package/dist/api/types/ChatCompletionToolMessageParamContent.d.ts +0 -5
- package/dist/api/types/ChatCompletionToolMessageParamContent.js +0 -5
- package/dist/api/types/ChatCompletionUserMessageParam.d.ts +0 -9
- package/dist/api/types/ChatCompletionUserMessageParam.js +0 -5
- package/dist/api/types/ChatCompletionUserMessageParamContent.d.ts +0 -5
- package/dist/api/types/ChatCompletionUserMessageParamContent.js +0 -5
- package/dist/api/types/ChatCompletionUserMessageParamContentItem.d.ts +0 -5
- package/dist/api/types/ChatCompletionUserMessageParamContentItem.js +0 -5
- package/dist/api/types/CompletionCreateParamsNonStreaming.d.ts +0 -40
- package/dist/api/types/CompletionCreateParamsNonStreaming.js +0 -5
- package/dist/api/types/CompletionCreateParamsNonStreamingFunctionCall.d.ts +0 -5
- package/dist/api/types/CompletionCreateParamsNonStreamingFunctionCall.js +0 -5
- package/dist/api/types/CompletionCreateParamsNonStreamingMessagesItem.d.ts +0 -5
- package/dist/api/types/CompletionCreateParamsNonStreamingMessagesItem.js +0 -5
- package/dist/api/types/CompletionCreateParamsNonStreamingModalitiesItem.d.ts +0 -8
- package/dist/api/types/CompletionCreateParamsNonStreamingModalitiesItem.js +0 -10
- package/dist/api/types/CompletionCreateParamsNonStreamingModel.d.ts +0 -4
- package/dist/api/types/CompletionCreateParamsNonStreamingModel.js +0 -5
- package/dist/api/types/CompletionCreateParamsNonStreamingReasoningEffort.d.ts +0 -10
- package/dist/api/types/CompletionCreateParamsNonStreamingReasoningEffort.js +0 -12
- package/dist/api/types/CompletionCreateParamsNonStreamingResponseFormat.d.ts +0 -5
- package/dist/api/types/CompletionCreateParamsNonStreamingResponseFormat.js +0 -5
- package/dist/api/types/CompletionCreateParamsNonStreamingServiceTier.d.ts +0 -11
- package/dist/api/types/CompletionCreateParamsNonStreamingServiceTier.js +0 -13
- package/dist/api/types/CompletionCreateParamsNonStreamingStop.d.ts +0 -4
- package/dist/api/types/CompletionCreateParamsNonStreamingStop.js +0 -5
- package/dist/api/types/CompletionCreateParamsNonStreamingToolChoice.d.ts +0 -5
- package/dist/api/types/CompletionCreateParamsNonStreamingToolChoice.js +0 -5
- package/dist/api/types/CompletionCreateParamsNonStreamingToolsItem.d.ts +0 -5
- package/dist/api/types/CompletionCreateParamsNonStreamingToolsItem.js +0 -5
- package/dist/api/types/CompletionCreateParamsNonStreamingVerbosity.d.ts +0 -9
- package/dist/api/types/CompletionCreateParamsNonStreamingVerbosity.js +0 -11
- package/dist/api/types/CompletionCreateParamsStreaming.d.ts +0 -40
- package/dist/api/types/CompletionCreateParamsStreaming.js +0 -5
- package/dist/api/types/CompletionCreateParamsStreamingFunctionCall.d.ts +0 -5
- package/dist/api/types/CompletionCreateParamsStreamingFunctionCall.js +0 -5
- package/dist/api/types/CompletionCreateParamsStreamingMessagesItem.d.ts +0 -5
- package/dist/api/types/CompletionCreateParamsStreamingMessagesItem.js +0 -5
- package/dist/api/types/CompletionCreateParamsStreamingModalitiesItem.d.ts +0 -8
- package/dist/api/types/CompletionCreateParamsStreamingModalitiesItem.js +0 -10
- package/dist/api/types/CompletionCreateParamsStreamingModel.d.ts +0 -4
- package/dist/api/types/CompletionCreateParamsStreamingModel.js +0 -5
- package/dist/api/types/CompletionCreateParamsStreamingReasoningEffort.d.ts +0 -10
- package/dist/api/types/CompletionCreateParamsStreamingReasoningEffort.js +0 -12
- package/dist/api/types/CompletionCreateParamsStreamingResponseFormat.d.ts +0 -5
- package/dist/api/types/CompletionCreateParamsStreamingResponseFormat.js +0 -5
- package/dist/api/types/CompletionCreateParamsStreamingServiceTier.d.ts +0 -11
- package/dist/api/types/CompletionCreateParamsStreamingServiceTier.js +0 -13
- package/dist/api/types/CompletionCreateParamsStreamingStop.d.ts +0 -4
- package/dist/api/types/CompletionCreateParamsStreamingStop.js +0 -5
- package/dist/api/types/CompletionCreateParamsStreamingToolChoice.d.ts +0 -5
- package/dist/api/types/CompletionCreateParamsStreamingToolChoice.js +0 -5
- package/dist/api/types/CompletionCreateParamsStreamingToolsItem.d.ts +0 -5
- package/dist/api/types/CompletionCreateParamsStreamingToolsItem.js +0 -5
- package/dist/api/types/CompletionCreateParamsStreamingVerbosity.d.ts +0 -9
- package/dist/api/types/CompletionCreateParamsStreamingVerbosity.js +0 -11
- package/dist/api/types/CustomFormatGrammar.d.ts +0 -8
- package/dist/api/types/CustomFormatGrammar.js +0 -5
- package/dist/api/types/CustomFormatGrammarGrammar.d.ts +0 -8
- package/dist/api/types/CustomFormatGrammarGrammar.js +0 -5
- package/dist/api/types/CustomFormatGrammarGrammarSyntax.d.ts +0 -8
- package/dist/api/types/CustomFormatGrammarGrammarSyntax.js +0 -10
- package/dist/api/types/CustomFormatText.d.ts +0 -6
- package/dist/api/types/CustomFormatText.js +0 -5
- package/dist/api/types/FileFile.d.ts +0 -8
- package/dist/api/types/FileFile.js +0 -5
- package/dist/api/types/File_.d.ts +0 -8
- package/dist/api/types/File_.js +0 -5
- package/dist/api/types/FunctionCall.d.ts +0 -7
- package/dist/api/types/FunctionCall.js +0 -5
- package/dist/api/types/FunctionDefinitionInput.d.ts +0 -9
- package/dist/api/types/FunctionDefinitionInput.js +0 -5
- package/dist/api/types/FunctionDefinitionOutput.js +0 -5
- package/dist/api/types/FunctionOutput.js +0 -5
- package/dist/api/types/ImageUrl.d.ts +0 -8
- package/dist/api/types/ImageUrl.js +0 -5
- package/dist/api/types/ImageUrlDetail.d.ts +0 -9
- package/dist/api/types/ImageUrlDetail.js +0 -11
- package/dist/api/types/InputAudio.d.ts +0 -8
- package/dist/api/types/InputAudio.js +0 -5
- package/dist/api/types/InputAudioFormat.d.ts +0 -8
- package/dist/api/types/InputAudioFormat.js +0 -10
- package/dist/api/types/JsonSchema.d.ts +0 -9
- package/dist/api/types/JsonSchema.js +0 -5
- package/dist/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.d.ts +0 -9
- package/dist/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.js +0 -5
- package/dist/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.d.ts +0 -5
- package/dist/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.js +0 -5
- package/dist/api/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.d.ts +0 -7
- package/dist/api/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.js +0 -5
- package/dist/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.d.ts +0 -9
- package/dist/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.js +0 -5
- package/dist/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.d.ts +0 -7
- package/dist/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.js +0 -5
- package/dist/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.d.ts +0 -6
- package/dist/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.js +0 -5
- package/dist/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.d.ts +0 -6
- package/dist/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.js +0 -5
- package/dist/api/types/OpenaiTypesChatCompletionCreateParamsFunction.d.ts +0 -8
- package/dist/api/types/OpenaiTypesChatCompletionCreateParamsFunction.js +0 -5
- package/dist/api/types/ResponseFormatJsonObject.d.ts +0 -6
- package/dist/api/types/ResponseFormatJsonObject.js +0 -5
- package/dist/api/types/ResponseFormatJsonSchema.d.ts +0 -8
- package/dist/api/types/ResponseFormatJsonSchema.js +0 -5
- package/dist/api/types/ResponseFormatText.d.ts +0 -6
- package/dist/api/types/ResponseFormatText.js +0 -5
- package/dist/api/types/WebSearchOptions.d.ts +0 -8
- package/dist/api/types/WebSearchOptions.js +0 -5
- package/dist/api/types/WebSearchOptionsSearchContextSize.d.ts +0 -9
- package/dist/api/types/WebSearchOptionsSearchContextSize.js +0 -11
- package/dist/api/types/WebSearchOptionsUserLocation.d.ts +0 -8
- package/dist/api/types/WebSearchOptionsUserLocation.js +0 -5
- package/dist/api/types/WebSearchOptionsUserLocationApproximate.d.ts +0 -9
- package/dist/api/types/WebSearchOptionsUserLocationApproximate.js +0 -5
- package/dist/serialization/types/Audio.d.ts +0 -12
- package/dist/serialization/types/Audio.js +0 -43
- package/dist/serialization/types/ChatCompletionAllowedToolChoiceParam.d.ts +0 -14
- package/dist/serialization/types/ChatCompletionAllowedToolChoiceParam.js +0 -45
- package/dist/serialization/types/ChatCompletionAllowedToolsParam.d.ts +0 -14
- package/dist/serialization/types/ChatCompletionAllowedToolsParam.js +0 -45
- package/dist/serialization/types/ChatCompletionAllowedToolsParamMode.d.ts +0 -10
- package/dist/serialization/types/ChatCompletionAllowedToolsParamMode.js +0 -41
- package/dist/serialization/types/ChatCompletionAssistantMessageParam.d.ts +0 -22
- package/dist/serialization/types/ChatCompletionAssistantMessageParam.js +0 -53
- package/dist/serialization/types/ChatCompletionAssistantMessageParamContent.d.ts +0 -11
- package/dist/serialization/types/ChatCompletionAssistantMessageParamContent.js +0 -45
- package/dist/serialization/types/ChatCompletionAssistantMessageParamContentItem.d.ts +0 -12
- package/dist/serialization/types/ChatCompletionAssistantMessageParamContentItem.js +0 -46
- package/dist/serialization/types/ChatCompletionAssistantMessageParamToolCallsItem.d.ts +0 -12
- package/dist/serialization/types/ChatCompletionAssistantMessageParamToolCallsItem.js +0 -46
- package/dist/serialization/types/ChatCompletionAudioParam.d.ts +0 -15
- package/dist/serialization/types/ChatCompletionAudioParam.js +0 -46
- package/dist/serialization/types/ChatCompletionAudioParamFormat.d.ts +0 -10
- package/dist/serialization/types/ChatCompletionAudioParamFormat.js +0 -41
- package/dist/serialization/types/ChatCompletionAudioParamVoice.d.ts +0 -10
- package/dist/serialization/types/ChatCompletionAudioParamVoice.js +0 -51
- package/dist/serialization/types/ChatCompletionContentPartImageParam.d.ts +0 -14
- package/dist/serialization/types/ChatCompletionContentPartImageParam.js +0 -45
- package/dist/serialization/types/ChatCompletionContentPartInputAudioParam.d.ts +0 -14
- package/dist/serialization/types/ChatCompletionContentPartInputAudioParam.js +0 -45
- package/dist/serialization/types/ChatCompletionContentPartRefusalParam.d.ts +0 -13
- package/dist/serialization/types/ChatCompletionContentPartRefusalParam.js +0 -44
- package/dist/serialization/types/ChatCompletionContentPartTextParam.d.ts +0 -13
- package/dist/serialization/types/ChatCompletionCustomToolParam.d.ts +0 -14
- package/dist/serialization/types/ChatCompletionCustomToolParam.js +0 -45
- package/dist/serialization/types/ChatCompletionDeveloperMessageParam.d.ts +0 -15
- package/dist/serialization/types/ChatCompletionDeveloperMessageParam.js +0 -46
- package/dist/serialization/types/ChatCompletionDeveloperMessageParamContent.d.ts +0 -11
- package/dist/serialization/types/ChatCompletionDeveloperMessageParamContent.js +0 -45
- package/dist/serialization/types/ChatCompletionFunctionCallOptionParam.d.ts +0 -12
- package/dist/serialization/types/ChatCompletionFunctionCallOptionParam.js +0 -43
- package/dist/serialization/types/ChatCompletionFunctionMessageParam.d.ts +0 -14
- package/dist/serialization/types/ChatCompletionFunctionMessageParam.js +0 -45
- package/dist/serialization/types/ChatCompletionFunctionToolParam.d.ts +0 -14
- package/dist/serialization/types/ChatCompletionFunctionToolParam.js +0 -45
- package/dist/serialization/types/ChatCompletionMessageCustomToolCallParam.d.ts +0 -15
- package/dist/serialization/types/ChatCompletionMessageFunctionToolCallInput.d.ts +0 -16
- package/dist/serialization/types/ChatCompletionMessageFunctionToolCallInput.js +0 -48
- package/dist/serialization/types/ChatCompletionMessageFunctionToolCallOutput.d.ts +0 -16
- package/dist/serialization/types/ChatCompletionMessageFunctionToolCallParam.d.ts +0 -15
- package/dist/serialization/types/ChatCompletionMessageFunctionToolCallParam.js +0 -46
- package/dist/serialization/types/ChatCompletionNamedToolChoiceCustomParam.d.ts +0 -14
- package/dist/serialization/types/ChatCompletionNamedToolChoiceCustomParam.js +0 -45
- package/dist/serialization/types/ChatCompletionNamedToolChoiceParam.d.ts +0 -14
- package/dist/serialization/types/ChatCompletionNamedToolChoiceParam.js +0 -45
- package/dist/serialization/types/ChatCompletionPredictionContentParam.d.ts +0 -14
- package/dist/serialization/types/ChatCompletionPredictionContentParam.js +0 -45
- package/dist/serialization/types/ChatCompletionPredictionContentParamContent.d.ts +0 -11
- package/dist/serialization/types/ChatCompletionPredictionContentParamContent.js +0 -45
- package/dist/serialization/types/ChatCompletionStreamOptionsParam.d.ts +0 -13
- package/dist/serialization/types/ChatCompletionStreamOptionsParam.js +0 -44
- package/dist/serialization/types/ChatCompletionSystemMessageParam.d.ts +0 -15
- package/dist/serialization/types/ChatCompletionSystemMessageParam.js +0 -46
- package/dist/serialization/types/ChatCompletionSystemMessageParamContent.d.ts +0 -11
- package/dist/serialization/types/ChatCompletionSystemMessageParamContent.js +0 -45
- package/dist/serialization/types/ChatCompletionToolMessageParam.d.ts +0 -15
- package/dist/serialization/types/ChatCompletionToolMessageParam.js +0 -46
- package/dist/serialization/types/ChatCompletionToolMessageParamContent.d.ts +0 -11
- package/dist/serialization/types/ChatCompletionToolMessageParamContent.js +0 -45
- package/dist/serialization/types/ChatCompletionUserMessageParam.d.ts +0 -15
- package/dist/serialization/types/ChatCompletionUserMessageParam.js +0 -46
- package/dist/serialization/types/ChatCompletionUserMessageParamContent.d.ts +0 -11
- package/dist/serialization/types/ChatCompletionUserMessageParamContent.js +0 -45
- package/dist/serialization/types/ChatCompletionUserMessageParamContentItem.d.ts +0 -14
- package/dist/serialization/types/ChatCompletionUserMessageParamContentItem.js +0 -50
- package/dist/serialization/types/CompletionCreateParamsNonStreaming.d.ts +0 -61
- package/dist/serialization/types/CompletionCreateParamsNonStreaming.js +0 -92
- package/dist/serialization/types/CompletionCreateParamsNonStreamingFunctionCall.d.ts +0 -11
- package/dist/serialization/types/CompletionCreateParamsNonStreamingFunctionCall.js +0 -46
- package/dist/serialization/types/CompletionCreateParamsNonStreamingMessagesItem.d.ts +0 -16
- package/dist/serialization/types/CompletionCreateParamsNonStreamingMessagesItem.js +0 -54
- package/dist/serialization/types/CompletionCreateParamsNonStreamingModalitiesItem.d.ts +0 -10
- package/dist/serialization/types/CompletionCreateParamsNonStreamingModalitiesItem.js +0 -41
- package/dist/serialization/types/CompletionCreateParamsNonStreamingModel.d.ts +0 -10
- package/dist/serialization/types/CompletionCreateParamsNonStreamingModel.js +0 -105
- package/dist/serialization/types/CompletionCreateParamsNonStreamingReasoningEffort.d.ts +0 -10
- package/dist/serialization/types/CompletionCreateParamsNonStreamingReasoningEffort.js +0 -41
- package/dist/serialization/types/CompletionCreateParamsNonStreamingResponseFormat.d.ts +0 -13
- package/dist/serialization/types/CompletionCreateParamsNonStreamingResponseFormat.js +0 -44
- package/dist/serialization/types/CompletionCreateParamsNonStreamingServiceTier.d.ts +0 -10
- package/dist/serialization/types/CompletionCreateParamsNonStreamingServiceTier.js +0 -41
- package/dist/serialization/types/CompletionCreateParamsNonStreamingStop.d.ts +0 -10
- package/dist/serialization/types/CompletionCreateParamsNonStreamingStop.js +0 -44
- package/dist/serialization/types/CompletionCreateParamsNonStreamingToolChoice.d.ts +0 -13
- package/dist/serialization/types/CompletionCreateParamsNonStreamingToolChoice.js +0 -51
- package/dist/serialization/types/CompletionCreateParamsNonStreamingToolsItem.d.ts +0 -12
- package/dist/serialization/types/CompletionCreateParamsNonStreamingToolsItem.js +0 -43
- package/dist/serialization/types/CompletionCreateParamsNonStreamingVerbosity.d.ts +0 -10
- package/dist/serialization/types/CompletionCreateParamsNonStreamingVerbosity.js +0 -41
- package/dist/serialization/types/CompletionCreateParamsStreaming.d.ts +0 -61
- package/dist/serialization/types/CompletionCreateParamsStreaming.js +0 -92
- package/dist/serialization/types/CompletionCreateParamsStreamingFunctionCall.d.ts +0 -11
- package/dist/serialization/types/CompletionCreateParamsStreamingFunctionCall.js +0 -46
- package/dist/serialization/types/CompletionCreateParamsStreamingMessagesItem.d.ts +0 -16
- package/dist/serialization/types/CompletionCreateParamsStreamingMessagesItem.js +0 -54
- package/dist/serialization/types/CompletionCreateParamsStreamingModalitiesItem.d.ts +0 -10
- package/dist/serialization/types/CompletionCreateParamsStreamingModalitiesItem.js +0 -41
- package/dist/serialization/types/CompletionCreateParamsStreamingModel.d.ts +0 -10
- package/dist/serialization/types/CompletionCreateParamsStreamingModel.js +0 -105
- package/dist/serialization/types/CompletionCreateParamsStreamingReasoningEffort.d.ts +0 -10
- package/dist/serialization/types/CompletionCreateParamsStreamingReasoningEffort.js +0 -41
- package/dist/serialization/types/CompletionCreateParamsStreamingResponseFormat.d.ts +0 -13
- package/dist/serialization/types/CompletionCreateParamsStreamingResponseFormat.js +0 -44
- package/dist/serialization/types/CompletionCreateParamsStreamingServiceTier.d.ts +0 -10
- package/dist/serialization/types/CompletionCreateParamsStreamingServiceTier.js +0 -41
- package/dist/serialization/types/CompletionCreateParamsStreamingStop.d.ts +0 -10
- package/dist/serialization/types/CompletionCreateParamsStreamingStop.js +0 -44
- package/dist/serialization/types/CompletionCreateParamsStreamingToolChoice.d.ts +0 -13
- package/dist/serialization/types/CompletionCreateParamsStreamingToolChoice.js +0 -51
- package/dist/serialization/types/CompletionCreateParamsStreamingToolsItem.d.ts +0 -12
- package/dist/serialization/types/CompletionCreateParamsStreamingToolsItem.js +0 -43
- package/dist/serialization/types/CompletionCreateParamsStreamingVerbosity.d.ts +0 -10
- package/dist/serialization/types/CompletionCreateParamsStreamingVerbosity.js +0 -41
- package/dist/serialization/types/CustomFormatGrammar.d.ts +0 -14
- package/dist/serialization/types/CustomFormatGrammar.js +0 -45
- package/dist/serialization/types/CustomFormatGrammarGrammar.d.ts +0 -14
- package/dist/serialization/types/CustomFormatGrammarGrammar.js +0 -45
- package/dist/serialization/types/CustomFormatGrammarGrammarSyntax.d.ts +0 -10
- package/dist/serialization/types/CustomFormatGrammarGrammarSyntax.js +0 -41
- package/dist/serialization/types/CustomFormatText.d.ts +0 -12
- package/dist/serialization/types/CustomFormatText.js +0 -43
- package/dist/serialization/types/FileFile.d.ts +0 -14
- package/dist/serialization/types/FileFile.js +0 -45
- package/dist/serialization/types/File_.d.ts +0 -14
- package/dist/serialization/types/File_.js +0 -45
- package/dist/serialization/types/FunctionCall.d.ts +0 -13
- package/dist/serialization/types/FunctionCall.js +0 -44
- package/dist/serialization/types/FunctionDefinitionInput.d.ts +0 -15
- package/dist/serialization/types/FunctionDefinitionInput.js +0 -46
- package/dist/serialization/types/ImageUrl.d.ts +0 -14
- package/dist/serialization/types/ImageUrl.js +0 -45
- package/dist/serialization/types/ImageUrlDetail.d.ts +0 -10
- package/dist/serialization/types/ImageUrlDetail.js +0 -41
- package/dist/serialization/types/InputAudio.d.ts +0 -14
- package/dist/serialization/types/InputAudio.js +0 -45
- package/dist/serialization/types/InputAudioFormat.d.ts +0 -10
- package/dist/serialization/types/InputAudioFormat.js +0 -41
- package/dist/serialization/types/JsonSchema.d.ts +0 -15
- package/dist/serialization/types/JsonSchema.js +0 -46
- package/dist/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.d.ts +0 -15
- package/dist/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.js +0 -46
- package/dist/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.d.ts +0 -12
- package/dist/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.js +0 -43
- package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.d.ts +0 -13
- package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.js +0 -44
- package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.d.ts +0 -14
- package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.js +0 -46
- package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.d.ts +0 -13
- package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.js +0 -44
- package/dist/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.d.ts +0 -12
- package/dist/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.js +0 -43
- package/dist/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.d.ts +0 -12
- package/dist/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.js +0 -43
- package/dist/serialization/types/OpenaiTypesChatCompletionCreateParamsFunction.d.ts +0 -14
- package/dist/serialization/types/OpenaiTypesChatCompletionCreateParamsFunction.js +0 -45
- package/dist/serialization/types/ResponseFormatJsonObject.d.ts +0 -12
- package/dist/serialization/types/ResponseFormatJsonObject.js +0 -43
- package/dist/serialization/types/ResponseFormatJsonSchema.d.ts +0 -14
- package/dist/serialization/types/ResponseFormatJsonSchema.js +0 -45
- package/dist/serialization/types/ResponseFormatText.d.ts +0 -12
- package/dist/serialization/types/ResponseFormatText.js +0 -43
- package/dist/serialization/types/WebSearchOptions.d.ts +0 -15
- package/dist/serialization/types/WebSearchOptions.js +0 -46
- package/dist/serialization/types/WebSearchOptionsSearchContextSize.d.ts +0 -10
- package/dist/serialization/types/WebSearchOptionsSearchContextSize.js +0 -41
- package/dist/serialization/types/WebSearchOptionsUserLocation.d.ts +0 -14
- package/dist/serialization/types/WebSearchOptionsUserLocation.js +0 -45
- package/dist/serialization/types/WebSearchOptionsUserLocationApproximate.d.ts +0 -15
- package/dist/serialization/types/WebSearchOptionsUserLocationApproximate.js +0 -46
- package/serialization/types/Audio.d.ts +0 -12
- package/serialization/types/Audio.js +0 -43
- package/serialization/types/ChatCompletionAllowedToolChoiceParam.d.ts +0 -14
- package/serialization/types/ChatCompletionAllowedToolChoiceParam.js +0 -45
- package/serialization/types/ChatCompletionAllowedToolsParam.d.ts +0 -14
- package/serialization/types/ChatCompletionAllowedToolsParam.js +0 -45
- package/serialization/types/ChatCompletionAllowedToolsParamMode.d.ts +0 -10
- package/serialization/types/ChatCompletionAllowedToolsParamMode.js +0 -41
- package/serialization/types/ChatCompletionAssistantMessageParam.d.ts +0 -22
- package/serialization/types/ChatCompletionAssistantMessageParam.js +0 -53
- package/serialization/types/ChatCompletionAssistantMessageParamContent.d.ts +0 -11
- package/serialization/types/ChatCompletionAssistantMessageParamContent.js +0 -45
- package/serialization/types/ChatCompletionAssistantMessageParamContentItem.d.ts +0 -12
- package/serialization/types/ChatCompletionAssistantMessageParamContentItem.js +0 -46
- package/serialization/types/ChatCompletionAssistantMessageParamToolCallsItem.d.ts +0 -12
- package/serialization/types/ChatCompletionAssistantMessageParamToolCallsItem.js +0 -46
- package/serialization/types/ChatCompletionAudioParam.d.ts +0 -15
- package/serialization/types/ChatCompletionAudioParam.js +0 -46
- package/serialization/types/ChatCompletionAudioParamFormat.d.ts +0 -10
- package/serialization/types/ChatCompletionAudioParamFormat.js +0 -41
- package/serialization/types/ChatCompletionAudioParamVoice.d.ts +0 -10
- package/serialization/types/ChatCompletionAudioParamVoice.js +0 -51
- package/serialization/types/ChatCompletionContentPartImageParam.d.ts +0 -14
- package/serialization/types/ChatCompletionContentPartImageParam.js +0 -45
- package/serialization/types/ChatCompletionContentPartInputAudioParam.d.ts +0 -14
- package/serialization/types/ChatCompletionContentPartInputAudioParam.js +0 -45
- package/serialization/types/ChatCompletionContentPartRefusalParam.d.ts +0 -13
- package/serialization/types/ChatCompletionContentPartRefusalParam.js +0 -44
- package/serialization/types/ChatCompletionContentPartTextParam.d.ts +0 -13
- package/serialization/types/ChatCompletionCustomToolParam.d.ts +0 -14
- package/serialization/types/ChatCompletionCustomToolParam.js +0 -45
- package/serialization/types/ChatCompletionDeveloperMessageParam.d.ts +0 -15
- package/serialization/types/ChatCompletionDeveloperMessageParam.js +0 -46
- package/serialization/types/ChatCompletionDeveloperMessageParamContent.d.ts +0 -11
- package/serialization/types/ChatCompletionDeveloperMessageParamContent.js +0 -45
- package/serialization/types/ChatCompletionFunctionCallOptionParam.d.ts +0 -12
- package/serialization/types/ChatCompletionFunctionCallOptionParam.js +0 -43
- package/serialization/types/ChatCompletionFunctionMessageParam.d.ts +0 -14
- package/serialization/types/ChatCompletionFunctionMessageParam.js +0 -45
- package/serialization/types/ChatCompletionFunctionToolParam.d.ts +0 -14
- package/serialization/types/ChatCompletionFunctionToolParam.js +0 -45
- package/serialization/types/ChatCompletionMessageCustomToolCallParam.d.ts +0 -15
- package/serialization/types/ChatCompletionMessageFunctionToolCallInput.d.ts +0 -16
- package/serialization/types/ChatCompletionMessageFunctionToolCallInput.js +0 -48
- package/serialization/types/ChatCompletionMessageFunctionToolCallOutput.d.ts +0 -16
- package/serialization/types/ChatCompletionMessageFunctionToolCallParam.d.ts +0 -15
- package/serialization/types/ChatCompletionMessageFunctionToolCallParam.js +0 -46
- package/serialization/types/ChatCompletionNamedToolChoiceCustomParam.d.ts +0 -14
- package/serialization/types/ChatCompletionNamedToolChoiceCustomParam.js +0 -45
- package/serialization/types/ChatCompletionNamedToolChoiceParam.d.ts +0 -14
- package/serialization/types/ChatCompletionNamedToolChoiceParam.js +0 -45
- package/serialization/types/ChatCompletionPredictionContentParam.d.ts +0 -14
- package/serialization/types/ChatCompletionPredictionContentParam.js +0 -45
- package/serialization/types/ChatCompletionPredictionContentParamContent.d.ts +0 -11
- package/serialization/types/ChatCompletionPredictionContentParamContent.js +0 -45
- package/serialization/types/ChatCompletionStreamOptionsParam.d.ts +0 -13
- package/serialization/types/ChatCompletionStreamOptionsParam.js +0 -44
- package/serialization/types/ChatCompletionSystemMessageParam.d.ts +0 -15
- package/serialization/types/ChatCompletionSystemMessageParam.js +0 -46
- package/serialization/types/ChatCompletionSystemMessageParamContent.d.ts +0 -11
- package/serialization/types/ChatCompletionSystemMessageParamContent.js +0 -45
- package/serialization/types/ChatCompletionToolMessageParam.d.ts +0 -15
- package/serialization/types/ChatCompletionToolMessageParam.js +0 -46
- package/serialization/types/ChatCompletionToolMessageParamContent.d.ts +0 -11
- package/serialization/types/ChatCompletionToolMessageParamContent.js +0 -45
- package/serialization/types/ChatCompletionUserMessageParam.d.ts +0 -15
- package/serialization/types/ChatCompletionUserMessageParam.js +0 -46
- package/serialization/types/ChatCompletionUserMessageParamContent.d.ts +0 -11
- package/serialization/types/ChatCompletionUserMessageParamContent.js +0 -45
- package/serialization/types/ChatCompletionUserMessageParamContentItem.d.ts +0 -14
- package/serialization/types/ChatCompletionUserMessageParamContentItem.js +0 -50
- package/serialization/types/CompletionCreateParamsNonStreaming.d.ts +0 -61
- package/serialization/types/CompletionCreateParamsNonStreaming.js +0 -92
- package/serialization/types/CompletionCreateParamsNonStreamingFunctionCall.d.ts +0 -11
- package/serialization/types/CompletionCreateParamsNonStreamingFunctionCall.js +0 -46
- package/serialization/types/CompletionCreateParamsNonStreamingMessagesItem.d.ts +0 -16
- package/serialization/types/CompletionCreateParamsNonStreamingMessagesItem.js +0 -54
- package/serialization/types/CompletionCreateParamsNonStreamingModalitiesItem.d.ts +0 -10
- package/serialization/types/CompletionCreateParamsNonStreamingModalitiesItem.js +0 -41
- package/serialization/types/CompletionCreateParamsNonStreamingModel.d.ts +0 -10
- package/serialization/types/CompletionCreateParamsNonStreamingModel.js +0 -105
- package/serialization/types/CompletionCreateParamsNonStreamingReasoningEffort.d.ts +0 -10
- package/serialization/types/CompletionCreateParamsNonStreamingReasoningEffort.js +0 -41
- package/serialization/types/CompletionCreateParamsNonStreamingResponseFormat.d.ts +0 -13
- package/serialization/types/CompletionCreateParamsNonStreamingResponseFormat.js +0 -44
- package/serialization/types/CompletionCreateParamsNonStreamingServiceTier.d.ts +0 -10
- package/serialization/types/CompletionCreateParamsNonStreamingServiceTier.js +0 -41
- package/serialization/types/CompletionCreateParamsNonStreamingStop.d.ts +0 -10
- package/serialization/types/CompletionCreateParamsNonStreamingStop.js +0 -44
- package/serialization/types/CompletionCreateParamsNonStreamingToolChoice.d.ts +0 -13
- package/serialization/types/CompletionCreateParamsNonStreamingToolChoice.js +0 -51
- package/serialization/types/CompletionCreateParamsNonStreamingToolsItem.d.ts +0 -12
- package/serialization/types/CompletionCreateParamsNonStreamingToolsItem.js +0 -43
- package/serialization/types/CompletionCreateParamsNonStreamingVerbosity.d.ts +0 -10
- package/serialization/types/CompletionCreateParamsNonStreamingVerbosity.js +0 -41
- package/serialization/types/CompletionCreateParamsStreaming.d.ts +0 -61
- package/serialization/types/CompletionCreateParamsStreaming.js +0 -92
- package/serialization/types/CompletionCreateParamsStreamingFunctionCall.d.ts +0 -11
- package/serialization/types/CompletionCreateParamsStreamingFunctionCall.js +0 -46
- package/serialization/types/CompletionCreateParamsStreamingMessagesItem.d.ts +0 -16
- package/serialization/types/CompletionCreateParamsStreamingMessagesItem.js +0 -54
- package/serialization/types/CompletionCreateParamsStreamingModalitiesItem.d.ts +0 -10
- package/serialization/types/CompletionCreateParamsStreamingModalitiesItem.js +0 -41
- package/serialization/types/CompletionCreateParamsStreamingModel.d.ts +0 -10
- package/serialization/types/CompletionCreateParamsStreamingModel.js +0 -105
- package/serialization/types/CompletionCreateParamsStreamingReasoningEffort.d.ts +0 -10
- package/serialization/types/CompletionCreateParamsStreamingReasoningEffort.js +0 -41
- package/serialization/types/CompletionCreateParamsStreamingResponseFormat.d.ts +0 -13
- package/serialization/types/CompletionCreateParamsStreamingResponseFormat.js +0 -44
- package/serialization/types/CompletionCreateParamsStreamingServiceTier.d.ts +0 -10
- package/serialization/types/CompletionCreateParamsStreamingServiceTier.js +0 -41
- package/serialization/types/CompletionCreateParamsStreamingStop.d.ts +0 -10
- package/serialization/types/CompletionCreateParamsStreamingStop.js +0 -44
- package/serialization/types/CompletionCreateParamsStreamingToolChoice.d.ts +0 -13
- package/serialization/types/CompletionCreateParamsStreamingToolChoice.js +0 -51
- package/serialization/types/CompletionCreateParamsStreamingToolsItem.d.ts +0 -12
- package/serialization/types/CompletionCreateParamsStreamingToolsItem.js +0 -43
- package/serialization/types/CompletionCreateParamsStreamingVerbosity.d.ts +0 -10
- package/serialization/types/CompletionCreateParamsStreamingVerbosity.js +0 -41
- package/serialization/types/CustomFormatGrammar.d.ts +0 -14
- package/serialization/types/CustomFormatGrammar.js +0 -45
- package/serialization/types/CustomFormatGrammarGrammar.d.ts +0 -14
- package/serialization/types/CustomFormatGrammarGrammar.js +0 -45
- package/serialization/types/CustomFormatGrammarGrammarSyntax.d.ts +0 -10
- package/serialization/types/CustomFormatGrammarGrammarSyntax.js +0 -41
- package/serialization/types/CustomFormatText.d.ts +0 -12
- package/serialization/types/CustomFormatText.js +0 -43
- package/serialization/types/FileFile.d.ts +0 -14
- package/serialization/types/FileFile.js +0 -45
- package/serialization/types/File_.d.ts +0 -14
- package/serialization/types/File_.js +0 -45
- package/serialization/types/FunctionCall.d.ts +0 -13
- package/serialization/types/FunctionCall.js +0 -44
- package/serialization/types/FunctionDefinitionInput.d.ts +0 -15
- package/serialization/types/FunctionDefinitionInput.js +0 -46
- package/serialization/types/ImageUrl.d.ts +0 -14
- package/serialization/types/ImageUrl.js +0 -45
- package/serialization/types/ImageUrlDetail.d.ts +0 -10
- package/serialization/types/ImageUrlDetail.js +0 -41
- package/serialization/types/InputAudio.d.ts +0 -14
- package/serialization/types/InputAudio.js +0 -45
- package/serialization/types/InputAudioFormat.d.ts +0 -10
- package/serialization/types/InputAudioFormat.js +0 -41
- package/serialization/types/JsonSchema.d.ts +0 -15
- package/serialization/types/JsonSchema.js +0 -46
- package/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.d.ts +0 -15
- package/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.js +0 -46
- package/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.d.ts +0 -12
- package/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.js +0 -43
- package/serialization/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.d.ts +0 -13
- package/serialization/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.js +0 -44
- package/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.d.ts +0 -14
- package/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction.js +0 -46
- package/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.d.ts +0 -13
- package/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.js +0 -44
- package/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.d.ts +0 -12
- package/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.js +0 -43
- package/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.d.ts +0 -12
- package/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.js +0 -43
- package/serialization/types/OpenaiTypesChatCompletionCreateParamsFunction.d.ts +0 -14
- package/serialization/types/OpenaiTypesChatCompletionCreateParamsFunction.js +0 -45
- package/serialization/types/ResponseFormatJsonObject.d.ts +0 -12
- package/serialization/types/ResponseFormatJsonObject.js +0 -43
- package/serialization/types/ResponseFormatJsonSchema.d.ts +0 -14
- package/serialization/types/ResponseFormatJsonSchema.js +0 -45
- package/serialization/types/ResponseFormatText.d.ts +0 -12
- package/serialization/types/ResponseFormatText.js +0 -43
- package/serialization/types/WebSearchOptions.d.ts +0 -15
- package/serialization/types/WebSearchOptions.js +0 -46
- package/serialization/types/WebSearchOptionsSearchContextSize.d.ts +0 -10
- package/serialization/types/WebSearchOptionsSearchContextSize.js +0 -41
- package/serialization/types/WebSearchOptionsUserLocation.d.ts +0 -14
- package/serialization/types/WebSearchOptionsUserLocation.js +0 -45
- package/serialization/types/WebSearchOptionsUserLocationApproximate.d.ts +0 -15
- package/serialization/types/WebSearchOptionsUserLocationApproximate.js +0 -46
- /package/api/types/{Audio.js → ChatCompletionMessageFunctionToolCall.js} +0 -0
- /package/api/types/{ChatCompletionAllowedToolChoiceParam.js → Function.js} +0 -0
- /package/api/types/{ChatCompletionAllowedToolsParam.js → FunctionDefinition.js} +0 -0
- /package/api/types/{ChatCompletionAssistantMessageParam.js → SummarizedReasoningContent.js} +0 -0
- /package/api/types/{ChatCompletionAssistantMessageParamContent.js → SummarizedReasoningContentPart.js} +0 -0
- /package/{api/types/ChatCompletionAssistantMessageParamContentItem.js → dist/api/types/ChatCompletionMessageFunctionToolCall.js} +0 -0
- /package/{api/types/ChatCompletionAssistantMessageParamToolCallsItem.js → dist/api/types/Function.js} +0 -0
- /package/{api/types/ChatCompletionAudioParam.js → dist/api/types/FunctionDefinition.js} +0 -0
- /package/{api/types/ChatCompletionAudioParamVoice.js → dist/api/types/SummarizedReasoningContent.js} +0 -0
- /package/{api/types/ChatCompletionContentPartImageParam.js → dist/api/types/SummarizedReasoningContentPart.js} +0 -0
|
@@ -118,7 +118,7 @@ class Templates {
|
|
|
118
118
|
method: "GET",
|
|
119
119
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
120
120
|
? yield core.Supplier.get(this._options.project)
|
|
121
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
121
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
122
122
|
contentType: "application/json",
|
|
123
123
|
queryParameters: _queryParams,
|
|
124
124
|
requestType: "json",
|
|
@@ -186,7 +186,7 @@ class Templates {
|
|
|
186
186
|
method: "POST",
|
|
187
187
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
188
188
|
? yield core.Supplier.get(this._options.project)
|
|
189
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
189
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
190
190
|
contentType: "application/json",
|
|
191
191
|
requestType: "json",
|
|
192
192
|
body: serializers.TemplatesSaveTemplateVersionRequest.jsonOrThrow(request, {
|
|
@@ -261,7 +261,7 @@ class Templates {
|
|
|
261
261
|
method: "DELETE",
|
|
262
262
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
263
263
|
? yield core.Supplier.get(this._options.project)
|
|
264
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
264
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
265
265
|
contentType: "application/json",
|
|
266
266
|
requestType: "json",
|
|
267
267
|
body: serializers.TemplatesDeleteTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -331,7 +331,7 @@ class Templates {
|
|
|
331
331
|
method: "GET",
|
|
332
332
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
333
333
|
? yield core.Supplier.get(this._options.project)
|
|
334
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
334
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
335
335
|
contentType: "application/json",
|
|
336
336
|
requestType: "json",
|
|
337
337
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -402,7 +402,7 @@ class Templates {
|
|
|
402
402
|
method: "PUT",
|
|
403
403
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
404
404
|
? yield core.Supplier.get(this._options.project)
|
|
405
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
405
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
406
406
|
contentType: "application/json",
|
|
407
407
|
requestType: "json",
|
|
408
408
|
body: request,
|
|
@@ -479,7 +479,7 @@ class Templates {
|
|
|
479
479
|
method: "POST",
|
|
480
480
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
481
481
|
? yield core.Supplier.get(this._options.project)
|
|
482
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
482
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
483
483
|
contentType: "application/json",
|
|
484
484
|
requestType: "json",
|
|
485
485
|
body: serializers.TemplatesForkTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -554,7 +554,7 @@ class Templates {
|
|
|
554
554
|
method: "POST",
|
|
555
555
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
556
556
|
? yield core.Supplier.get(this._options.project)
|
|
557
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
557
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
558
558
|
contentType: "application/json",
|
|
559
559
|
requestType: "json",
|
|
560
560
|
body: serializers.TemplatesCreateTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -631,7 +631,7 @@ class Templates {
|
|
|
631
631
|
method: "PATCH",
|
|
632
632
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
633
633
|
? yield core.Supplier.get(this._options.project)
|
|
634
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
634
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
635
635
|
contentType: "application/json",
|
|
636
636
|
requestType: "json",
|
|
637
637
|
body: serializers.TemplatesRenameTemplateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -715,7 +715,7 @@ class Templates {
|
|
|
715
715
|
method: "PATCH",
|
|
716
716
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
717
717
|
? yield core.Supplier.get(this._options.project)
|
|
718
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
718
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
719
719
|
contentType: "application/json",
|
|
720
720
|
requestType: "json",
|
|
721
721
|
body: serializers.TemplatesUpdateTemplateDescriptionRequest.jsonOrThrow(request, {
|
|
@@ -800,7 +800,7 @@ class Templates {
|
|
|
800
800
|
method: "GET",
|
|
801
801
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
802
802
|
? yield core.Supplier.get(this._options.project)
|
|
803
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
803
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
804
804
|
contentType: "application/json",
|
|
805
805
|
queryParameters: _queryParams,
|
|
806
806
|
requestType: "json",
|
|
@@ -878,7 +878,7 @@ class Templates {
|
|
|
878
878
|
method: "POST",
|
|
879
879
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
880
880
|
? yield core.Supplier.get(this._options.project)
|
|
881
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
881
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
882
882
|
contentType: "application/json",
|
|
883
883
|
requestType: "json",
|
|
884
884
|
body: serializers.TemplatesMigrateDeploymentRequest.jsonOrThrow(request, {
|
|
@@ -83,7 +83,7 @@ class Agents {
|
|
|
83
83
|
method: "POST",
|
|
84
84
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
85
85
|
? yield core.Supplier.get(this._options.project)
|
|
86
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
86
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
87
87
|
contentType: "application/json",
|
|
88
88
|
requestType: "json",
|
|
89
89
|
body: serializers.templates.AgentsCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type TemplatesGetTemplateSnapshotResponseAgentsItemAgentType = "memgpt_agent" | "memgpt_v2_agent" | "react_agent" | "workflow_agent" | "split_thread_agent" | "sleeptime_agent" | "voice_convo_agent" | "voice_sleeptime_agent";
|
|
4
|
+
export type TemplatesGetTemplateSnapshotResponseAgentsItemAgentType = "letta_v1_agent" | "memgpt_agent" | "memgpt_v2_agent" | "react_agent" | "workflow_agent" | "split_thread_agent" | "sleeptime_agent" | "voice_convo_agent" | "voice_sleeptime_agent";
|
|
5
5
|
export declare const TemplatesGetTemplateSnapshotResponseAgentsItemAgentType: {
|
|
6
|
+
readonly LettaV1Agent: "letta_v1_agent";
|
|
6
7
|
readonly MemgptAgent: "memgpt_agent";
|
|
7
8
|
readonly MemgptV2Agent: "memgpt_v2_agent";
|
|
8
9
|
readonly ReactAgent: "react_agent";
|
package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.js
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.TemplatesGetTemplateSnapshotResponseAgentsItemAgentType = void 0;
|
|
7
7
|
exports.TemplatesGetTemplateSnapshotResponseAgentsItemAgentType = {
|
|
8
|
+
LettaV1Agent: "letta_v1_agent",
|
|
8
9
|
MemgptAgent: "memgpt_agent",
|
|
9
10
|
MemgptV2Agent: "memgpt_v2_agent",
|
|
10
11
|
ReactAgent: "react_agent",
|
|
@@ -81,7 +81,7 @@ class Tools {
|
|
|
81
81
|
method: "GET",
|
|
82
82
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
83
83
|
? yield core.Supplier.get(this._options.project)
|
|
84
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
84
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
85
85
|
contentType: "application/json",
|
|
86
86
|
requestType: "json",
|
|
87
87
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -157,7 +157,7 @@ class Tools {
|
|
|
157
157
|
method: "DELETE",
|
|
158
158
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
159
159
|
? yield core.Supplier.get(this._options.project)
|
|
160
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
160
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
161
161
|
contentType: "application/json",
|
|
162
162
|
requestType: "json",
|
|
163
163
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -225,7 +225,7 @@ class Tools {
|
|
|
225
225
|
method: "PATCH",
|
|
226
226
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
227
227
|
? yield core.Supplier.get(this._options.project)
|
|
228
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
228
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
229
229
|
contentType: "application/json",
|
|
230
230
|
requestType: "json",
|
|
231
231
|
body: serializers.ToolUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -348,7 +348,7 @@ class Tools {
|
|
|
348
348
|
method: "GET",
|
|
349
349
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
350
350
|
? yield core.Supplier.get(this._options.project)
|
|
351
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
351
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
352
352
|
contentType: "application/json",
|
|
353
353
|
queryParameters: _queryParams,
|
|
354
354
|
requestType: "json",
|
|
@@ -485,7 +485,7 @@ class Tools {
|
|
|
485
485
|
method: "GET",
|
|
486
486
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
487
487
|
? yield core.Supplier.get(this._options.project)
|
|
488
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
488
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
489
489
|
contentType: "application/json",
|
|
490
490
|
queryParameters: _queryParams,
|
|
491
491
|
requestType: "json",
|
|
@@ -564,7 +564,7 @@ class Tools {
|
|
|
564
564
|
method: "POST",
|
|
565
565
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
566
566
|
? yield core.Supplier.get(this._options.project)
|
|
567
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
567
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
568
568
|
contentType: "application/json",
|
|
569
569
|
requestType: "json",
|
|
570
570
|
body: serializers.ToolCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -643,7 +643,7 @@ class Tools {
|
|
|
643
643
|
method: "PUT",
|
|
644
644
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
645
645
|
? yield core.Supplier.get(this._options.project)
|
|
646
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
646
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
647
647
|
contentType: "application/json",
|
|
648
648
|
requestType: "json",
|
|
649
649
|
body: serializers.ToolCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -719,7 +719,7 @@ class Tools {
|
|
|
719
719
|
method: "POST",
|
|
720
720
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
721
721
|
? yield core.Supplier.get(this._options.project)
|
|
722
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
722
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
723
723
|
contentType: "application/json",
|
|
724
724
|
requestType: "json",
|
|
725
725
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -800,7 +800,7 @@ class Tools {
|
|
|
800
800
|
method: "POST",
|
|
801
801
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
802
802
|
? yield core.Supplier.get(this._options.project)
|
|
803
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
803
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
804
804
|
contentType: "application/json",
|
|
805
805
|
requestType: "json",
|
|
806
806
|
body: serializers.ToolRunFromSource.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -876,7 +876,7 @@ class Tools {
|
|
|
876
876
|
method: "GET",
|
|
877
877
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
878
878
|
? yield core.Supplier.get(this._options.project)
|
|
879
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
879
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
880
880
|
contentType: "application/json",
|
|
881
881
|
requestType: "json",
|
|
882
882
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -952,7 +952,7 @@ class Tools {
|
|
|
952
952
|
method: "GET",
|
|
953
953
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
954
954
|
? yield core.Supplier.get(this._options.project)
|
|
955
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
955
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
956
956
|
contentType: "application/json",
|
|
957
957
|
requestType: "json",
|
|
958
958
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1028,7 +1028,7 @@ class Tools {
|
|
|
1028
1028
|
method: "POST",
|
|
1029
1029
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1030
1030
|
? yield core.Supplier.get(this._options.project)
|
|
1031
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1031
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1032
1032
|
contentType: "application/json",
|
|
1033
1033
|
requestType: "json",
|
|
1034
1034
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1103,7 +1103,7 @@ class Tools {
|
|
|
1103
1103
|
method: "GET",
|
|
1104
1104
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1105
1105
|
? yield core.Supplier.get(this._options.project)
|
|
1106
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1106
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1107
1107
|
contentType: "application/json",
|
|
1108
1108
|
requestType: "json",
|
|
1109
1109
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1183,7 +1183,7 @@ class Tools {
|
|
|
1183
1183
|
method: "PUT",
|
|
1184
1184
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1185
1185
|
? yield core.Supplier.get(this._options.project)
|
|
1186
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1186
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1187
1187
|
contentType: "application/json",
|
|
1188
1188
|
requestType: "json",
|
|
1189
1189
|
body: serializers.AddMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -1260,7 +1260,7 @@ class Tools {
|
|
|
1260
1260
|
method: "GET",
|
|
1261
1261
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1262
1262
|
? yield core.Supplier.get(this._options.project)
|
|
1263
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1263
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1264
1264
|
contentType: "application/json",
|
|
1265
1265
|
requestType: "json",
|
|
1266
1266
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1337,7 +1337,7 @@ class Tools {
|
|
|
1337
1337
|
method: "POST",
|
|
1338
1338
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1339
1339
|
? yield core.Supplier.get(this._options.project)
|
|
1340
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1340
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1341
1341
|
contentType: "application/json",
|
|
1342
1342
|
requestType: "json",
|
|
1343
1343
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1413,7 +1413,7 @@ class Tools {
|
|
|
1413
1413
|
method: "DELETE",
|
|
1414
1414
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1415
1415
|
? yield core.Supplier.get(this._options.project)
|
|
1416
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1416
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1417
1417
|
contentType: "application/json",
|
|
1418
1418
|
requestType: "json",
|
|
1419
1419
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1490,7 +1490,7 @@ class Tools {
|
|
|
1490
1490
|
method: "PATCH",
|
|
1491
1491
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1492
1492
|
? yield core.Supplier.get(this._options.project)
|
|
1493
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1493
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1494
1494
|
contentType: "application/json",
|
|
1495
1495
|
requestType: "json",
|
|
1496
1496
|
body: serializers.UpdateMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -1572,7 +1572,7 @@ class Tools {
|
|
|
1572
1572
|
method: "POST",
|
|
1573
1573
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1574
1574
|
? yield core.Supplier.get(this._options.project)
|
|
1575
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1575
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1576
1576
|
contentType: "application/json",
|
|
1577
1577
|
requestType: "json",
|
|
1578
1578
|
body: serializers.TestMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -1633,7 +1633,7 @@ class Tools {
|
|
|
1633
1633
|
method: "POST",
|
|
1634
1634
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
1635
1635
|
? yield core.Supplier.get(this._options.project)
|
|
1636
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
1636
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1637
1637
|
contentType: "application/json",
|
|
1638
1638
|
requestType: "json",
|
|
1639
1639
|
body: serializers.ConnectMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -82,7 +82,7 @@ class Voice {
|
|
|
82
82
|
method: "POST",
|
|
83
83
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
84
84
|
? yield core.Supplier.get(this._options.project)
|
|
85
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.
|
|
85
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68662", "User-Agent": "@letta-ai/letta-client/0.0.68662", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
86
86
|
contentType: "application/json",
|
|
87
87
|
requestType: "json",
|
|
88
88
|
body: serializers.voice.createVoiceChatCompletions.Request.jsonOrThrow(request, {
|
package/api/types/AgentType.d.ts
CHANGED
|
@@ -4,10 +4,11 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Enum to represent the type of agent.
|
|
6
6
|
*/
|
|
7
|
-
export type AgentType = "memgpt_agent" | "memgpt_v2_agent" | "react_agent" | "workflow_agent" | "split_thread_agent" | "sleeptime_agent" | "voice_convo_agent" | "voice_sleeptime_agent";
|
|
7
|
+
export type AgentType = "memgpt_agent" | "memgpt_v2_agent" | "letta_v1_agent" | "react_agent" | "workflow_agent" | "split_thread_agent" | "sleeptime_agent" | "voice_convo_agent" | "voice_sleeptime_agent";
|
|
8
8
|
export declare const AgentType: {
|
|
9
9
|
readonly MemgptAgent: "memgpt_agent";
|
|
10
10
|
readonly MemgptV2Agent: "memgpt_v2_agent";
|
|
11
|
+
readonly LettaV1Agent: "letta_v1_agent";
|
|
11
12
|
readonly ReactAgent: "react_agent";
|
|
12
13
|
readonly WorkflowAgent: "workflow_agent";
|
|
13
14
|
readonly SplitThreadAgent: "split_thread_agent";
|
package/api/types/AgentType.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Letta from "../index";
|
|
5
|
-
export interface
|
|
5
|
+
export interface ChatCompletionMessageFunctionToolCall {
|
|
6
6
|
id: string;
|
|
7
|
-
function: Letta.
|
|
7
|
+
function: Letta.Function;
|
|
8
8
|
type: "function";
|
|
9
9
|
/** Accepts any additional properties */
|
|
10
10
|
[key: string]: any;
|
|
@@ -29,7 +29,7 @@ export interface LettaSchemasAgentFileMessageSchema {
|
|
|
29
29
|
/** The unique identifier of the agent */
|
|
30
30
|
agentId?: string;
|
|
31
31
|
/** The list of tool calls requested. Only applicable for role assistant. */
|
|
32
|
-
toolCalls?: Letta.
|
|
32
|
+
toolCalls?: Letta.ChatCompletionMessageFunctionToolCall[];
|
|
33
33
|
/** The ID of the tool call. Only applicable for role tool. */
|
|
34
34
|
toolCallId?: string;
|
|
35
35
|
/** Tool execution return information for prior tool calls */
|
package/api/types/Message.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ export interface Message {
|
|
|
45
45
|
/** For role user/assistant: the (optional) name of the participant. For role tool/function: the name of the function called. */
|
|
46
46
|
name?: string;
|
|
47
47
|
/** The list of tool calls requested. Only applicable for role assistant. */
|
|
48
|
-
toolCalls?: Letta.
|
|
48
|
+
toolCalls?: Letta.ChatCompletionMessageFunctionToolCall[];
|
|
49
49
|
/** The ID of the tool call. Only applicable for role tool. */
|
|
50
50
|
toolCallId?: string;
|
|
51
51
|
/** The id of the step that this message was created in. */
|
|
@@ -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 MessageContentItem = Letta.ImageContent | Letta.OmittedReasoningContent | Letta.ReasoningContent | Letta.RedactedReasoningContent | Letta.TextContent | Letta.ToolCallContent | Letta.ToolReturnContent;
|
|
5
|
+
export type MessageContentItem = Letta.ImageContent | Letta.OmittedReasoningContent | Letta.ReasoningContent | Letta.RedactedReasoningContent | Letta.SummarizedReasoningContent | Letta.TextContent | Letta.ToolCallContent | Letta.ToolReturnContent;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
/**
|
|
5
|
+
* A placeholder for reasoning content we know is present, but isn't returned by the provider (e.g. OpenAI GPT-5 on ChatCompletions)
|
|
6
|
+
*/
|
|
4
7
|
export interface OmittedReasoningContent {
|
|
5
8
|
type: "omitted_reasoning";
|
|
6
9
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
/**
|
|
5
|
+
* Sent via the Anthropic Messages API
|
|
6
|
+
*/
|
|
4
7
|
export interface ReasoningContent {
|
|
5
8
|
type: "reasoning";
|
|
6
9
|
/** Whether the reasoning content was generated by a reasoner model that processed this step. */
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
/**
|
|
5
|
+
* Sent via the Anthropic Messages API
|
|
6
|
+
*/
|
|
4
7
|
export interface RedactedReasoningContent {
|
|
5
8
|
type: "redacted_reasoning";
|
|
6
9
|
/** The redacted or filtered intermediate reasoning content. */
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Letta from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* The style of reasoning content returned by the OpenAI Responses API
|
|
7
|
+
*/
|
|
8
|
+
export interface SummarizedReasoningContent {
|
|
9
|
+
type: "summarized_reasoning";
|
|
10
|
+
/** The unique identifier for this reasoning step. */
|
|
11
|
+
id: string;
|
|
12
|
+
/** Summaries of the reasoning content. */
|
|
13
|
+
summary: Letta.SummarizedReasoningContentPart[];
|
|
14
|
+
/** The encrypted reasoning content. */
|
|
15
|
+
encryptedContent?: string;
|
|
16
|
+
}
|