@letta-ai/letta-client 0.1.29 → 0.1.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/agents/client/Client.js +8 -20
- package/api/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -2
- package/api/resources/agents/resources/archivalMemory/client/Client.js +3 -3
- package/api/resources/agents/resources/context/client/Client.js +1 -1
- package/api/resources/agents/resources/coreMemory/client/Client.js +6 -6
- package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/api/resources/agents/resources/messages/client/Client.js +5 -5
- package/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.d.ts +3 -1
- package/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.js +2 -0
- package/api/resources/blocks/client/Client.js +6 -6
- package/api/resources/health/client/Client.js +1 -1
- package/api/resources/jobs/client/Client.js +4 -4
- package/api/resources/models/client/Client.js +2 -2
- package/api/resources/providers/client/Client.js +4 -4
- package/api/resources/runs/client/Client.js +6 -6
- package/api/resources/sources/client/Client.js +6 -6
- package/api/resources/sources/resources/files/client/Client.js +3 -3
- package/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/api/resources/steps/client/Client.js +2 -2
- package/api/resources/tag/client/Client.js +1 -1
- package/api/resources/templates/client/Client.js +1 -1
- package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.d.ts +3 -1
- package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.js +2 -0
- package/api/resources/tools/client/Client.js +11 -11
- package/api/types/ActionParametersModel.d.ts +0 -1
- package/api/types/ActionResponseModel.d.ts +0 -1
- package/api/types/AppAuthSchemeAuthMode.d.ts +1 -2
- package/api/types/AppAuthSchemeAuthMode.js +0 -1
- package/api/types/LlmConfigModelEndpointType.d.ts +3 -1
- package/api/types/LlmConfigModelEndpointType.js +2 -0
- package/dist/api/resources/agents/client/Client.js +8 -20
- package/dist/api/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -2
- package/dist/api/resources/agents/resources/archivalMemory/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/coreMemory/client/Client.js +6 -6
- package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/messages/client/Client.js +5 -5
- package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.d.ts +3 -1
- package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.js +2 -0
- package/dist/api/resources/blocks/client/Client.js +6 -6
- package/dist/api/resources/health/client/Client.js +1 -1
- package/dist/api/resources/jobs/client/Client.js +4 -4
- package/dist/api/resources/models/client/Client.js +2 -2
- package/dist/api/resources/providers/client/Client.js +4 -4
- package/dist/api/resources/runs/client/Client.js +6 -6
- package/dist/api/resources/sources/client/Client.js +6 -6
- package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
- package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/dist/api/resources/steps/client/Client.js +2 -2
- package/dist/api/resources/tag/client/Client.js +1 -1
- package/dist/api/resources/templates/client/Client.js +1 -1
- package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.d.ts +3 -1
- package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.js +2 -0
- package/dist/api/resources/tools/client/Client.js +11 -11
- package/dist/api/types/ActionParametersModel.d.ts +0 -1
- package/dist/api/types/ActionResponseModel.d.ts +0 -1
- package/dist/api/types/AppAuthSchemeAuthMode.d.ts +1 -2
- package/dist/api/types/AppAuthSchemeAuthMode.js +0 -1
- package/dist/api/types/LlmConfigModelEndpointType.d.ts +3 -1
- package/dist/api/types/LlmConfigModelEndpointType.js +2 -0
- package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -1
- package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.d.ts +1 -1
- package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.js +2 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.d.ts +1 -1
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.js +2 -0
- package/dist/serialization/types/ActionParametersModel.d.ts +0 -1
- package/dist/serialization/types/ActionParametersModel.js +0 -1
- package/dist/serialization/types/ActionResponseModel.d.ts +0 -1
- package/dist/serialization/types/ActionResponseModel.js +0 -1
- package/dist/serialization/types/AppAuthSchemeAuthMode.d.ts +1 -1
- package/dist/serialization/types/AppAuthSchemeAuthMode.js +1 -1
- package/dist/serialization/types/LlmConfigModelEndpointType.d.ts +1 -1
- package/dist/serialization/types/LlmConfigModelEndpointType.js +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -1
- package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.d.ts +1 -1
- package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.js +2 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.d.ts +1 -1
- package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.js +2 -0
- package/serialization/types/ActionParametersModel.d.ts +0 -1
- package/serialization/types/ActionParametersModel.js +0 -1
- package/serialization/types/ActionResponseModel.d.ts +0 -1
- package/serialization/types/ActionResponseModel.js +0 -1
- package/serialization/types/AppAuthSchemeAuthMode.d.ts +1 -1
- package/serialization/types/AppAuthSchemeAuthMode.js +1 -1
- package/serialization/types/LlmConfigModelEndpointType.d.ts +1 -1
- package/serialization/types/LlmConfigModelEndpointType.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -43,5 +43,4 @@ exports.ActionParametersModel = core.serialization.object({
|
|
|
43
43
|
title: core.serialization.string(),
|
|
44
44
|
type: core.serialization.string(),
|
|
45
45
|
required: core.serialization.list(core.serialization.string()).optional(),
|
|
46
|
-
examples: core.serialization.list(core.serialization.unknown()).optional(),
|
|
47
46
|
});
|
|
@@ -43,5 +43,4 @@ exports.ActionResponseModel = core.serialization.object({
|
|
|
43
43
|
title: core.serialization.string(),
|
|
44
44
|
type: core.serialization.string(),
|
|
45
45
|
required: core.serialization.list(core.serialization.string()).optional(),
|
|
46
|
-
examples: core.serialization.list(core.serialization.unknown()).optional(),
|
|
47
46
|
});
|
|
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const AppAuthSchemeAuthMode: core.serialization.Schema<serializers.AppAuthSchemeAuthMode.Raw, Letta.AppAuthSchemeAuthMode>;
|
|
8
8
|
export declare namespace AppAuthSchemeAuthMode {
|
|
9
|
-
type Raw = "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BASIC_WITH_JWT"
|
|
9
|
+
type Raw = "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BASIC_WITH_JWT";
|
|
10
10
|
}
|
|
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.AppAuthSchemeAuthMode = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
exports.AppAuthSchemeAuthMode = core.serialization.enum_(["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BEARER_TOKEN", "BASIC_WITH_JWT"
|
|
41
|
+
exports.AppAuthSchemeAuthMode = core.serialization.enum_(["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BEARER_TOKEN", "BASIC_WITH_JWT"]);
|
|
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const LlmConfigModelEndpointType: core.serialization.Schema<serializers.LlmConfigModelEndpointType.Raw, Letta.LlmConfigModelEndpointType>;
|
|
8
8
|
export declare namespace LlmConfigModelEndpointType {
|
|
9
|
-
type Raw = "openai" | "anthropic" | "cohere" | "google_ai" | "google_vertex" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together" | "bedrock";
|
|
9
|
+
type Raw = "openai" | "anthropic" | "cohere" | "google_ai" | "google_vertex" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "lmstudio-chatcompletions" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together" | "bedrock" | "deepseek";
|
|
10
10
|
}
|
|
@@ -51,6 +51,7 @@ exports.LlmConfigModelEndpointType = core.serialization.enum_([
|
|
|
51
51
|
"webui-legacy",
|
|
52
52
|
"lmstudio",
|
|
53
53
|
"lmstudio-legacy",
|
|
54
|
+
"lmstudio-chatcompletions",
|
|
54
55
|
"llamacpp",
|
|
55
56
|
"koboldcpp",
|
|
56
57
|
"vllm",
|
|
@@ -58,4 +59,5 @@ exports.LlmConfigModelEndpointType = core.serialization.enum_([
|
|
|
58
59
|
"mistral",
|
|
59
60
|
"together",
|
|
60
61
|
"bedrock",
|
|
62
|
+
"deepseek",
|
|
61
63
|
]);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.30";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@ import { AgentType } from "../../../../types/AgentType";
|
|
|
10
10
|
import { LlmConfig } from "../../../../types/LlmConfig";
|
|
11
11
|
import { EmbeddingConfig } from "../../../../types/EmbeddingConfig";
|
|
12
12
|
import { MessageCreate } from "../../../../types/MessageCreate";
|
|
13
|
-
export declare const CreateAgentRequest: core.serialization.Schema<serializers.CreateAgentRequest.Raw,
|
|
13
|
+
export declare const CreateAgentRequest: core.serialization.Schema<serializers.CreateAgentRequest.Raw, Letta.CreateAgentRequest>;
|
|
14
14
|
export declare namespace CreateAgentRequest {
|
|
15
15
|
interface Raw {
|
|
16
16
|
name?: string | null;
|
|
@@ -6,5 +6,5 @@ import * as Letta from "../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
export declare const AgentsSearchResponseAgentsItemLlmConfigModelEndpointType: core.serialization.Schema<serializers.AgentsSearchResponseAgentsItemLlmConfigModelEndpointType.Raw, Letta.AgentsSearchResponseAgentsItemLlmConfigModelEndpointType>;
|
|
8
8
|
export declare namespace AgentsSearchResponseAgentsItemLlmConfigModelEndpointType {
|
|
9
|
-
type Raw = "openai" | "anthropic" | "cohere" | "google_ai" | "google_vertex" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together" | "bedrock";
|
|
9
|
+
type Raw = "openai" | "anthropic" | "cohere" | "google_ai" | "google_vertex" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "lmstudio-chatcompletions" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together" | "bedrock" | "deepseek";
|
|
10
10
|
}
|
|
@@ -51,6 +51,7 @@ exports.AgentsSearchResponseAgentsItemLlmConfigModelEndpointType = core.serializ
|
|
|
51
51
|
"webui-legacy",
|
|
52
52
|
"lmstudio",
|
|
53
53
|
"lmstudio-legacy",
|
|
54
|
+
"lmstudio-chatcompletions",
|
|
54
55
|
"llamacpp",
|
|
55
56
|
"koboldcpp",
|
|
56
57
|
"vllm",
|
|
@@ -58,4 +59,5 @@ exports.AgentsSearchResponseAgentsItemLlmConfigModelEndpointType = core.serializ
|
|
|
58
59
|
"mistral",
|
|
59
60
|
"together",
|
|
60
61
|
"bedrock",
|
|
62
|
+
"deepseek",
|
|
61
63
|
]);
|
|
@@ -6,5 +6,5 @@ import * as Letta from "../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
export declare const TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType: core.serialization.Schema<serializers.TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType.Raw, Letta.TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType>;
|
|
8
8
|
export declare namespace TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType {
|
|
9
|
-
type Raw = "openai" | "anthropic" | "cohere" | "google_ai" | "google_vertex" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together" | "bedrock";
|
|
9
|
+
type Raw = "openai" | "anthropic" | "cohere" | "google_ai" | "google_vertex" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "lmstudio-chatcompletions" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together" | "bedrock" | "deepseek";
|
|
10
10
|
}
|
|
@@ -51,6 +51,7 @@ exports.TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpoin
|
|
|
51
51
|
"webui-legacy",
|
|
52
52
|
"lmstudio",
|
|
53
53
|
"lmstudio-legacy",
|
|
54
|
+
"lmstudio-chatcompletions",
|
|
54
55
|
"llamacpp",
|
|
55
56
|
"koboldcpp",
|
|
56
57
|
"vllm",
|
|
@@ -58,4 +59,5 @@ exports.TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpoin
|
|
|
58
59
|
"mistral",
|
|
59
60
|
"together",
|
|
60
61
|
"bedrock",
|
|
62
|
+
"deepseek",
|
|
61
63
|
]);
|
|
@@ -43,5 +43,4 @@ exports.ActionParametersModel = core.serialization.object({
|
|
|
43
43
|
title: core.serialization.string(),
|
|
44
44
|
type: core.serialization.string(),
|
|
45
45
|
required: core.serialization.list(core.serialization.string()).optional(),
|
|
46
|
-
examples: core.serialization.list(core.serialization.unknown()).optional(),
|
|
47
46
|
});
|
|
@@ -43,5 +43,4 @@ exports.ActionResponseModel = core.serialization.object({
|
|
|
43
43
|
title: core.serialization.string(),
|
|
44
44
|
type: core.serialization.string(),
|
|
45
45
|
required: core.serialization.list(core.serialization.string()).optional(),
|
|
46
|
-
examples: core.serialization.list(core.serialization.unknown()).optional(),
|
|
47
46
|
});
|
|
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const AppAuthSchemeAuthMode: core.serialization.Schema<serializers.AppAuthSchemeAuthMode.Raw, Letta.AppAuthSchemeAuthMode>;
|
|
8
8
|
export declare namespace AppAuthSchemeAuthMode {
|
|
9
|
-
type Raw = "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BASIC_WITH_JWT"
|
|
9
|
+
type Raw = "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BASIC_WITH_JWT";
|
|
10
10
|
}
|
|
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.AppAuthSchemeAuthMode = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
exports.AppAuthSchemeAuthMode = core.serialization.enum_(["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BEARER_TOKEN", "BASIC_WITH_JWT"
|
|
41
|
+
exports.AppAuthSchemeAuthMode = core.serialization.enum_(["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BEARER_TOKEN", "BASIC_WITH_JWT"]);
|
|
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const LlmConfigModelEndpointType: core.serialization.Schema<serializers.LlmConfigModelEndpointType.Raw, Letta.LlmConfigModelEndpointType>;
|
|
8
8
|
export declare namespace LlmConfigModelEndpointType {
|
|
9
|
-
type Raw = "openai" | "anthropic" | "cohere" | "google_ai" | "google_vertex" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together" | "bedrock";
|
|
9
|
+
type Raw = "openai" | "anthropic" | "cohere" | "google_ai" | "google_vertex" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "lmstudio-chatcompletions" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together" | "bedrock" | "deepseek";
|
|
10
10
|
}
|
|
@@ -51,6 +51,7 @@ exports.LlmConfigModelEndpointType = core.serialization.enum_([
|
|
|
51
51
|
"webui-legacy",
|
|
52
52
|
"lmstudio",
|
|
53
53
|
"lmstudio-legacy",
|
|
54
|
+
"lmstudio-chatcompletions",
|
|
54
55
|
"llamacpp",
|
|
55
56
|
"koboldcpp",
|
|
56
57
|
"vllm",
|
|
@@ -58,4 +59,5 @@ exports.LlmConfigModelEndpointType = core.serialization.enum_([
|
|
|
58
59
|
"mistral",
|
|
59
60
|
"together",
|
|
60
61
|
"bedrock",
|
|
62
|
+
"deepseek",
|
|
61
63
|
]);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.30";
|
package/version.js
CHANGED