@letta-ai/letta-client 0.1.175 → 0.1.177
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.d.ts +9 -3
- package/api/resources/agents/client/Client.js +31 -16
- package/api/resources/agents/client/requests/AgentsExportFileRequest.d.ts +14 -0
- package/api/resources/agents/client/requests/index.d.ts +1 -0
- 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 +5 -3
- package/api/resources/agents/resources/messages/client/Client.js +13 -15
- package/api/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.d.ts +15 -0
- package/api/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
- 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/templates/client/requests/TemplatesCreateVersionRequest.d.ts +2 -0
- package/api/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.d.ts +2 -0
- 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.d.ts +15 -3
- package/api/resources/providers/client/Client.js +64 -8
- package/{dist/api/types → api/resources/providers/client/requests}/ProviderCheck.d.ts +12 -1
- package/api/resources/providers/client/requests/ProviderCreate.d.ts +4 -0
- package/api/resources/providers/client/requests/ProviderUpdate.d.ts +4 -0
- package/api/resources/providers/client/requests/index.d.ts +1 -0
- 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.d.ts +13 -0
- package/api/resources/steps/client/Client.js +78 -2
- 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/templates/types/TemplatesListResponseTemplatesItem.d.ts +4 -0
- package/api/resources/tools/client/Client.d.ts +1 -1
- package/api/resources/tools/client/Client.js +21 -21
- package/api/resources/voice/client/Client.js +1 -1
- package/api/types/AgentFileSchema.d.ts +27 -0
- package/api/types/BlockSchema.d.ts +29 -0
- package/api/types/BodyExportAgentSerialized.d.ts +8 -0
- package/api/types/CompletionCreateParamsNonStreaming.d.ts +2 -0
- package/api/types/CompletionCreateParamsStreaming.d.ts +2 -0
- package/api/types/EmbeddingConfigEmbeddingEndpointType.d.ts +1 -2
- package/api/types/EmbeddingConfigEmbeddingEndpointType.js +0 -1
- package/api/types/FileAgentSchema.d.ts +28 -0
- package/api/types/FileSchema.d.ts +37 -0
- package/api/types/GroupSchema.d.ts +21 -0
- package/api/types/GroupSchemaManagerConfig.d.ts +8 -0
- package/api/types/ImportedAgentsResponse.d.ts +10 -0
- package/api/types/ImportedAgentsResponse.js +5 -0
- package/api/types/LettaSchemasAgentFileAgentSchema.d.ts +105 -0
- package/api/types/LettaSchemasAgentFileAgentSchema.js +5 -0
- package/api/types/LettaSchemasAgentFileAgentSchemaResponseFormat.d.ts +5 -0
- package/api/types/LettaSchemasAgentFileAgentSchemaResponseFormat.js +5 -0
- package/api/types/LettaSchemasAgentFileAgentSchemaToolRulesItem.d.ts +5 -0
- package/api/types/LettaSchemasAgentFileAgentSchemaToolRulesItem.js +5 -0
- package/api/types/LettaSchemasAgentFileMessageSchema.d.ts +29 -0
- package/api/types/LettaSchemasAgentFileMessageSchema.js +5 -0
- package/api/types/LettaSchemasAgentFileMessageSchemaContent.d.ts +8 -0
- package/api/types/LettaSchemasAgentFileMessageSchemaContent.js +5 -0
- package/api/types/LettaSchemasAgentFileToolSchema.d.ts +39 -0
- package/api/types/LettaSchemasAgentFileToolSchema.js +5 -0
- package/api/types/{AgentSchema.d.ts → LettaSerializeSchemasPydanticAgentSchemaAgentSchema.d.ts} +4 -4
- package/api/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchema.js +5 -0
- package/api/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem.d.ts +5 -0
- package/api/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem.js +5 -0
- package/api/types/{MessageSchema.d.ts → LettaSerializeSchemasPydanticAgentSchemaMessageSchema.d.ts} +1 -1
- package/api/types/LettaSerializeSchemasPydanticAgentSchemaMessageSchema.js +5 -0
- package/api/types/{ToolSchema.d.ts → LettaSerializeSchemasPydanticAgentSchemaToolSchema.d.ts} +1 -1
- package/api/types/LettaSerializeSchemasPydanticAgentSchemaToolSchema.js +5 -0
- package/api/types/LlmConfig.d.ts +1 -1
- package/api/types/LlmConfigModelEndpointType.d.ts +1 -2
- package/api/types/LlmConfigModelEndpointType.js +0 -1
- package/api/types/LlmConfigReasoningEffort.d.ts +2 -1
- package/api/types/LlmConfigReasoningEffort.js +1 -0
- package/api/types/McpServerSchema.d.ts +15 -0
- package/api/types/McpServerSchema.js +5 -0
- package/api/types/McpToolExecuteRequest.d.ts +7 -0
- package/api/types/McpToolExecuteRequest.js +5 -0
- package/api/types/Provider.d.ts +2 -0
- package/api/types/ProviderType.d.ts +1 -2
- package/api/types/ProviderType.js +0 -1
- package/api/types/SourceSchema.d.ts +25 -0
- package/api/types/SourceSchema.js +5 -0
- package/api/types/Step.d.ts +6 -0
- package/api/types/StepMetrics.d.ts +25 -0
- package/api/types/StepMetrics.js +5 -0
- package/api/types/StepStatus.d.ts +13 -0
- package/api/types/StepStatus.js +12 -0
- package/api/types/index.d.ts +23 -5
- package/api/types/index.js +23 -5
- package/dist/api/resources/agents/client/Client.d.ts +9 -3
- package/dist/api/resources/agents/client/Client.js +31 -16
- package/dist/api/resources/agents/client/requests/AgentsExportFileRequest.d.ts +14 -0
- package/dist/api/resources/agents/client/requests/AgentsExportFileRequest.js +5 -0
- package/dist/api/resources/agents/client/requests/index.d.ts +1 -0
- 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 +5 -3
- package/dist/api/resources/agents/resources/messages/client/Client.js +13 -15
- package/dist/api/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.d.ts +15 -0
- package/dist/api/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.js +5 -0
- package/dist/api/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
- 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/templates/client/requests/TemplatesCreateVersionRequest.d.ts +2 -0
- package/dist/api/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.d.ts +2 -0
- 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.d.ts +15 -3
- package/dist/api/resources/providers/client/Client.js +64 -8
- package/{api/types → dist/api/resources/providers/client/requests}/ProviderCheck.d.ts +12 -1
- package/dist/api/resources/providers/client/requests/ProviderCheck.js +5 -0
- package/dist/api/resources/providers/client/requests/ProviderCreate.d.ts +4 -0
- package/dist/api/resources/providers/client/requests/ProviderUpdate.d.ts +4 -0
- package/dist/api/resources/providers/client/requests/index.d.ts +1 -0
- 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.d.ts +13 -0
- package/dist/api/resources/steps/client/Client.js +78 -2
- 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/templates/types/TemplatesListResponseTemplatesItem.d.ts +4 -0
- package/dist/api/resources/tools/client/Client.d.ts +1 -1
- package/dist/api/resources/tools/client/Client.js +21 -21
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/api/types/AgentFileSchema.d.ts +27 -0
- package/dist/api/types/AgentFileSchema.js +5 -0
- package/dist/api/types/BlockSchema.d.ts +29 -0
- package/dist/api/types/BlockSchema.js +5 -0
- package/dist/api/types/BodyExportAgentSerialized.d.ts +8 -0
- package/dist/api/types/BodyExportAgentSerialized.js +5 -0
- package/dist/api/types/CompletionCreateParamsNonStreaming.d.ts +2 -0
- package/dist/api/types/CompletionCreateParamsStreaming.d.ts +2 -0
- package/dist/api/types/EmbeddingConfigEmbeddingEndpointType.d.ts +1 -2
- package/dist/api/types/EmbeddingConfigEmbeddingEndpointType.js +0 -1
- package/dist/api/types/FileAgentSchema.d.ts +28 -0
- package/dist/api/types/FileAgentSchema.js +5 -0
- package/dist/api/types/FileSchema.d.ts +37 -0
- package/dist/api/types/FileSchema.js +5 -0
- package/dist/api/types/GroupSchema.d.ts +21 -0
- package/dist/api/types/GroupSchema.js +5 -0
- package/dist/api/types/GroupSchemaManagerConfig.d.ts +8 -0
- package/dist/api/types/GroupSchemaManagerConfig.js +5 -0
- package/dist/api/types/ImportedAgentsResponse.d.ts +10 -0
- package/dist/api/types/ImportedAgentsResponse.js +5 -0
- package/dist/api/types/LettaSchemasAgentFileAgentSchema.d.ts +105 -0
- package/dist/api/types/LettaSchemasAgentFileAgentSchema.js +5 -0
- package/dist/api/types/LettaSchemasAgentFileAgentSchemaResponseFormat.d.ts +5 -0
- package/dist/api/types/LettaSchemasAgentFileAgentSchemaResponseFormat.js +5 -0
- package/dist/api/types/LettaSchemasAgentFileAgentSchemaToolRulesItem.d.ts +5 -0
- package/dist/api/types/LettaSchemasAgentFileAgentSchemaToolRulesItem.js +5 -0
- package/dist/api/types/LettaSchemasAgentFileMessageSchema.d.ts +29 -0
- package/dist/api/types/LettaSchemasAgentFileMessageSchema.js +5 -0
- package/dist/api/types/LettaSchemasAgentFileMessageSchemaContent.d.ts +8 -0
- package/dist/api/types/LettaSchemasAgentFileMessageSchemaContent.js +5 -0
- package/dist/api/types/LettaSchemasAgentFileToolSchema.d.ts +39 -0
- package/dist/api/types/LettaSchemasAgentFileToolSchema.js +5 -0
- package/dist/api/types/{AgentSchema.d.ts → LettaSerializeSchemasPydanticAgentSchemaAgentSchema.d.ts} +4 -4
- package/dist/api/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchema.js +5 -0
- package/dist/api/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem.d.ts +5 -0
- package/dist/api/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem.js +5 -0
- package/dist/api/types/{MessageSchema.d.ts → LettaSerializeSchemasPydanticAgentSchemaMessageSchema.d.ts} +1 -1
- package/dist/api/types/LettaSerializeSchemasPydanticAgentSchemaMessageSchema.js +5 -0
- package/dist/api/types/{ToolSchema.d.ts → LettaSerializeSchemasPydanticAgentSchemaToolSchema.d.ts} +1 -1
- package/dist/api/types/LettaSerializeSchemasPydanticAgentSchemaToolSchema.js +5 -0
- package/dist/api/types/LlmConfig.d.ts +1 -1
- package/dist/api/types/LlmConfigModelEndpointType.d.ts +1 -2
- package/dist/api/types/LlmConfigModelEndpointType.js +0 -1
- package/dist/api/types/LlmConfigReasoningEffort.d.ts +2 -1
- package/dist/api/types/LlmConfigReasoningEffort.js +1 -0
- package/dist/api/types/McpServerSchema.d.ts +15 -0
- package/dist/api/types/McpServerSchema.js +5 -0
- package/dist/api/types/McpToolExecuteRequest.d.ts +7 -0
- package/dist/api/types/McpToolExecuteRequest.js +5 -0
- package/dist/api/types/Provider.d.ts +2 -0
- package/dist/api/types/ProviderType.d.ts +1 -2
- package/dist/api/types/ProviderType.js +0 -1
- package/dist/api/types/SourceSchema.d.ts +25 -0
- package/dist/api/types/SourceSchema.js +5 -0
- package/dist/api/types/Step.d.ts +6 -0
- package/dist/api/types/StepMetrics.d.ts +25 -0
- package/dist/api/types/StepMetrics.js +5 -0
- package/dist/api/types/StepStatus.d.ts +13 -0
- package/dist/api/types/StepStatus.js +12 -0
- package/dist/api/types/index.d.ts +23 -5
- package/dist/api/types/index.js +23 -5
- package/dist/serialization/resources/agents/resources/messages/client/cancel.d.ts +0 -4
- package/dist/serialization/resources/agents/resources/messages/client/cancel.js +1 -2
- package/dist/serialization/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.d.ts +13 -0
- package/dist/serialization/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.js +44 -0
- package/dist/serialization/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/messages/client/requests/index.js +3 -1
- package/dist/serialization/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.js +1 -0
- package/dist/serialization/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.js +1 -0
- package/dist/serialization/resources/providers/client/requests/ProviderCheck.d.ts +18 -0
- package/{serialization/types → dist/serialization/resources/providers/client/requests}/ProviderCheck.js +4 -2
- package/dist/serialization/resources/providers/client/requests/ProviderCreate.d.ts +2 -0
- package/dist/serialization/resources/providers/client/requests/ProviderCreate.js +2 -0
- package/dist/serialization/resources/providers/client/requests/ProviderUpdate.d.ts +2 -0
- package/dist/serialization/resources/providers/client/requests/ProviderUpdate.js +2 -0
- package/dist/serialization/resources/providers/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/providers/client/requests/index.js +3 -1
- package/dist/serialization/resources/templates/types/TemplatesListResponse.d.ts +1 -1
- package/dist/serialization/resources/templates/types/TemplatesListResponse.js +1 -1
- package/dist/serialization/resources/templates/types/TemplatesListResponseTemplatesItem.d.ts +3 -0
- package/dist/serialization/resources/templates/types/TemplatesListResponseTemplatesItem.js +3 -0
- package/dist/serialization/types/AgentFileSchema.d.ts +27 -0
- package/dist/serialization/types/AgentFileSchema.js +58 -0
- package/dist/serialization/types/BlockSchema.d.ts +22 -0
- package/dist/serialization/types/BlockSchema.js +53 -0
- package/dist/serialization/types/BodyExportAgentSerialized.d.ts +15 -0
- package/dist/serialization/types/BodyExportAgentSerialized.js +46 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreaming.d.ts +2 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreaming.js +2 -0
- package/dist/serialization/types/CompletionCreateParamsStreaming.d.ts +2 -0
- package/dist/serialization/types/CompletionCreateParamsStreaming.js +2 -0
- package/dist/serialization/types/EmbeddingConfigEmbeddingEndpointType.d.ts +1 -1
- package/dist/serialization/types/EmbeddingConfigEmbeddingEndpointType.js +0 -1
- package/dist/serialization/types/FileAgentSchema.d.ts +21 -0
- package/dist/serialization/types/FileAgentSchema.js +52 -0
- package/dist/serialization/types/FileSchema.d.ts +26 -0
- package/dist/serialization/types/FileSchema.js +57 -0
- package/dist/serialization/types/GroupSchema.d.ts +18 -0
- package/dist/serialization/types/GroupSchema.js +49 -0
- package/dist/serialization/types/GroupSchemaManagerConfig.d.ts +15 -0
- package/dist/serialization/types/GroupSchemaManagerConfig.js +52 -0
- package/dist/serialization/types/ImportedAgentsResponse.d.ts +12 -0
- package/dist/serialization/types/ImportedAgentsResponse.js +43 -0
- package/dist/serialization/types/LettaSchemasAgentFileAgentSchema.d.ts +68 -0
- package/dist/serialization/types/LettaSchemasAgentFileAgentSchema.js +99 -0
- package/dist/serialization/types/LettaSchemasAgentFileAgentSchemaResponseFormat.d.ts +13 -0
- package/dist/serialization/types/LettaSchemasAgentFileAgentSchemaResponseFormat.js +44 -0
- package/dist/serialization/types/LettaSchemasAgentFileAgentSchemaToolRulesItem.d.ts +18 -0
- package/dist/serialization/types/LettaSchemasAgentFileAgentSchemaToolRulesItem.js +58 -0
- package/dist/serialization/types/LettaSchemasAgentFileMessageSchema.d.ts +23 -0
- package/dist/serialization/types/LettaSchemasAgentFileMessageSchema.js +54 -0
- package/dist/serialization/types/LettaSchemasAgentFileMessageSchemaContent.d.ts +11 -0
- package/dist/serialization/types/LettaSchemasAgentFileMessageSchemaContent.js +45 -0
- package/dist/serialization/types/LettaSchemasAgentFileToolSchema.d.ts +29 -0
- package/dist/serialization/types/LettaSchemasAgentFileToolSchema.js +60 -0
- package/dist/serialization/types/{AgentSchema.d.ts → LettaSerializeSchemasPydanticAgentSchemaAgentSchema.d.ts} +8 -8
- package/dist/serialization/types/{AgentSchema.js → LettaSerializeSchemasPydanticAgentSchemaAgentSchema.js} +8 -8
- package/{serialization/types/AgentSchemaToolRulesItem.d.ts → dist/serialization/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem.d.ts} +2 -2
- package/{serialization/types/AgentSchemaToolRulesItem.js → dist/serialization/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem.js} +2 -2
- package/dist/serialization/types/{MessageSchema.d.ts → LettaSerializeSchemasPydanticAgentSchemaMessageSchema.d.ts} +2 -2
- package/{serialization/types/MessageSchema.js → dist/serialization/types/LettaSerializeSchemasPydanticAgentSchemaMessageSchema.js} +2 -2
- package/{serialization/types/ToolSchema.d.ts → dist/serialization/types/LettaSerializeSchemasPydanticAgentSchemaToolSchema.d.ts} +2 -2
- package/{serialization/types/ToolSchema.js → dist/serialization/types/LettaSerializeSchemasPydanticAgentSchemaToolSchema.js} +2 -2
- package/dist/serialization/types/LlmConfigModelEndpointType.d.ts +1 -1
- package/dist/serialization/types/LlmConfigModelEndpointType.js +0 -1
- package/dist/serialization/types/LlmConfigReasoningEffort.d.ts +1 -1
- package/dist/serialization/types/LlmConfigReasoningEffort.js +1 -1
- package/dist/serialization/types/McpServerSchema.d.ts +17 -0
- package/dist/serialization/types/McpServerSchema.js +48 -0
- package/dist/serialization/types/McpToolExecuteRequest.d.ts +12 -0
- package/dist/serialization/types/McpToolExecuteRequest.js +43 -0
- package/dist/serialization/types/Provider.d.ts +1 -0
- package/dist/serialization/types/Provider.js +1 -0
- package/dist/serialization/types/ProviderType.d.ts +1 -1
- package/dist/serialization/types/ProviderType.js +0 -1
- package/dist/serialization/types/SourceSchema.d.ts +20 -0
- package/dist/serialization/types/SourceSchema.js +51 -0
- package/dist/serialization/types/Step.d.ts +4 -0
- package/dist/serialization/types/Step.js +4 -0
- package/dist/serialization/types/StepMetrics.d.ts +21 -0
- package/dist/serialization/types/StepMetrics.js +52 -0
- package/dist/serialization/types/StepStatus.d.ts +10 -0
- package/dist/serialization/types/StepStatus.js +41 -0
- package/dist/serialization/types/index.d.ts +23 -5
- package/dist/serialization/types/index.js +23 -5
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +140 -11
- package/serialization/resources/agents/resources/messages/client/cancel.d.ts +0 -4
- package/serialization/resources/agents/resources/messages/client/cancel.js +1 -2
- package/serialization/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.d.ts +13 -0
- package/serialization/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.js +44 -0
- package/serialization/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
- package/serialization/resources/agents/resources/messages/client/requests/index.js +3 -1
- package/serialization/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.d.ts +1 -0
- package/serialization/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.js +1 -0
- package/serialization/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.d.ts +1 -0
- package/serialization/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.js +1 -0
- package/serialization/resources/providers/client/requests/ProviderCheck.d.ts +18 -0
- package/{dist/serialization/types → serialization/resources/providers/client/requests}/ProviderCheck.js +4 -2
- package/serialization/resources/providers/client/requests/ProviderCreate.d.ts +2 -0
- package/serialization/resources/providers/client/requests/ProviderCreate.js +2 -0
- package/serialization/resources/providers/client/requests/ProviderUpdate.d.ts +2 -0
- package/serialization/resources/providers/client/requests/ProviderUpdate.js +2 -0
- package/serialization/resources/providers/client/requests/index.d.ts +1 -0
- package/serialization/resources/providers/client/requests/index.js +3 -1
- package/serialization/resources/templates/types/TemplatesListResponse.d.ts +1 -1
- package/serialization/resources/templates/types/TemplatesListResponse.js +1 -1
- package/serialization/resources/templates/types/TemplatesListResponseTemplatesItem.d.ts +3 -0
- package/serialization/resources/templates/types/TemplatesListResponseTemplatesItem.js +3 -0
- package/serialization/types/AgentFileSchema.d.ts +27 -0
- package/serialization/types/AgentFileSchema.js +58 -0
- package/serialization/types/BlockSchema.d.ts +22 -0
- package/serialization/types/BlockSchema.js +53 -0
- package/serialization/types/BodyExportAgentSerialized.d.ts +15 -0
- package/serialization/types/BodyExportAgentSerialized.js +46 -0
- package/serialization/types/CompletionCreateParamsNonStreaming.d.ts +2 -0
- package/serialization/types/CompletionCreateParamsNonStreaming.js +2 -0
- package/serialization/types/CompletionCreateParamsStreaming.d.ts +2 -0
- package/serialization/types/CompletionCreateParamsStreaming.js +2 -0
- package/serialization/types/EmbeddingConfigEmbeddingEndpointType.d.ts +1 -1
- package/serialization/types/EmbeddingConfigEmbeddingEndpointType.js +0 -1
- package/serialization/types/FileAgentSchema.d.ts +21 -0
- package/serialization/types/FileAgentSchema.js +52 -0
- package/serialization/types/FileSchema.d.ts +26 -0
- package/serialization/types/FileSchema.js +57 -0
- package/serialization/types/GroupSchema.d.ts +18 -0
- package/serialization/types/GroupSchema.js +49 -0
- package/serialization/types/GroupSchemaManagerConfig.d.ts +15 -0
- package/serialization/types/GroupSchemaManagerConfig.js +52 -0
- package/serialization/types/ImportedAgentsResponse.d.ts +12 -0
- package/serialization/types/ImportedAgentsResponse.js +43 -0
- package/serialization/types/LettaSchemasAgentFileAgentSchema.d.ts +68 -0
- package/serialization/types/LettaSchemasAgentFileAgentSchema.js +99 -0
- package/serialization/types/LettaSchemasAgentFileAgentSchemaResponseFormat.d.ts +13 -0
- package/serialization/types/LettaSchemasAgentFileAgentSchemaResponseFormat.js +44 -0
- package/serialization/types/LettaSchemasAgentFileAgentSchemaToolRulesItem.d.ts +18 -0
- package/serialization/types/LettaSchemasAgentFileAgentSchemaToolRulesItem.js +58 -0
- package/serialization/types/LettaSchemasAgentFileMessageSchema.d.ts +23 -0
- package/serialization/types/LettaSchemasAgentFileMessageSchema.js +54 -0
- package/serialization/types/LettaSchemasAgentFileMessageSchemaContent.d.ts +11 -0
- package/serialization/types/LettaSchemasAgentFileMessageSchemaContent.js +45 -0
- package/serialization/types/LettaSchemasAgentFileToolSchema.d.ts +29 -0
- package/serialization/types/LettaSchemasAgentFileToolSchema.js +60 -0
- package/serialization/types/{AgentSchema.d.ts → LettaSerializeSchemasPydanticAgentSchemaAgentSchema.d.ts} +8 -8
- package/serialization/types/{AgentSchema.js → LettaSerializeSchemasPydanticAgentSchemaAgentSchema.js} +8 -8
- package/{dist/serialization/types/AgentSchemaToolRulesItem.d.ts → serialization/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem.d.ts} +2 -2
- package/{dist/serialization/types/AgentSchemaToolRulesItem.js → serialization/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem.js} +2 -2
- package/serialization/types/{MessageSchema.d.ts → LettaSerializeSchemasPydanticAgentSchemaMessageSchema.d.ts} +2 -2
- package/{dist/serialization/types/MessageSchema.js → serialization/types/LettaSerializeSchemasPydanticAgentSchemaMessageSchema.js} +2 -2
- package/{dist/serialization/types/ToolSchema.d.ts → serialization/types/LettaSerializeSchemasPydanticAgentSchemaToolSchema.d.ts} +2 -2
- package/{dist/serialization/types/ToolSchema.js → serialization/types/LettaSerializeSchemasPydanticAgentSchemaToolSchema.js} +2 -2
- package/serialization/types/LlmConfigModelEndpointType.d.ts +1 -1
- package/serialization/types/LlmConfigModelEndpointType.js +0 -1
- package/serialization/types/LlmConfigReasoningEffort.d.ts +1 -1
- package/serialization/types/LlmConfigReasoningEffort.js +1 -1
- package/serialization/types/McpServerSchema.d.ts +17 -0
- package/serialization/types/McpServerSchema.js +48 -0
- package/serialization/types/McpToolExecuteRequest.d.ts +12 -0
- package/serialization/types/McpToolExecuteRequest.js +43 -0
- package/serialization/types/Provider.d.ts +1 -0
- package/serialization/types/Provider.js +1 -0
- package/serialization/types/ProviderType.d.ts +1 -1
- package/serialization/types/ProviderType.js +0 -1
- package/serialization/types/SourceSchema.d.ts +20 -0
- package/serialization/types/SourceSchema.js +51 -0
- package/serialization/types/Step.d.ts +4 -0
- package/serialization/types/Step.js +4 -0
- package/serialization/types/StepMetrics.d.ts +21 -0
- package/serialization/types/StepMetrics.js +52 -0
- package/serialization/types/StepStatus.d.ts +10 -0
- package/serialization/types/StepStatus.js +41 -0
- package/serialization/types/index.d.ts +23 -5
- package/serialization/types/index.js +23 -5
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/AgentSchemaToolRulesItem.d.ts +0 -5
- package/dist/api/types/AgentSchemaToolRulesItem.d.ts +0 -5
- package/dist/serialization/types/ProviderCheck.d.ts +0 -16
- package/serialization/types/ProviderCheck.d.ts +0 -16
- /package/api/{types/AgentSchema.js → resources/agents/client/requests/AgentsExportFileRequest.js} +0 -0
- /package/api/{types/AgentSchemaToolRulesItem.js → resources/agents/resources/messages/client/requests/CancelAgentRunRequest.js} +0 -0
- /package/api/{types → resources/providers/client/requests}/ProviderCheck.js +0 -0
- /package/api/types/{MessageSchema.js → AgentFileSchema.js} +0 -0
- /package/api/types/{ToolSchema.js → BlockSchema.js} +0 -0
- /package/{dist/api/types/AgentSchema.js → api/types/BodyExportAgentSerialized.js} +0 -0
- /package/{dist/api/types/AgentSchemaToolRulesItem.js → api/types/FileAgentSchema.js} +0 -0
- /package/{dist/api/types/MessageSchema.js → api/types/FileSchema.js} +0 -0
- /package/{dist/api/types/ProviderCheck.js → api/types/GroupSchema.js} +0 -0
- /package/{dist/api/types/ToolSchema.js → api/types/GroupSchemaManagerConfig.js} +0 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Letta from "../index";
|
|
5
|
+
export type LettaSchemasAgentFileAgentSchemaToolRulesItem = Letta.ConditionalToolRule | Letta.ChildToolRule | Letta.ContinueToolRule | Letta.TerminalToolRule | Letta.MaxCountPerStepToolRule | Letta.ParentToolRule | Letta.RequiredBeforeExitToolRule | Letta.InitToolRule;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Letta from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* Message with human-readable ID for agent file
|
|
7
|
+
*/
|
|
8
|
+
export interface LettaSchemasAgentFileMessageSchema {
|
|
9
|
+
/** The role of the participant. */
|
|
10
|
+
role: Letta.MessageRole;
|
|
11
|
+
/** The content of the message. */
|
|
12
|
+
content: Letta.LettaSchemasAgentFileMessageSchemaContent;
|
|
13
|
+
/** The name of the participant. */
|
|
14
|
+
name?: string;
|
|
15
|
+
/** The offline threading id associated with this message */
|
|
16
|
+
otid?: string;
|
|
17
|
+
/** The id of the sender of the message, can be an identity id or agent id */
|
|
18
|
+
senderId?: string;
|
|
19
|
+
/** The id of the LLMBatchItem that this message is associated with */
|
|
20
|
+
batchItemId?: string;
|
|
21
|
+
/** The multi-agent group that the message was sent in */
|
|
22
|
+
groupId?: string;
|
|
23
|
+
/** Human-readable identifier for this message in the file */
|
|
24
|
+
id: string;
|
|
25
|
+
/** The model used to make the function call */
|
|
26
|
+
model?: string;
|
|
27
|
+
/** The unique identifier of the agent */
|
|
28
|
+
agentId?: string;
|
|
29
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Letta from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* Tool with human-readable ID for agent file
|
|
7
|
+
*/
|
|
8
|
+
export interface LettaSchemasAgentFileToolSchema {
|
|
9
|
+
/** Human-readable identifier for this tool in the file */
|
|
10
|
+
id: string;
|
|
11
|
+
/** The type of the tool. */
|
|
12
|
+
toolType?: Letta.ToolType;
|
|
13
|
+
/** The description of the tool. */
|
|
14
|
+
description?: string;
|
|
15
|
+
/** The type of the source code. */
|
|
16
|
+
sourceType?: string;
|
|
17
|
+
/** The name of the function. */
|
|
18
|
+
name?: string;
|
|
19
|
+
/** Metadata tags. */
|
|
20
|
+
tags?: string[];
|
|
21
|
+
/** The source code of the function. */
|
|
22
|
+
sourceCode?: string;
|
|
23
|
+
/** The JSON schema of the function. */
|
|
24
|
+
jsonSchema?: Record<string, unknown>;
|
|
25
|
+
/** The args JSON schema of the function. */
|
|
26
|
+
argsJsonSchema?: Record<string, unknown>;
|
|
27
|
+
/** The maximum number of characters in the response. */
|
|
28
|
+
returnCharLimit?: number;
|
|
29
|
+
/** Optional list of pip packages required by this tool. */
|
|
30
|
+
pipRequirements?: Letta.PipRequirement[];
|
|
31
|
+
/** Optional list of npm packages required by this tool. */
|
|
32
|
+
npmRequirements?: Letta.NpmRequirement[];
|
|
33
|
+
/** The id of the user that made this Tool. */
|
|
34
|
+
createdById?: string;
|
|
35
|
+
/** The id of the user that made this Tool. */
|
|
36
|
+
lastUpdatedById?: string;
|
|
37
|
+
/** A dictionary of additional metadata for the tool. */
|
|
38
|
+
metadata?: Record<string, unknown>;
|
|
39
|
+
}
|
package/dist/api/types/{AgentSchema.d.ts → LettaSerializeSchemasPydanticAgentSchemaAgentSchema.d.ts}
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
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 LettaSerializeSchemasPydanticAgentSchemaAgentSchema {
|
|
6
6
|
agentType: string;
|
|
7
7
|
coreMemory: Letta.CoreMemoryBlockSchema[];
|
|
8
8
|
createdAt: string;
|
|
@@ -11,15 +11,15 @@ export interface AgentSchema {
|
|
|
11
11
|
llmConfig: Letta.LlmConfig;
|
|
12
12
|
messageBufferAutoclear: boolean;
|
|
13
13
|
inContextMessageIndices: number[];
|
|
14
|
-
messages: Letta.
|
|
14
|
+
messages: Letta.LettaSerializeSchemasPydanticAgentSchemaMessageSchema[];
|
|
15
15
|
metadata?: Record<string, unknown>;
|
|
16
16
|
multiAgentGroup?: unknown;
|
|
17
17
|
name: string;
|
|
18
18
|
system: string;
|
|
19
19
|
tags: Letta.TagSchema[];
|
|
20
20
|
toolExecEnvironmentVariables: Letta.ToolEnvVarSchema[];
|
|
21
|
-
toolRules: Letta.
|
|
22
|
-
tools: Letta.
|
|
21
|
+
toolRules: Letta.LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem[];
|
|
22
|
+
tools: Letta.LettaSerializeSchemasPydanticAgentSchemaToolSchema[];
|
|
23
23
|
updatedAt: string;
|
|
24
24
|
version: string;
|
|
25
25
|
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Letta from "../index";
|
|
5
|
+
export type LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem = Letta.BaseToolRuleSchema | Letta.ChildToolRuleSchema | Letta.MaxCountPerStepToolRuleSchema | Letta.ConditionalToolRuleSchema;
|
|
@@ -2,7 +2,7 @@
|
|
|
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 LettaSerializeSchemasPydanticAgentSchemaMessageSchema {
|
|
6
6
|
createdAt: string;
|
|
7
7
|
groupId?: string;
|
|
8
8
|
model?: string;
|
package/dist/api/types/{ToolSchema.d.ts → LettaSerializeSchemasPydanticAgentSchemaToolSchema.d.ts}
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
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 LettaSerializeSchemasPydanticAgentSchemaToolSchema {
|
|
6
6
|
argsJsonSchema?: unknown;
|
|
7
7
|
createdAt: string;
|
|
8
8
|
description: string;
|
|
@@ -32,7 +32,7 @@ export interface LlmConfig {
|
|
|
32
32
|
enableReasoner?: boolean;
|
|
33
33
|
/** The reasoning effort to use when generating text reasoning models */
|
|
34
34
|
reasoningEffort?: Letta.LlmConfigReasoningEffort;
|
|
35
|
-
/** Configurable thinking budget for extended thinking
|
|
35
|
+
/** Configurable thinking budget for extended thinking. Used for enable_reasoner and also for Google Vertex models like Gemini 2.5 Flash. Minimum value is 1024 when used with enable_reasoner. */
|
|
36
36
|
maxReasoningTokens?: number;
|
|
37
37
|
/** Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. From OpenAI: Number between -2.0 and 2.0. */
|
|
38
38
|
frequencyPenalty?: number;
|
|
@@ -4,11 +4,10 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* The endpoint type for the model.
|
|
6
6
|
*/
|
|
7
|
-
export type LlmConfigModelEndpointType = "openai" | "anthropic" | "
|
|
7
|
+
export type LlmConfigModelEndpointType = "openai" | "anthropic" | "google_ai" | "google_vertex" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "lmstudio-chatcompletions" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together" | "bedrock" | "deepseek" | "xai";
|
|
8
8
|
export declare const LlmConfigModelEndpointType: {
|
|
9
9
|
readonly Openai: "openai";
|
|
10
10
|
readonly Anthropic: "anthropic";
|
|
11
|
-
readonly Cohere: "cohere";
|
|
12
11
|
readonly GoogleAi: "google_ai";
|
|
13
12
|
readonly GoogleVertex: "google_vertex";
|
|
14
13
|
readonly Azure: "azure";
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type LlmConfigReasoningEffort = "low" | "medium" | "high";
|
|
4
|
+
export type LlmConfigReasoningEffort = "minimal" | "low" | "medium" | "high";
|
|
5
5
|
export declare const LlmConfigReasoningEffort: {
|
|
6
|
+
readonly Minimal: "minimal";
|
|
6
7
|
readonly Low: "low";
|
|
7
8
|
readonly Medium: "medium";
|
|
8
9
|
readonly High: "high";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* MCP server schema for agent files with remapped ID.
|
|
6
|
+
*/
|
|
7
|
+
export interface McpServerSchema {
|
|
8
|
+
/** Human-readable MCP server ID */
|
|
9
|
+
id: string;
|
|
10
|
+
serverType: string;
|
|
11
|
+
serverName: string;
|
|
12
|
+
serverUrl?: string;
|
|
13
|
+
stdioConfig?: Record<string, unknown>;
|
|
14
|
+
metadata?: Record<string, unknown>;
|
|
15
|
+
}
|
|
@@ -19,6 +19,8 @@ export interface Provider {
|
|
|
19
19
|
accessKey?: string;
|
|
20
20
|
/** Region used for requests to the provider. */
|
|
21
21
|
region?: string;
|
|
22
|
+
/** API version used for requests to the provider. */
|
|
23
|
+
apiVersion?: string;
|
|
22
24
|
/** The last update timestamp of the provider. */
|
|
23
25
|
updatedAt?: Date;
|
|
24
26
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type ProviderType = "anthropic" | "google_ai" | "google_vertex" | "openai" | "letta" | "deepseek" | "cerebras" | "lmstudio_openai" | "xai" | "mistral" | "ollama" | "groq" | "together" | "azure" | "vllm" | "bedrock"
|
|
4
|
+
export type ProviderType = "anthropic" | "google_ai" | "google_vertex" | "openai" | "letta" | "deepseek" | "cerebras" | "lmstudio_openai" | "xai" | "mistral" | "ollama" | "groq" | "together" | "azure" | "vllm" | "bedrock";
|
|
5
5
|
export declare const ProviderType: {
|
|
6
6
|
readonly Anthropic: "anthropic";
|
|
7
7
|
readonly GoogleAi: "google_ai";
|
|
@@ -19,5 +19,4 @@ export declare const ProviderType: {
|
|
|
19
19
|
readonly Azure: "azure";
|
|
20
20
|
readonly Vllm: "vllm";
|
|
21
21
|
readonly Bedrock: "bedrock";
|
|
22
|
-
readonly Cohere: "cohere";
|
|
23
22
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Letta from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* Source with human-readable ID for agent file
|
|
7
|
+
*/
|
|
8
|
+
export interface SourceSchema {
|
|
9
|
+
/** The name of the source. */
|
|
10
|
+
name: string;
|
|
11
|
+
/** The description of the source. */
|
|
12
|
+
description?: string;
|
|
13
|
+
/** Instructions for how to use the source. */
|
|
14
|
+
instructions?: string;
|
|
15
|
+
/** Metadata associated with the source. */
|
|
16
|
+
metadata?: Record<string, unknown>;
|
|
17
|
+
/** The handle for the embedding config used by the source. */
|
|
18
|
+
embedding?: string;
|
|
19
|
+
/** The chunk size of the embedding. */
|
|
20
|
+
embeddingChunkSize?: number;
|
|
21
|
+
/** (Legacy) The embedding configuration used by the source. */
|
|
22
|
+
embeddingConfig?: Letta.EmbeddingConfig;
|
|
23
|
+
/** Human-readable identifier for this source in the file */
|
|
24
|
+
id: string;
|
|
25
|
+
}
|
package/dist/api/types/Step.d.ts
CHANGED
|
@@ -45,4 +45,10 @@ export interface Step {
|
|
|
45
45
|
feedback?: Letta.StepFeedback;
|
|
46
46
|
/** The project that the agent that executed this step belongs to (cloud only). */
|
|
47
47
|
projectId?: string;
|
|
48
|
+
/** The type/class of the error that occurred */
|
|
49
|
+
errorType?: string;
|
|
50
|
+
/** Error details including message, traceback, and additional context */
|
|
51
|
+
errorData?: Record<string, unknown>;
|
|
52
|
+
/** Step status: pending, success, or failed */
|
|
53
|
+
status?: Letta.StepStatus;
|
|
48
54
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface StepMetrics {
|
|
5
|
+
/** The id of the step this metric belongs to (matches steps.id). */
|
|
6
|
+
id: string;
|
|
7
|
+
/** The unique identifier of the provider. */
|
|
8
|
+
providerId?: string;
|
|
9
|
+
/** The unique identifier of the job. */
|
|
10
|
+
jobId?: string;
|
|
11
|
+
/** The unique identifier of the agent. */
|
|
12
|
+
agentId?: string;
|
|
13
|
+
/** Time spent on LLM requests in nanoseconds. */
|
|
14
|
+
llmRequestNs?: number;
|
|
15
|
+
/** Time spent on tool execution in nanoseconds. */
|
|
16
|
+
toolExecutionNs?: number;
|
|
17
|
+
/** Total time for the step in nanoseconds. */
|
|
18
|
+
stepNs?: number;
|
|
19
|
+
/** The base template ID that the step belongs to (cloud only). */
|
|
20
|
+
baseTemplateId?: string;
|
|
21
|
+
/** The template ID that the step belongs to (cloud only). */
|
|
22
|
+
templateId?: string;
|
|
23
|
+
/** The project that the step belongs to (cloud only). */
|
|
24
|
+
projectId?: string;
|
|
25
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Status of a step execution
|
|
6
|
+
*/
|
|
7
|
+
export type StepStatus = "pending" | "success" | "failed" | "cancelled";
|
|
8
|
+
export declare const StepStatus: {
|
|
9
|
+
readonly Pending: "pending";
|
|
10
|
+
readonly Success: "success";
|
|
11
|
+
readonly Failed: "failed";
|
|
12
|
+
readonly Cancelled: "cancelled";
|
|
13
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.StepStatus = void 0;
|
|
7
|
+
exports.StepStatus = {
|
|
8
|
+
Pending: "pending",
|
|
9
|
+
Success: "success",
|
|
10
|
+
Failed: "failed",
|
|
11
|
+
Cancelled: "cancelled",
|
|
12
|
+
};
|
|
@@ -8,8 +8,7 @@ export * from "./ActionModel";
|
|
|
8
8
|
export * from "./ActionParametersModel";
|
|
9
9
|
export * from "./ActionResponseModel";
|
|
10
10
|
export * from "./AgentEnvironmentVariable";
|
|
11
|
-
export * from "./
|
|
12
|
-
export * from "./AgentSchema";
|
|
11
|
+
export * from "./AgentFileSchema";
|
|
13
12
|
export * from "./AgentStateToolRulesItem";
|
|
14
13
|
export * from "./AgentStateResponseFormat";
|
|
15
14
|
export * from "./AgentState";
|
|
@@ -27,7 +26,9 @@ export * from "./Base64Image";
|
|
|
27
26
|
export * from "./BaseToolRuleSchema";
|
|
28
27
|
export * from "./BatchJob";
|
|
29
28
|
export * from "./Block";
|
|
29
|
+
export * from "./BlockSchema";
|
|
30
30
|
export * from "./BlockUpdate";
|
|
31
|
+
export * from "./BodyExportAgentSerialized";
|
|
31
32
|
export * from "./ChatCompletionAssistantMessageParamContentItem";
|
|
32
33
|
export * from "./ChatCompletionAssistantMessageParamContent";
|
|
33
34
|
export * from "./ChatCompletionAssistantMessageParam";
|
|
@@ -93,10 +94,12 @@ export * from "./EmbeddingConfigEmbeddingEndpointType";
|
|
|
93
94
|
export * from "./EmbeddingConfig";
|
|
94
95
|
export * from "./FeedbackType";
|
|
95
96
|
export * from "./File_";
|
|
97
|
+
export * from "./FileAgentSchema";
|
|
96
98
|
export * from "./FileBlock";
|
|
97
99
|
export * from "./FileFile";
|
|
98
100
|
export * from "./FileMetadata";
|
|
99
101
|
export * from "./FileProcessingStatus";
|
|
102
|
+
export * from "./FileSchema";
|
|
100
103
|
export * from "./FileStats";
|
|
101
104
|
export * from "./Folder";
|
|
102
105
|
export * from "./FunctionOutput";
|
|
@@ -107,6 +110,8 @@ export * from "./FunctionTool";
|
|
|
107
110
|
export * from "./GenerateToolInput";
|
|
108
111
|
export * from "./GenerateToolOutput";
|
|
109
112
|
export * from "./Group";
|
|
113
|
+
export * from "./GroupSchemaManagerConfig";
|
|
114
|
+
export * from "./GroupSchema";
|
|
110
115
|
export * from "./HttpValidationError";
|
|
111
116
|
export * from "./Health";
|
|
112
117
|
export * from "./HiddenReasoningMessageState";
|
|
@@ -120,6 +125,7 @@ export * from "./ImageContentSource";
|
|
|
120
125
|
export * from "./ImageContent";
|
|
121
126
|
export * from "./ImageUrlDetail";
|
|
122
127
|
export * from "./ImageUrl";
|
|
128
|
+
export * from "./ImportedAgentsResponse";
|
|
123
129
|
export * from "./InitToolRule";
|
|
124
130
|
export * from "./InputAudioFormat";
|
|
125
131
|
export * from "./InputAudio";
|
|
@@ -143,8 +149,10 @@ export * from "./LettaStopReason";
|
|
|
143
149
|
export * from "./LettaStreamingRequest";
|
|
144
150
|
export * from "./LettaUsageStatistics";
|
|
145
151
|
export * from "./LocalSandboxConfig";
|
|
152
|
+
export * from "./McpServerSchema";
|
|
146
153
|
export * from "./McpServerType";
|
|
147
154
|
export * from "./McpTool";
|
|
155
|
+
export * from "./McpToolExecuteRequest";
|
|
148
156
|
export * from "./ManagerType";
|
|
149
157
|
export * from "./MaxCountPerStepToolRule";
|
|
150
158
|
export * from "./MaxCountPerStepToolRuleSchema";
|
|
@@ -155,7 +163,6 @@ export * from "./MessageCreateRole";
|
|
|
155
163
|
export * from "./MessageCreateContent";
|
|
156
164
|
export * from "./MessageCreate";
|
|
157
165
|
export * from "./MessageRole";
|
|
158
|
-
export * from "./MessageSchema";
|
|
159
166
|
export * from "./MessageType";
|
|
160
167
|
export * from "./ModalSandboxConfigLanguage";
|
|
161
168
|
export * from "./ModalSandboxConfig";
|
|
@@ -172,7 +179,6 @@ export * from "./Passage";
|
|
|
172
179
|
export * from "./PipRequirement";
|
|
173
180
|
export * from "./Provider";
|
|
174
181
|
export * from "./ProviderCategory";
|
|
175
|
-
export * from "./ProviderCheck";
|
|
176
182
|
export * from "./ProviderTrace";
|
|
177
183
|
export * from "./ProviderType";
|
|
178
184
|
export * from "./ReasoningContent";
|
|
@@ -200,11 +206,14 @@ export * from "./SleeptimeManager";
|
|
|
200
206
|
export * from "./SleeptimeManagerUpdate";
|
|
201
207
|
export * from "./Source";
|
|
202
208
|
export * from "./SourceCreate";
|
|
209
|
+
export * from "./SourceSchema";
|
|
203
210
|
export * from "./SourceStats";
|
|
204
211
|
export * from "./SourceUpdate";
|
|
205
212
|
export * from "./StdioServerConfig";
|
|
206
213
|
export * from "./StepFeedback";
|
|
207
214
|
export * from "./Step";
|
|
215
|
+
export * from "./StepMetrics";
|
|
216
|
+
export * from "./StepStatus";
|
|
208
217
|
export * from "./StopReasonType";
|
|
209
218
|
export * from "./StreamableHttpServerConfig";
|
|
210
219
|
export * from "./SupervisorManager";
|
|
@@ -229,7 +238,6 @@ export * from "./ToolReturn";
|
|
|
229
238
|
export * from "./ToolReturnContent";
|
|
230
239
|
export * from "./ToolReturnMessageStatus";
|
|
231
240
|
export * from "./ToolReturnMessage";
|
|
232
|
-
export * from "./ToolSchema";
|
|
233
241
|
export * from "./ToolType";
|
|
234
242
|
export * from "./UpdateAssistantMessageContent";
|
|
235
243
|
export * from "./UpdateAssistantMessage";
|
|
@@ -257,6 +265,16 @@ export * from "./WebSearchOptionsSearchContextSize";
|
|
|
257
265
|
export * from "./WebSearchOptions";
|
|
258
266
|
export * from "./WebSearchOptionsUserLocation";
|
|
259
267
|
export * from "./WebSearchOptionsUserLocationApproximate";
|
|
268
|
+
export * from "./LettaSchemasAgentFileAgentSchemaToolRulesItem";
|
|
269
|
+
export * from "./LettaSchemasAgentFileAgentSchemaResponseFormat";
|
|
270
|
+
export * from "./LettaSchemasAgentFileAgentSchema";
|
|
271
|
+
export * from "./LettaSchemasAgentFileMessageSchemaContent";
|
|
272
|
+
export * from "./LettaSchemasAgentFileMessageSchema";
|
|
273
|
+
export * from "./LettaSchemasAgentFileToolSchema";
|
|
274
|
+
export * from "./LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem";
|
|
275
|
+
export * from "./LettaSerializeSchemasPydanticAgentSchemaAgentSchema";
|
|
276
|
+
export * from "./LettaSerializeSchemasPydanticAgentSchemaMessageSchema";
|
|
277
|
+
export * from "./LettaSerializeSchemasPydanticAgentSchemaToolSchema";
|
|
260
278
|
export * from "./OpenaiTypesChatChatCompletionMessageToolCallParamFunction";
|
|
261
279
|
export * from "./OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction";
|
|
262
280
|
export * from "./OpenaiTypesChatCompletionCreateParamsFunction";
|