@letta-ai/letta-client 0.1.177 → 0.1.179
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/agents/client/Client.js +10 -10
- package/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/api/resources/agents/resources/context/client/Client.js +1 -1
- package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/api/resources/agents/resources/files/client/Client.js +3 -3
- package/api/resources/agents/resources/folders/client/Client.js +3 -3
- package/api/resources/agents/resources/groups/client/Client.js +1 -1
- package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/api/resources/agents/resources/messages/client/Client.d.ts +2 -4
- package/api/resources/agents/resources/messages/client/Client.js +12 -14
- package/api/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.d.ts +1 -5
- package/api/resources/agents/resources/passages/client/Client.js +4 -4
- package/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/api/resources/batches/client/Client.js +4 -4
- package/api/resources/blocks/client/Client.js +6 -6
- package/api/resources/blocks/resources/agents/client/Client.js +1 -1
- package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
- package/api/resources/embeddingModels/client/Client.js +1 -1
- package/api/resources/folders/client/Client.js +9 -9
- package/api/resources/folders/resources/files/client/Client.js +3 -3
- package/api/resources/folders/resources/passages/client/Client.js +1 -1
- package/api/resources/groups/client/Client.js +6 -6
- package/api/resources/groups/resources/messages/client/Client.js +5 -5
- package/api/resources/health/client/Client.js +1 -1
- package/api/resources/identities/client/Client.js +7 -7
- package/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/api/resources/jobs/client/Client.js +5 -5
- package/api/resources/messages/client/Client.js +1 -1
- package/api/resources/models/client/Client.js +1 -1
- package/api/resources/projects/client/Client.js +1 -1
- package/api/resources/providers/client/Client.js +6 -6
- package/api/resources/runs/client/Client.js +4 -4
- package/api/resources/runs/resources/messages/client/Client.js +1 -1
- package/api/resources/runs/resources/steps/client/Client.js +1 -1
- package/api/resources/runs/resources/usage/client/Client.js +1 -1
- package/api/resources/sources/client/Client.js +10 -10
- package/api/resources/sources/resources/files/client/Client.js +3 -3
- package/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/api/resources/steps/client/Client.js +3 -3
- package/api/resources/steps/resources/feedback/client/Client.js +1 -1
- package/api/resources/tags/client/Client.js +1 -1
- package/api/resources/telemetry/client/Client.js +1 -1
- package/api/resources/templates/client/Client.js +1 -1
- package/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/api/resources/tools/client/Client.js +20 -20
- package/api/resources/tools/client/requests/ToolUpdate.d.ts +2 -0
- package/api/resources/voice/client/Client.js +1 -1
- package/api/types/ChatCompletionAllowedToolChoiceParam.d.ts +8 -0
- package/api/types/ChatCompletionAllowedToolsParam.d.ts +8 -0
- package/api/types/ChatCompletionAllowedToolsParamMode.d.ts +8 -0
- package/api/types/ChatCompletionAllowedToolsParamMode.js +10 -0
- package/api/types/ChatCompletionAssistantMessageParam.d.ts +1 -1
- package/api/types/ChatCompletionAssistantMessageParamToolCallsItem.d.ts +5 -0
- package/api/types/ChatCompletionCustomToolParam.d.ts +8 -0
- package/api/types/{ChatCompletionToolParam.d.ts → ChatCompletionFunctionToolParam.d.ts} +1 -1
- package/api/types/ChatCompletionMessageCustomToolCallParam.d.ts +9 -0
- package/api/types/{ChatCompletionMessageToolCall.d.ts → ChatCompletionMessageFunctionToolCall.d.ts} +1 -1
- package/api/types/ChatCompletionMessageFunctionToolCallParam.d.ts +9 -0
- package/api/types/ChatCompletionNamedToolChoiceCustomParam.d.ts +8 -0
- package/api/types/ChatCompletionNamedToolChoiceCustomParam.js +5 -0
- package/api/types/ChatCompletionStreamOptionsParam.d.ts +1 -0
- package/api/types/CodeInput.d.ts +3 -1
- package/api/types/CompletionCreateParamsNonStreaming.d.ts +2 -1
- package/api/types/CompletionCreateParamsNonStreamingModel.d.ts +1 -1
- package/api/types/CompletionCreateParamsNonStreamingReasoningEffort.d.ts +2 -1
- package/api/types/CompletionCreateParamsNonStreamingReasoningEffort.js +1 -0
- package/api/types/CompletionCreateParamsNonStreamingToolChoice.d.ts +1 -1
- package/api/types/CompletionCreateParamsNonStreamingToolsItem.d.ts +5 -0
- package/api/types/CompletionCreateParamsNonStreamingToolsItem.js +5 -0
- package/api/types/CompletionCreateParamsNonStreamingVerbosity.d.ts +9 -0
- package/api/types/CompletionCreateParamsNonStreamingVerbosity.js +11 -0
- package/api/types/CompletionCreateParamsStreaming.d.ts +2 -1
- package/api/types/CompletionCreateParamsStreamingModel.d.ts +1 -1
- package/api/types/CompletionCreateParamsStreamingReasoningEffort.d.ts +2 -1
- package/api/types/CompletionCreateParamsStreamingReasoningEffort.js +1 -0
- package/api/types/CompletionCreateParamsStreamingToolChoice.d.ts +1 -1
- package/api/types/CompletionCreateParamsStreamingToolsItem.d.ts +5 -0
- package/api/types/CompletionCreateParamsStreamingToolsItem.js +5 -0
- package/api/types/CompletionCreateParamsStreamingVerbosity.d.ts +9 -0
- package/api/types/CompletionCreateParamsStreamingVerbosity.js +11 -0
- package/api/types/CustomFormatGrammar.d.ts +8 -0
- package/api/types/CustomFormatGrammar.js +5 -0
- package/api/types/CustomFormatGrammarGrammar.d.ts +8 -0
- package/api/types/CustomFormatGrammarGrammar.js +5 -0
- package/api/types/CustomFormatGrammarGrammarSyntax.d.ts +8 -0
- package/api/types/CustomFormatGrammarGrammarSyntax.js +10 -0
- package/api/types/CustomFormatText.d.ts +6 -0
- package/api/types/CustomFormatText.js +5 -0
- package/api/types/McpTool.d.ts +2 -0
- package/api/types/McpToolHealth.d.ts +12 -0
- package/api/types/McpToolHealth.js +5 -0
- package/api/types/Message.d.ts +1 -1
- package/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.d.ts +9 -0
- package/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.js +5 -0
- package/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.d.ts +5 -0
- package/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.js +5 -0
- package/api/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.d.ts +7 -0
- package/api/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.js +5 -0
- package/api/types/{OpenaiTypesChatChatCompletionMessageToolCallParamFunction.d.ts → OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.d.ts} +1 -1
- package/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.js +5 -0
- package/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.d.ts +6 -0
- package/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.js +5 -0
- package/api/types/index.d.ts +24 -4
- package/api/types/index.js +24 -4
- package/dist/api/resources/agents/client/Client.js +10 -10
- package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/files/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/messages/client/Client.d.ts +2 -4
- package/dist/api/resources/agents/resources/messages/client/Client.js +12 -14
- package/dist/api/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.d.ts +1 -5
- package/dist/api/resources/agents/resources/passages/client/Client.js +4 -4
- package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/dist/api/resources/batches/client/Client.js +4 -4
- package/dist/api/resources/blocks/client/Client.js +6 -6
- package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
- package/dist/api/resources/embeddingModels/client/Client.js +1 -1
- package/dist/api/resources/folders/client/Client.js +9 -9
- package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
- package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
- package/dist/api/resources/groups/client/Client.js +6 -6
- package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
- package/dist/api/resources/health/client/Client.js +1 -1
- package/dist/api/resources/identities/client/Client.js +7 -7
- package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/dist/api/resources/jobs/client/Client.js +5 -5
- package/dist/api/resources/messages/client/Client.js +1 -1
- package/dist/api/resources/models/client/Client.js +1 -1
- package/dist/api/resources/projects/client/Client.js +1 -1
- package/dist/api/resources/providers/client/Client.js +6 -6
- package/dist/api/resources/runs/client/Client.js +4 -4
- package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
- package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
- package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
- package/dist/api/resources/sources/client/Client.js +10 -10
- package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
- package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/dist/api/resources/steps/client/Client.js +3 -3
- package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
- package/dist/api/resources/tags/client/Client.js +1 -1
- package/dist/api/resources/telemetry/client/Client.js +1 -1
- package/dist/api/resources/templates/client/Client.js +1 -1
- package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/tools/client/Client.js +20 -20
- package/dist/api/resources/tools/client/requests/ToolUpdate.d.ts +2 -0
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/api/types/ChatCompletionAllowedToolChoiceParam.d.ts +8 -0
- package/dist/api/types/ChatCompletionAllowedToolChoiceParam.js +5 -0
- package/dist/api/types/ChatCompletionAllowedToolsParam.d.ts +8 -0
- package/dist/api/types/ChatCompletionAllowedToolsParam.js +5 -0
- package/dist/api/types/ChatCompletionAllowedToolsParamMode.d.ts +8 -0
- package/dist/api/types/ChatCompletionAllowedToolsParamMode.js +10 -0
- package/dist/api/types/ChatCompletionAssistantMessageParam.d.ts +1 -1
- package/dist/api/types/ChatCompletionAssistantMessageParamToolCallsItem.d.ts +5 -0
- package/dist/api/types/ChatCompletionAssistantMessageParamToolCallsItem.js +5 -0
- package/dist/api/types/ChatCompletionCustomToolParam.d.ts +8 -0
- package/dist/api/types/ChatCompletionCustomToolParam.js +5 -0
- package/dist/api/types/{ChatCompletionToolParam.d.ts → ChatCompletionFunctionToolParam.d.ts} +1 -1
- package/dist/api/types/ChatCompletionFunctionToolParam.js +5 -0
- package/dist/api/types/ChatCompletionMessageCustomToolCallParam.d.ts +9 -0
- package/dist/api/types/ChatCompletionMessageCustomToolCallParam.js +5 -0
- package/dist/api/types/{ChatCompletionMessageToolCall.d.ts → ChatCompletionMessageFunctionToolCall.d.ts} +1 -1
- package/dist/api/types/ChatCompletionMessageFunctionToolCall.js +5 -0
- package/dist/api/types/ChatCompletionMessageFunctionToolCallParam.d.ts +9 -0
- package/dist/api/types/ChatCompletionMessageFunctionToolCallParam.js +5 -0
- package/dist/api/types/ChatCompletionNamedToolChoiceCustomParam.d.ts +8 -0
- package/dist/api/types/ChatCompletionNamedToolChoiceCustomParam.js +5 -0
- package/dist/api/types/ChatCompletionStreamOptionsParam.d.ts +1 -0
- package/dist/api/types/CodeInput.d.ts +3 -1
- package/dist/api/types/CompletionCreateParamsNonStreaming.d.ts +2 -1
- package/dist/api/types/CompletionCreateParamsNonStreamingModel.d.ts +1 -1
- package/dist/api/types/CompletionCreateParamsNonStreamingReasoningEffort.d.ts +2 -1
- package/dist/api/types/CompletionCreateParamsNonStreamingReasoningEffort.js +1 -0
- package/dist/api/types/CompletionCreateParamsNonStreamingToolChoice.d.ts +1 -1
- package/dist/api/types/CompletionCreateParamsNonStreamingToolsItem.d.ts +5 -0
- package/dist/api/types/CompletionCreateParamsNonStreamingToolsItem.js +5 -0
- package/dist/api/types/CompletionCreateParamsNonStreamingVerbosity.d.ts +9 -0
- package/dist/api/types/CompletionCreateParamsNonStreamingVerbosity.js +11 -0
- package/dist/api/types/CompletionCreateParamsStreaming.d.ts +2 -1
- package/dist/api/types/CompletionCreateParamsStreamingModel.d.ts +1 -1
- package/dist/api/types/CompletionCreateParamsStreamingReasoningEffort.d.ts +2 -1
- package/dist/api/types/CompletionCreateParamsStreamingReasoningEffort.js +1 -0
- package/dist/api/types/CompletionCreateParamsStreamingToolChoice.d.ts +1 -1
- package/dist/api/types/CompletionCreateParamsStreamingToolsItem.d.ts +5 -0
- package/dist/api/types/CompletionCreateParamsStreamingToolsItem.js +5 -0
- package/dist/api/types/CompletionCreateParamsStreamingVerbosity.d.ts +9 -0
- package/dist/api/types/CompletionCreateParamsStreamingVerbosity.js +11 -0
- package/dist/api/types/CustomFormatGrammar.d.ts +8 -0
- package/dist/api/types/CustomFormatGrammar.js +5 -0
- package/dist/api/types/CustomFormatGrammarGrammar.d.ts +8 -0
- package/dist/api/types/CustomFormatGrammarGrammar.js +5 -0
- package/dist/api/types/CustomFormatGrammarGrammarSyntax.d.ts +8 -0
- package/dist/api/types/CustomFormatGrammarGrammarSyntax.js +10 -0
- package/dist/api/types/CustomFormatText.d.ts +6 -0
- package/dist/api/types/CustomFormatText.js +5 -0
- package/dist/api/types/McpTool.d.ts +2 -0
- package/dist/api/types/McpToolHealth.d.ts +12 -0
- package/dist/api/types/McpToolHealth.js +5 -0
- package/dist/api/types/Message.d.ts +1 -1
- package/dist/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.d.ts +9 -0
- package/dist/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.js +5 -0
- package/dist/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.d.ts +5 -0
- package/dist/api/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.js +5 -0
- package/dist/api/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.d.ts +7 -0
- package/dist/api/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.js +5 -0
- package/dist/api/types/{OpenaiTypesChatChatCompletionMessageToolCallParamFunction.d.ts → OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.d.ts} +1 -1
- package/dist/api/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.js +5 -0
- package/dist/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.d.ts +6 -0
- package/dist/api/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.js +5 -0
- package/dist/api/types/index.d.ts +24 -4
- package/dist/api/types/index.js +24 -4
- package/dist/serialization/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.d.ts +0 -1
- package/dist/serialization/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.js +0 -1
- package/dist/serialization/resources/tools/client/requests/ToolUpdate.d.ts +1 -0
- package/dist/serialization/resources/tools/client/requests/ToolUpdate.js +1 -0
- package/dist/serialization/types/ChatCompletionAllowedToolChoiceParam.d.ts +14 -0
- package/dist/serialization/types/ChatCompletionAllowedToolChoiceParam.js +45 -0
- package/dist/serialization/types/ChatCompletionAllowedToolsParam.d.ts +14 -0
- package/dist/serialization/types/ChatCompletionAllowedToolsParam.js +45 -0
- package/dist/serialization/types/ChatCompletionAllowedToolsParamMode.d.ts +10 -0
- package/dist/serialization/types/ChatCompletionAllowedToolsParamMode.js +41 -0
- package/dist/serialization/types/ChatCompletionAssistantMessageParam.d.ts +2 -2
- package/dist/serialization/types/ChatCompletionAssistantMessageParam.js +2 -2
- package/dist/serialization/types/ChatCompletionAssistantMessageParamToolCallsItem.d.ts +12 -0
- package/dist/serialization/types/ChatCompletionAssistantMessageParamToolCallsItem.js +46 -0
- package/dist/serialization/types/ChatCompletionCustomToolParam.d.ts +14 -0
- package/dist/serialization/types/ChatCompletionCustomToolParam.js +45 -0
- package/dist/serialization/types/{ChatCompletionToolParam.d.ts → ChatCompletionFunctionToolParam.d.ts} +2 -2
- package/dist/serialization/types/{ChatCompletionToolParam.js → ChatCompletionFunctionToolParam.js} +2 -2
- package/dist/serialization/types/ChatCompletionMessageCustomToolCallParam.d.ts +15 -0
- package/dist/serialization/types/ChatCompletionMessageCustomToolCallParam.js +46 -0
- package/dist/serialization/types/{ChatCompletionMessageToolCall.d.ts → ChatCompletionMessageFunctionToolCall.d.ts} +2 -2
- package/dist/serialization/types/{ChatCompletionMessageToolCall.js → ChatCompletionMessageFunctionToolCall.js} +2 -2
- package/dist/serialization/types/ChatCompletionMessageFunctionToolCallParam.d.ts +15 -0
- package/dist/serialization/types/{ChatCompletionMessageToolCallParam.js → ChatCompletionMessageFunctionToolCallParam.js} +4 -4
- package/dist/serialization/types/ChatCompletionNamedToolChoiceCustomParam.d.ts +14 -0
- package/dist/serialization/types/ChatCompletionNamedToolChoiceCustomParam.js +45 -0
- package/dist/serialization/types/ChatCompletionStreamOptionsParam.d.ts +1 -0
- package/dist/serialization/types/ChatCompletionStreamOptionsParam.js +1 -0
- package/dist/serialization/types/CodeInput.d.ts +1 -0
- package/dist/serialization/types/CodeInput.js +1 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreaming.d.ts +4 -2
- package/dist/serialization/types/CompletionCreateParamsNonStreaming.js +4 -2
- package/dist/serialization/types/CompletionCreateParamsNonStreamingModel.d.ts +1 -1
- package/dist/serialization/types/CompletionCreateParamsNonStreamingModel.js +7 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingReasoningEffort.d.ts +1 -1
- package/dist/serialization/types/CompletionCreateParamsNonStreamingReasoningEffort.js +1 -1
- package/dist/serialization/types/CompletionCreateParamsNonStreamingToolChoice.d.ts +3 -1
- package/dist/serialization/types/CompletionCreateParamsNonStreamingToolChoice.js +4 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingToolsItem.d.ts +12 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingToolsItem.js +43 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingVerbosity.d.ts +10 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreamingVerbosity.js +41 -0
- package/dist/serialization/types/CompletionCreateParamsStreaming.d.ts +4 -2
- package/dist/serialization/types/CompletionCreateParamsStreaming.js +4 -2
- package/dist/serialization/types/CompletionCreateParamsStreamingModel.d.ts +1 -1
- package/dist/serialization/types/CompletionCreateParamsStreamingModel.js +7 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingReasoningEffort.d.ts +1 -1
- package/dist/serialization/types/CompletionCreateParamsStreamingReasoningEffort.js +1 -1
- package/dist/serialization/types/CompletionCreateParamsStreamingToolChoice.d.ts +3 -1
- package/dist/serialization/types/CompletionCreateParamsStreamingToolChoice.js +4 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingToolsItem.d.ts +12 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingToolsItem.js +43 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingVerbosity.d.ts +10 -0
- package/dist/serialization/types/CompletionCreateParamsStreamingVerbosity.js +41 -0
- package/dist/serialization/types/CustomFormatGrammar.d.ts +14 -0
- package/dist/serialization/types/CustomFormatGrammar.js +45 -0
- package/dist/serialization/types/CustomFormatGrammarGrammar.d.ts +14 -0
- package/dist/serialization/types/CustomFormatGrammarGrammar.js +45 -0
- package/dist/serialization/types/CustomFormatGrammarGrammarSyntax.d.ts +10 -0
- package/dist/serialization/types/CustomFormatGrammarGrammarSyntax.js +41 -0
- package/dist/serialization/types/CustomFormatText.d.ts +12 -0
- package/dist/serialization/types/CustomFormatText.js +43 -0
- package/dist/serialization/types/McpTool.d.ts +2 -0
- package/dist/serialization/types/McpTool.js +2 -0
- package/dist/serialization/types/McpToolHealth.d.ts +13 -0
- package/dist/serialization/types/McpToolHealth.js +44 -0
- package/dist/serialization/types/Message.d.ts +2 -2
- package/dist/serialization/types/Message.js +2 -2
- package/dist/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.d.ts +15 -0
- package/dist/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.js +46 -0
- package/dist/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.d.ts +12 -0
- package/dist/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.js +43 -0
- package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.d.ts +13 -0
- package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.js +44 -0
- package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.d.ts +13 -0
- package/{serialization/types/OpenaiTypesChatChatCompletionMessageToolCallParamFunction.js → dist/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.js} +2 -2
- package/dist/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.d.ts +12 -0
- package/dist/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.js +43 -0
- package/dist/serialization/types/index.d.ts +24 -4
- package/dist/serialization/types/index.js +24 -4
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +1 -3
- package/serialization/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.d.ts +0 -1
- package/serialization/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.js +0 -1
- package/serialization/resources/tools/client/requests/ToolUpdate.d.ts +1 -0
- package/serialization/resources/tools/client/requests/ToolUpdate.js +1 -0
- package/serialization/types/ChatCompletionAllowedToolChoiceParam.d.ts +14 -0
- package/serialization/types/ChatCompletionAllowedToolChoiceParam.js +45 -0
- package/serialization/types/ChatCompletionAllowedToolsParam.d.ts +14 -0
- package/serialization/types/ChatCompletionAllowedToolsParam.js +45 -0
- package/serialization/types/ChatCompletionAllowedToolsParamMode.d.ts +10 -0
- package/serialization/types/ChatCompletionAllowedToolsParamMode.js +41 -0
- package/serialization/types/ChatCompletionAssistantMessageParam.d.ts +2 -2
- package/serialization/types/ChatCompletionAssistantMessageParam.js +2 -2
- package/serialization/types/ChatCompletionAssistantMessageParamToolCallsItem.d.ts +12 -0
- package/serialization/types/ChatCompletionAssistantMessageParamToolCallsItem.js +46 -0
- package/serialization/types/ChatCompletionCustomToolParam.d.ts +14 -0
- package/serialization/types/ChatCompletionCustomToolParam.js +45 -0
- package/serialization/types/{ChatCompletionToolParam.d.ts → ChatCompletionFunctionToolParam.d.ts} +2 -2
- package/serialization/types/{ChatCompletionToolParam.js → ChatCompletionFunctionToolParam.js} +2 -2
- package/serialization/types/ChatCompletionMessageCustomToolCallParam.d.ts +15 -0
- package/serialization/types/ChatCompletionMessageCustomToolCallParam.js +46 -0
- package/serialization/types/{ChatCompletionMessageToolCall.d.ts → ChatCompletionMessageFunctionToolCall.d.ts} +2 -2
- package/serialization/types/{ChatCompletionMessageToolCall.js → ChatCompletionMessageFunctionToolCall.js} +2 -2
- package/serialization/types/ChatCompletionMessageFunctionToolCallParam.d.ts +15 -0
- package/serialization/types/{ChatCompletionMessageToolCallParam.js → ChatCompletionMessageFunctionToolCallParam.js} +4 -4
- package/serialization/types/ChatCompletionNamedToolChoiceCustomParam.d.ts +14 -0
- package/serialization/types/ChatCompletionNamedToolChoiceCustomParam.js +45 -0
- package/serialization/types/ChatCompletionStreamOptionsParam.d.ts +1 -0
- package/serialization/types/ChatCompletionStreamOptionsParam.js +1 -0
- package/serialization/types/CodeInput.d.ts +1 -0
- package/serialization/types/CodeInput.js +1 -0
- package/serialization/types/CompletionCreateParamsNonStreaming.d.ts +4 -2
- package/serialization/types/CompletionCreateParamsNonStreaming.js +4 -2
- package/serialization/types/CompletionCreateParamsNonStreamingModel.d.ts +1 -1
- package/serialization/types/CompletionCreateParamsNonStreamingModel.js +7 -0
- package/serialization/types/CompletionCreateParamsNonStreamingReasoningEffort.d.ts +1 -1
- package/serialization/types/CompletionCreateParamsNonStreamingReasoningEffort.js +1 -1
- package/serialization/types/CompletionCreateParamsNonStreamingToolChoice.d.ts +3 -1
- package/serialization/types/CompletionCreateParamsNonStreamingToolChoice.js +4 -0
- package/serialization/types/CompletionCreateParamsNonStreamingToolsItem.d.ts +12 -0
- package/serialization/types/CompletionCreateParamsNonStreamingToolsItem.js +43 -0
- package/serialization/types/CompletionCreateParamsNonStreamingVerbosity.d.ts +10 -0
- package/serialization/types/CompletionCreateParamsNonStreamingVerbosity.js +41 -0
- package/serialization/types/CompletionCreateParamsStreaming.d.ts +4 -2
- package/serialization/types/CompletionCreateParamsStreaming.js +4 -2
- package/serialization/types/CompletionCreateParamsStreamingModel.d.ts +1 -1
- package/serialization/types/CompletionCreateParamsStreamingModel.js +7 -0
- package/serialization/types/CompletionCreateParamsStreamingReasoningEffort.d.ts +1 -1
- package/serialization/types/CompletionCreateParamsStreamingReasoningEffort.js +1 -1
- package/serialization/types/CompletionCreateParamsStreamingToolChoice.d.ts +3 -1
- package/serialization/types/CompletionCreateParamsStreamingToolChoice.js +4 -0
- package/serialization/types/CompletionCreateParamsStreamingToolsItem.d.ts +12 -0
- package/serialization/types/CompletionCreateParamsStreamingToolsItem.js +43 -0
- package/serialization/types/CompletionCreateParamsStreamingVerbosity.d.ts +10 -0
- package/serialization/types/CompletionCreateParamsStreamingVerbosity.js +41 -0
- package/serialization/types/CustomFormatGrammar.d.ts +14 -0
- package/serialization/types/CustomFormatGrammar.js +45 -0
- package/serialization/types/CustomFormatGrammarGrammar.d.ts +14 -0
- package/serialization/types/CustomFormatGrammarGrammar.js +45 -0
- package/serialization/types/CustomFormatGrammarGrammarSyntax.d.ts +10 -0
- package/serialization/types/CustomFormatGrammarGrammarSyntax.js +41 -0
- package/serialization/types/CustomFormatText.d.ts +12 -0
- package/serialization/types/CustomFormatText.js +43 -0
- package/serialization/types/McpTool.d.ts +2 -0
- package/serialization/types/McpTool.js +2 -0
- package/serialization/types/McpToolHealth.d.ts +13 -0
- package/serialization/types/McpToolHealth.js +44 -0
- package/serialization/types/Message.d.ts +2 -2
- package/serialization/types/Message.js +2 -2
- package/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.d.ts +15 -0
- package/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustom.js +46 -0
- package/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.d.ts +12 -0
- package/serialization/types/OpenaiTypesChatChatCompletionCustomToolParamCustomFormat.js +43 -0
- package/serialization/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.d.ts +13 -0
- package/serialization/types/OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom.js +44 -0
- package/serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.d.ts +13 -0
- package/{dist/serialization/types/OpenaiTypesChatChatCompletionMessageToolCallParamFunction.js → serialization/types/OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction.js} +2 -2
- package/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.d.ts +12 -0
- package/serialization/types/OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom.js +43 -0
- package/serialization/types/index.d.ts +24 -4
- package/serialization/types/index.js +24 -4
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/ChatCompletionMessageToolCallParam.d.ts +0 -9
- package/dist/api/types/ChatCompletionMessageToolCallParam.d.ts +0 -9
- package/dist/serialization/types/ChatCompletionMessageToolCallParam.d.ts +0 -15
- package/dist/serialization/types/OpenaiTypesChatChatCompletionMessageToolCallParamFunction.d.ts +0 -13
- package/serialization/types/ChatCompletionMessageToolCallParam.d.ts +0 -15
- package/serialization/types/OpenaiTypesChatChatCompletionMessageToolCallParamFunction.d.ts +0 -13
- /package/api/types/{ChatCompletionMessageToolCall.js → ChatCompletionAllowedToolChoiceParam.js} +0 -0
- /package/api/types/{ChatCompletionMessageToolCallParam.js → ChatCompletionAllowedToolsParam.js} +0 -0
- /package/api/types/{ChatCompletionToolParam.js → ChatCompletionAssistantMessageParamToolCallsItem.js} +0 -0
- /package/api/types/{OpenaiTypesChatChatCompletionMessageToolCallParamFunction.js → ChatCompletionCustomToolParam.js} +0 -0
- /package/{dist/api/types/ChatCompletionMessageToolCall.js → api/types/ChatCompletionFunctionToolParam.js} +0 -0
- /package/{dist/api/types/ChatCompletionMessageToolCallParam.js → api/types/ChatCompletionMessageCustomToolCallParam.js} +0 -0
- /package/{dist/api/types/ChatCompletionToolParam.js → api/types/ChatCompletionMessageFunctionToolCall.js} +0 -0
- /package/{dist/api/types/OpenaiTypesChatChatCompletionMessageToolCallParamFunction.js → api/types/ChatCompletionMessageFunctionToolCallParam.js} +0 -0
|
@@ -97,7 +97,7 @@ class Providers {
|
|
|
97
97
|
method: "GET",
|
|
98
98
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
99
99
|
? yield core.Supplier.get(this._options.project)
|
|
100
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
100
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
|
|
101
101
|
contentType: "application/json",
|
|
102
102
|
queryParameters: _queryParams,
|
|
103
103
|
requestType: "json",
|
|
@@ -178,7 +178,7 @@ class Providers {
|
|
|
178
178
|
method: "POST",
|
|
179
179
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
180
180
|
? yield core.Supplier.get(this._options.project)
|
|
181
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
181
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
|
|
182
182
|
contentType: "application/json",
|
|
183
183
|
requestType: "json",
|
|
184
184
|
body: serializers.ProviderCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -255,7 +255,7 @@ class Providers {
|
|
|
255
255
|
method: "DELETE",
|
|
256
256
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
257
257
|
? yield core.Supplier.get(this._options.project)
|
|
258
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
258
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
|
|
259
259
|
contentType: "application/json",
|
|
260
260
|
requestType: "json",
|
|
261
261
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -325,7 +325,7 @@ class Providers {
|
|
|
325
325
|
method: "PATCH",
|
|
326
326
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
327
327
|
? yield core.Supplier.get(this._options.project)
|
|
328
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
328
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
|
|
329
329
|
contentType: "application/json",
|
|
330
330
|
requestType: "json",
|
|
331
331
|
body: serializers.ProviderUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -397,7 +397,7 @@ class Providers {
|
|
|
397
397
|
method: "GET",
|
|
398
398
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
399
399
|
? yield core.Supplier.get(this._options.project)
|
|
400
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
400
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
|
|
401
401
|
contentType: "application/json",
|
|
402
402
|
requestType: "json",
|
|
403
403
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -454,7 +454,7 @@ class Providers {
|
|
|
454
454
|
method: "POST",
|
|
455
455
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
456
456
|
? yield core.Supplier.get(this._options.project)
|
|
457
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
457
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
|
|
458
458
|
contentType: "application/json",
|
|
459
459
|
requestType: "json",
|
|
460
460
|
body: serializers.ProviderCheck.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -106,7 +106,7 @@ class Runs {
|
|
|
106
106
|
method: "GET",
|
|
107
107
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
108
108
|
? yield core.Supplier.get(this._options.project)
|
|
109
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
109
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
|
|
110
110
|
contentType: "application/json",
|
|
111
111
|
queryParameters: _queryParams,
|
|
112
112
|
requestType: "json",
|
|
@@ -193,7 +193,7 @@ class Runs {
|
|
|
193
193
|
method: "GET",
|
|
194
194
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
195
195
|
? yield core.Supplier.get(this._options.project)
|
|
196
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
196
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
|
|
197
197
|
contentType: "application/json",
|
|
198
198
|
queryParameters: _queryParams,
|
|
199
199
|
requestType: "json",
|
|
@@ -270,7 +270,7 @@ class Runs {
|
|
|
270
270
|
method: "GET",
|
|
271
271
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
272
272
|
? yield core.Supplier.get(this._options.project)
|
|
273
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
273
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
|
|
274
274
|
contentType: "application/json",
|
|
275
275
|
requestType: "json",
|
|
276
276
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -346,7 +346,7 @@ class Runs {
|
|
|
346
346
|
method: "DELETE",
|
|
347
347
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
348
348
|
? yield core.Supplier.get(this._options.project)
|
|
349
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
349
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
350
350
|
contentType: "application/json",
|
|
351
351
|
requestType: "json",
|
|
352
352
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -112,7 +112,7 @@ class Messages {
|
|
|
112
112
|
method: "GET",
|
|
113
113
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
114
114
|
? yield core.Supplier.get(this._options.project)
|
|
115
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
115
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
|
|
116
116
|
contentType: "application/json",
|
|
117
117
|
queryParameters: _queryParams,
|
|
118
118
|
requestType: "json",
|
|
@@ -106,7 +106,7 @@ class Steps {
|
|
|
106
106
|
method: "GET",
|
|
107
107
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
108
108
|
? yield core.Supplier.get(this._options.project)
|
|
109
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
109
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
|
|
110
110
|
contentType: "application/json",
|
|
111
111
|
queryParameters: _queryParams,
|
|
112
112
|
requestType: "json",
|
|
@@ -81,7 +81,7 @@ class Usage {
|
|
|
81
81
|
method: "GET",
|
|
82
82
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
83
83
|
? yield core.Supplier.get(this._options.project)
|
|
84
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
84
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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,
|
|
@@ -90,7 +90,7 @@ class Sources {
|
|
|
90
90
|
method: "GET",
|
|
91
91
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
92
92
|
? yield core.Supplier.get(this._options.project)
|
|
93
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
93
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
|
|
94
94
|
contentType: "application/json",
|
|
95
95
|
requestType: "json",
|
|
96
96
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -166,7 +166,7 @@ class Sources {
|
|
|
166
166
|
method: "GET",
|
|
167
167
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
168
168
|
? yield core.Supplier.get(this._options.project)
|
|
169
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
169
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
|
|
170
170
|
contentType: "application/json",
|
|
171
171
|
requestType: "json",
|
|
172
172
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -242,7 +242,7 @@ class Sources {
|
|
|
242
242
|
method: "DELETE",
|
|
243
243
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
244
244
|
? yield core.Supplier.get(this._options.project)
|
|
245
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
245
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
|
|
246
246
|
contentType: "application/json",
|
|
247
247
|
requestType: "json",
|
|
248
248
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -310,7 +310,7 @@ class Sources {
|
|
|
310
310
|
method: "PATCH",
|
|
311
311
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
312
312
|
? yield core.Supplier.get(this._options.project)
|
|
313
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
313
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
|
|
314
314
|
contentType: "application/json",
|
|
315
315
|
requestType: "json",
|
|
316
316
|
body: serializers.SourceUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -387,7 +387,7 @@ class Sources {
|
|
|
387
387
|
method: "GET",
|
|
388
388
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
389
389
|
? yield core.Supplier.get(this._options.project)
|
|
390
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
390
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
|
|
391
391
|
contentType: "application/json",
|
|
392
392
|
requestType: "json",
|
|
393
393
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -474,7 +474,7 @@ class Sources {
|
|
|
474
474
|
method: "GET",
|
|
475
475
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
476
476
|
? yield core.Supplier.get(this._options.project)
|
|
477
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
477
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
|
|
478
478
|
contentType: "application/json",
|
|
479
479
|
queryParameters: _queryParams,
|
|
480
480
|
requestType: "json",
|
|
@@ -550,7 +550,7 @@ class Sources {
|
|
|
550
550
|
method: "GET",
|
|
551
551
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
552
552
|
? yield core.Supplier.get(this._options.project)
|
|
553
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
553
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
|
|
554
554
|
contentType: "application/json",
|
|
555
555
|
requestType: "json",
|
|
556
556
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -628,7 +628,7 @@ class Sources {
|
|
|
628
628
|
method: "POST",
|
|
629
629
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
630
630
|
? yield core.Supplier.get(this._options.project)
|
|
631
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
631
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
|
|
632
632
|
contentType: "application/json",
|
|
633
633
|
requestType: "json",
|
|
634
634
|
body: serializers.SourceCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -705,7 +705,7 @@ class Sources {
|
|
|
705
705
|
method: "GET",
|
|
706
706
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
707
707
|
? yield core.Supplier.get(this._options.project)
|
|
708
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
708
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
709
709
|
contentType: "application/json",
|
|
710
710
|
requestType: "json",
|
|
711
711
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -788,7 +788,7 @@ class Sources {
|
|
|
788
788
|
method: "GET",
|
|
789
789
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
790
790
|
? yield core.Supplier.get(this._options.project)
|
|
791
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
791
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
|
|
792
792
|
contentType: "application/json",
|
|
793
793
|
queryParameters: _queryParams,
|
|
794
794
|
requestType: "json",
|
|
@@ -90,7 +90,7 @@ class Files {
|
|
|
90
90
|
method: "POST",
|
|
91
91
|
headers: Object.assign(Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
92
92
|
? yield core.Supplier.get(this._options.project)
|
|
93
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
93
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
94
94
|
queryParameters: _queryParams,
|
|
95
95
|
requestType: "file",
|
|
96
96
|
duplex: _maybeEncodedRequest.duplex,
|
|
@@ -180,7 +180,7 @@ class Files {
|
|
|
180
180
|
method: "GET",
|
|
181
181
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
182
182
|
? yield core.Supplier.get(this._options.project)
|
|
183
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
183
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
|
|
184
184
|
contentType: "application/json",
|
|
185
185
|
queryParameters: _queryParams,
|
|
186
186
|
requestType: "json",
|
|
@@ -258,7 +258,7 @@ class Files {
|
|
|
258
258
|
method: "DELETE",
|
|
259
259
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
260
260
|
? yield core.Supplier.get(this._options.project)
|
|
261
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
261
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
|
|
262
262
|
contentType: "application/json",
|
|
263
263
|
requestType: "json",
|
|
264
264
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -93,7 +93,7 @@ class Passages {
|
|
|
93
93
|
method: "GET",
|
|
94
94
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
95
95
|
? yield core.Supplier.get(this._options.project)
|
|
96
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
96
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
|
|
97
97
|
contentType: "application/json",
|
|
98
98
|
queryParameters: _queryParams,
|
|
99
99
|
requestType: "json",
|
|
@@ -140,7 +140,7 @@ class Steps {
|
|
|
140
140
|
method: "GET",
|
|
141
141
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
142
142
|
? yield core.Supplier.get(this._options.project)
|
|
143
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
143
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
|
|
144
144
|
contentType: "application/json",
|
|
145
145
|
queryParameters: _queryParams,
|
|
146
146
|
requestType: "json",
|
|
@@ -217,7 +217,7 @@ class Steps {
|
|
|
217
217
|
method: "GET",
|
|
218
218
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
219
219
|
? yield core.Supplier.get(this._options.project)
|
|
220
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
220
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
|
|
221
221
|
contentType: "application/json",
|
|
222
222
|
requestType: "json",
|
|
223
223
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -293,7 +293,7 @@ class Steps {
|
|
|
293
293
|
method: "GET",
|
|
294
294
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
295
295
|
? yield core.Supplier.get(this._options.project)
|
|
296
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
296
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
|
|
297
297
|
contentType: "application/json",
|
|
298
298
|
requestType: "json",
|
|
299
299
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -89,7 +89,7 @@ class Feedback {
|
|
|
89
89
|
method: "PATCH",
|
|
90
90
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
91
91
|
? yield core.Supplier.get(this._options.project)
|
|
92
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
92
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
|
|
93
93
|
contentType: "application/json",
|
|
94
94
|
queryParameters: _queryParams,
|
|
95
95
|
requestType: "json",
|
|
@@ -92,7 +92,7 @@ class Tags {
|
|
|
92
92
|
method: "GET",
|
|
93
93
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
94
94
|
? yield core.Supplier.get(this._options.project)
|
|
95
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
95
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
|
|
96
96
|
contentType: "application/json",
|
|
97
97
|
queryParameters: _queryParams,
|
|
98
98
|
requestType: "json",
|
|
@@ -79,7 +79,7 @@ class Telemetry {
|
|
|
79
79
|
method: "GET",
|
|
80
80
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
81
81
|
? yield core.Supplier.get(this._options.project)
|
|
82
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
82
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
|
|
83
83
|
contentType: "application/json",
|
|
84
84
|
requestType: "json",
|
|
85
85
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -97,7 +97,7 @@ class Templates {
|
|
|
97
97
|
method: "GET",
|
|
98
98
|
headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
|
|
99
99
|
? yield core.Supplier.get(this._options.project)
|
|
100
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.
|
|
100
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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),
|
|
101
101
|
contentType: "application/json",
|
|
102
102
|
queryParameters: _queryParams,
|
|
103
103
|
requestType: "json",
|
|
@@ -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.1.
|
|
86
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.179", "User-Agent": "@letta-ai/letta-client/0.1.179", "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" }),
|