@letta-ai/letta-client 0.1.176 → 0.1.178
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 +3 -3
- package/api/resources/agents/resources/messages/client/Client.js +14 -18
- package/api/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.d.ts +11 -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/tools/client/requests/ToolUpdate.d.ts +2 -0
- 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/CodeInput.d.ts +3 -1
- 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/StepMetrics.d.ts +25 -0
- package/api/types/StepMetrics.js +5 -0
- package/api/types/index.d.ts +22 -5
- package/api/types/index.js +22 -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 +3 -3
- package/dist/api/resources/agents/resources/messages/client/Client.js +14 -18
- package/dist/api/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.d.ts +11 -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/tools/client/requests/ToolUpdate.d.ts +2 -0
- 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/CodeInput.d.ts +3 -1
- 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/StepMetrics.d.ts +25 -0
- package/dist/api/types/StepMetrics.js +5 -0
- package/dist/api/types/index.d.ts +22 -5
- package/dist/api/types/index.js +22 -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 +12 -0
- package/dist/serialization/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.js +43 -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/resources/tools/client/requests/ToolUpdate.d.ts +1 -0
- package/dist/serialization/resources/tools/client/requests/ToolUpdate.js +1 -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/CodeInput.d.ts +1 -0
- package/dist/serialization/types/CodeInput.js +1 -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/StepMetrics.d.ts +21 -0
- package/dist/serialization/types/StepMetrics.js +52 -0
- package/dist/serialization/types/index.d.ts +22 -5
- package/dist/serialization/types/index.js +22 -5
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +138 -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 +12 -0
- package/serialization/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.js +43 -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/resources/tools/client/requests/ToolUpdate.d.ts +1 -0
- package/serialization/resources/tools/client/requests/ToolUpdate.js +1 -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/CodeInput.d.ts +1 -0
- package/serialization/types/CodeInput.js +1 -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/StepMetrics.d.ts +21 -0
- package/serialization/types/StepMetrics.js +52 -0
- package/serialization/types/index.d.ts +22 -5
- package/serialization/types/index.js +22 -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,105 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Letta from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* Agent with human-readable ID for agent file
|
|
7
|
+
*/
|
|
8
|
+
export interface LettaSchemasAgentFileAgentSchema {
|
|
9
|
+
/** The name of the agent. */
|
|
10
|
+
name?: string;
|
|
11
|
+
/** The blocks to create in the agent's in-context memory. */
|
|
12
|
+
memoryBlocks?: Letta.CreateBlock[];
|
|
13
|
+
/** The tools used by the agent. */
|
|
14
|
+
tools?: string[];
|
|
15
|
+
/** The ids of the tools used by the agent. */
|
|
16
|
+
toolIds?: string[];
|
|
17
|
+
/** The ids of the sources used by the agent. */
|
|
18
|
+
sourceIds?: string[];
|
|
19
|
+
/** The ids of the blocks used by the agent. */
|
|
20
|
+
blockIds?: string[];
|
|
21
|
+
/** The tool rules governing the agent. */
|
|
22
|
+
toolRules?: Letta.LettaSchemasAgentFileAgentSchemaToolRulesItem[];
|
|
23
|
+
/** The tags associated with the agent. */
|
|
24
|
+
tags?: string[];
|
|
25
|
+
/** The system prompt used by the agent. */
|
|
26
|
+
system?: string;
|
|
27
|
+
/** The type of agent. */
|
|
28
|
+
agentType?: Letta.AgentType;
|
|
29
|
+
/** The LLM configuration used by the agent. */
|
|
30
|
+
llmConfig?: Letta.LlmConfig;
|
|
31
|
+
/** The embedding configuration used by the agent. */
|
|
32
|
+
embeddingConfig?: Letta.EmbeddingConfig;
|
|
33
|
+
/** The initial set of messages to put in the agent's in-context memory. */
|
|
34
|
+
initialMessageSequence?: Letta.MessageCreate[];
|
|
35
|
+
/** If true, attaches the Letta core tools (e.g. core_memory related functions). */
|
|
36
|
+
includeBaseTools?: boolean;
|
|
37
|
+
/** If true, attaches the Letta multi-agent tools (e.g. sending a message to another agent). */
|
|
38
|
+
includeMultiAgentTools?: boolean;
|
|
39
|
+
/** If true, attaches the Letta base tool rules (e.g. deny all tools not explicitly allowed). */
|
|
40
|
+
includeBaseToolRules?: boolean;
|
|
41
|
+
/** If true, automatically creates and attaches a default data source for this agent. */
|
|
42
|
+
includeDefaultSource?: boolean;
|
|
43
|
+
/** The description of the agent. */
|
|
44
|
+
description?: string;
|
|
45
|
+
/** The metadata of the agent. */
|
|
46
|
+
metadata?: Record<string, unknown>;
|
|
47
|
+
/** The LLM configuration handle used by the agent, specified in the format provider/model-name, as an alternative to specifying llm_config. */
|
|
48
|
+
model?: string;
|
|
49
|
+
/** The embedding configuration handle used by the agent, specified in the format provider/model-name. */
|
|
50
|
+
embedding?: string;
|
|
51
|
+
/** The context window limit used by the agent. */
|
|
52
|
+
contextWindowLimit?: number;
|
|
53
|
+
/** The embedding chunk size used by the agent. */
|
|
54
|
+
embeddingChunkSize?: number;
|
|
55
|
+
/** The maximum number of tokens to generate, including reasoning step. If not set, the model will use its default value. */
|
|
56
|
+
maxTokens?: number;
|
|
57
|
+
/** The maximum number of tokens to generate for reasoning step. If not set, the model will use its default value. */
|
|
58
|
+
maxReasoningTokens?: number;
|
|
59
|
+
/** Whether to enable internal extended thinking step for a reasoner model. */
|
|
60
|
+
enableReasoner?: boolean;
|
|
61
|
+
/** Whether to enable reasoning for this agent. */
|
|
62
|
+
reasoning?: boolean;
|
|
63
|
+
/** The template id used to configure the agent */
|
|
64
|
+
fromTemplate?: string;
|
|
65
|
+
/** Whether the agent is a template */
|
|
66
|
+
template?: boolean;
|
|
67
|
+
/** Deprecated: Project should now be passed via the X-Project header instead of in the request body. If using the sdk, this can be done via the new x_project field below. */
|
|
68
|
+
project?: string;
|
|
69
|
+
/** The environment variables for tool execution specific to this agent. */
|
|
70
|
+
toolExecEnvironmentVariables?: Record<string, string | undefined>;
|
|
71
|
+
/** The variables that should be set for the agent. */
|
|
72
|
+
memoryVariables?: Record<string, string | undefined>;
|
|
73
|
+
/** The id of the project the agent belongs to. */
|
|
74
|
+
projectId?: string;
|
|
75
|
+
/** The id of the template the agent belongs to. */
|
|
76
|
+
templateId?: string;
|
|
77
|
+
/** The base template id of the agent. */
|
|
78
|
+
baseTemplateId?: string;
|
|
79
|
+
/** The ids of the identities associated with this agent. */
|
|
80
|
+
identityIds?: string[];
|
|
81
|
+
/** If set to True, the agent will not remember previous messages (though the agent will still retain state via core memory blocks and archival/recall memory). Not recommended unless you have an advanced use case. */
|
|
82
|
+
messageBufferAutoclear?: boolean;
|
|
83
|
+
/** If set to True, memory management will move to a background agent thread. */
|
|
84
|
+
enableSleeptime?: boolean;
|
|
85
|
+
/** The response format for the agent. */
|
|
86
|
+
responseFormat?: Letta.LettaSchemasAgentFileAgentSchemaResponseFormat;
|
|
87
|
+
/** The timezone of the agent (IANA format). */
|
|
88
|
+
timezone?: string;
|
|
89
|
+
/** Maximum number of files that can be open at once for this agent. Setting this too high may exceed the context window, which will break the agent. */
|
|
90
|
+
maxFilesOpen?: number;
|
|
91
|
+
/** The per-file view window character limit for this agent. Setting this too high may exceed the context window, which will break the agent. */
|
|
92
|
+
perFileViewWindowCharLimit?: number;
|
|
93
|
+
/** If set to True, the agent will be hidden. */
|
|
94
|
+
hidden?: boolean;
|
|
95
|
+
/** Human-readable identifier for this agent in the file */
|
|
96
|
+
id: string;
|
|
97
|
+
/** List of message IDs that are currently in the agent's context */
|
|
98
|
+
inContextMessageIds?: string[];
|
|
99
|
+
/** List of messages in the agent's conversation history */
|
|
100
|
+
messages?: Letta.LettaSchemasAgentFileMessageSchema[];
|
|
101
|
+
/** List of file-agent relationships for this agent */
|
|
102
|
+
filesAgents?: Letta.FileAgentSchema[];
|
|
103
|
+
/** List of groups that the agent manages */
|
|
104
|
+
groupIds?: string[];
|
|
105
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -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,13 @@ 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";
|
|
208
216
|
export * from "./StepStatus";
|
|
209
217
|
export * from "./StopReasonType";
|
|
210
218
|
export * from "./StreamableHttpServerConfig";
|
|
@@ -230,7 +238,6 @@ export * from "./ToolReturn";
|
|
|
230
238
|
export * from "./ToolReturnContent";
|
|
231
239
|
export * from "./ToolReturnMessageStatus";
|
|
232
240
|
export * from "./ToolReturnMessage";
|
|
233
|
-
export * from "./ToolSchema";
|
|
234
241
|
export * from "./ToolType";
|
|
235
242
|
export * from "./UpdateAssistantMessageContent";
|
|
236
243
|
export * from "./UpdateAssistantMessage";
|
|
@@ -258,6 +265,16 @@ export * from "./WebSearchOptionsSearchContextSize";
|
|
|
258
265
|
export * from "./WebSearchOptions";
|
|
259
266
|
export * from "./WebSearchOptionsUserLocation";
|
|
260
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";
|
|
261
278
|
export * from "./OpenaiTypesChatChatCompletionMessageToolCallParamFunction";
|
|
262
279
|
export * from "./OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction";
|
|
263
280
|
export * from "./OpenaiTypesChatCompletionCreateParamsFunction";
|