@letta-ai/letta-client 0.1.185 → 0.1.187
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/README.md +1 -1
- package/api/resources/agents/client/Client.js +11 -11
- package/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/api/resources/agents/resources/context/client/Client.js +1 -1
- package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/api/resources/agents/resources/files/client/Client.js +4 -4
- package/api/resources/agents/resources/folders/client/Client.js +3 -3
- package/api/resources/agents/resources/groups/client/Client.js +1 -1
- package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/api/resources/agents/resources/messages/client/Client.js +8 -8
- package/api/resources/agents/resources/passages/client/Client.js +4 -4
- package/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/api/resources/batches/client/Client.js +4 -4
- package/api/resources/blocks/client/Client.js +6 -6
- package/api/resources/blocks/resources/agents/client/Client.js +1 -1
- package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
- package/api/resources/embeddingModels/client/Client.js +1 -1
- package/api/resources/folders/client/Client.js +9 -9
- package/api/resources/folders/resources/files/client/Client.js +3 -3
- package/api/resources/folders/resources/passages/client/Client.js +1 -1
- package/api/resources/groups/client/Client.js +6 -6
- package/api/resources/groups/resources/messages/client/Client.js +5 -5
- package/api/resources/health/client/Client.js +1 -1
- package/api/resources/identities/client/Client.js +7 -7
- package/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/api/resources/index.d.ts +2 -1
- package/api/resources/index.js +3 -2
- package/api/resources/jobs/client/Client.js +5 -5
- package/api/resources/messages/client/Client.js +1 -1
- package/api/resources/models/client/Client.js +1 -1
- package/api/resources/projects/client/Client.js +1 -1
- package/api/resources/providers/client/Client.js +6 -6
- package/api/resources/runs/client/Client.d.ts +2 -0
- package/api/resources/runs/client/Client.js +81 -4
- package/api/resources/runs/client/requests/RetrieveStreamRequest.d.ts +17 -0
- package/api/resources/runs/client/requests/RetrieveStreamRequest.js +5 -0
- package/api/resources/runs/client/requests/index.d.ts +1 -0
- package/api/resources/runs/index.d.ts +1 -0
- package/api/resources/runs/index.js +1 -0
- 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/runs/types/LettaStreamingResponse.d.ts +5 -0
- package/api/resources/runs/types/LettaStreamingResponse.js +5 -0
- package/api/resources/runs/types/index.d.ts +1 -0
- package/api/resources/runs/types/index.js +17 -0
- package/api/resources/sources/client/Client.js +10 -10
- package/api/resources/sources/resources/files/client/Client.js +7 -4
- package/api/resources/sources/resources/files/client/requests/FilesListRequest.d.ts +4 -0
- package/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/api/resources/steps/client/Client.js +3 -3
- package/api/resources/steps/resources/feedback/client/Client.js +1 -1
- package/api/resources/tags/client/Client.js +1 -1
- package/api/resources/telemetry/client/Client.js +1 -1
- package/api/resources/templates/client/Client.js +8 -8
- package/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +1 -0
- package/api/resources/tools/client/Client.js +20 -20
- package/api/resources/voice/client/Client.js +1 -1
- package/dist/api/resources/agents/client/Client.js +11 -11
- package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/files/client/Client.js +4 -4
- package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/messages/client/Client.js +8 -8
- package/dist/api/resources/agents/resources/passages/client/Client.js +4 -4
- package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/dist/api/resources/batches/client/Client.js +4 -4
- package/dist/api/resources/blocks/client/Client.js +6 -6
- package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
- package/dist/api/resources/embeddingModels/client/Client.js +1 -1
- package/dist/api/resources/folders/client/Client.js +9 -9
- package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
- package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
- package/dist/api/resources/groups/client/Client.js +6 -6
- package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
- package/dist/api/resources/health/client/Client.js +1 -1
- package/dist/api/resources/identities/client/Client.js +7 -7
- package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/dist/api/resources/index.d.ts +2 -1
- package/dist/api/resources/index.js +3 -2
- package/dist/api/resources/jobs/client/Client.js +5 -5
- package/dist/api/resources/messages/client/Client.js +1 -1
- package/dist/api/resources/models/client/Client.js +1 -1
- package/dist/api/resources/projects/client/Client.js +1 -1
- package/dist/api/resources/providers/client/Client.js +6 -6
- package/dist/api/resources/runs/client/Client.d.ts +2 -0
- package/dist/api/resources/runs/client/Client.js +81 -4
- package/dist/api/resources/runs/client/requests/RetrieveStreamRequest.d.ts +17 -0
- package/dist/api/resources/runs/client/requests/RetrieveStreamRequest.js +5 -0
- package/dist/api/resources/runs/client/requests/index.d.ts +1 -0
- package/dist/api/resources/runs/index.d.ts +1 -0
- package/dist/api/resources/runs/index.js +1 -0
- 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/runs/types/LettaStreamingResponse.d.ts +5 -0
- package/dist/api/resources/runs/types/LettaStreamingResponse.js +5 -0
- package/dist/api/resources/runs/types/index.d.ts +1 -0
- package/dist/api/resources/runs/types/index.js +17 -0
- package/dist/api/resources/sources/client/Client.js +10 -10
- package/dist/api/resources/sources/resources/files/client/Client.js +7 -4
- package/dist/api/resources/sources/resources/files/client/requests/FilesListRequest.d.ts +4 -0
- package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/dist/api/resources/steps/client/Client.js +3 -3
- package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
- package/dist/api/resources/tags/client/Client.js +1 -1
- package/dist/api/resources/telemetry/client/Client.js +1 -1
- package/dist/api/resources/templates/client/Client.js +8 -8
- package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +1 -0
- package/dist/api/resources/tools/client/Client.js +20 -20
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/serialization/resources/index.d.ts +3 -1
- package/dist/serialization/resources/index.js +4 -2
- package/dist/serialization/resources/runs/client/index.d.ts +1 -0
- package/dist/serialization/resources/runs/client/index.js +4 -0
- package/dist/serialization/resources/runs/client/requests/RetrieveStreamRequest.d.ts +15 -0
- package/dist/serialization/resources/runs/client/requests/RetrieveStreamRequest.js +46 -0
- package/dist/serialization/resources/runs/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/runs/client/requests/index.js +5 -0
- package/dist/serialization/resources/runs/index.d.ts +1 -0
- package/dist/serialization/resources/runs/index.js +1 -0
- package/dist/serialization/resources/runs/types/LettaStreamingResponse.d.ts +19 -0
- package/dist/serialization/resources/runs/types/LettaStreamingResponse.js +60 -0
- package/dist/serialization/resources/runs/types/index.d.ts +1 -0
- package/dist/serialization/resources/runs/types/index.js +17 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +1 -0
- package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +59 -0
- package/serialization/resources/index.d.ts +3 -1
- package/serialization/resources/index.js +4 -2
- package/serialization/resources/runs/client/index.d.ts +1 -0
- package/serialization/resources/runs/client/index.js +4 -0
- package/serialization/resources/runs/client/requests/RetrieveStreamRequest.d.ts +15 -0
- package/serialization/resources/runs/client/requests/RetrieveStreamRequest.js +46 -0
- package/serialization/resources/runs/client/requests/index.d.ts +1 -0
- package/serialization/resources/runs/client/requests/index.js +5 -0
- package/serialization/resources/runs/index.d.ts +1 -0
- package/serialization/resources/runs/index.js +1 -0
- package/serialization/resources/runs/types/LettaStreamingResponse.d.ts +19 -0
- package/serialization/resources/runs/types/LettaStreamingResponse.js +60 -0
- package/serialization/resources/runs/types/index.d.ts +1 -0
- package/serialization/resources/runs/types/index.js +17 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +1 -0
- package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -36,13 +36,15 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.voice = exports.batches = exports.tags = exports.
|
|
39
|
+
exports.voice = exports.batches = exports.tags = exports.providers = exports.jobs = exports.blocks = exports.embeddingModels = exports.models = exports.identities = exports.folders = exports.sources = exports.projects = exports.clientSideAccessTokens = exports.templates = exports.steps = exports.runs = exports.groups = exports.agents = exports.tools = void 0;
|
|
40
40
|
exports.tools = __importStar(require("./tools"));
|
|
41
41
|
__exportStar(require("./tools/types"), exports);
|
|
42
42
|
exports.agents = __importStar(require("./agents"));
|
|
43
43
|
__exportStar(require("./agents/types"), exports);
|
|
44
44
|
exports.groups = __importStar(require("./groups"));
|
|
45
45
|
__exportStar(require("./groups/types"), exports);
|
|
46
|
+
exports.runs = __importStar(require("./runs"));
|
|
47
|
+
__exportStar(require("./runs/types"), exports);
|
|
46
48
|
exports.steps = __importStar(require("./steps"));
|
|
47
49
|
__exportStar(require("./steps/types"), exports);
|
|
48
50
|
exports.templates = __importStar(require("./templates"));
|
|
@@ -59,7 +61,6 @@ exports.embeddingModels = __importStar(require("./embeddingModels"));
|
|
|
59
61
|
exports.blocks = __importStar(require("./blocks"));
|
|
60
62
|
exports.jobs = __importStar(require("./jobs"));
|
|
61
63
|
exports.providers = __importStar(require("./providers"));
|
|
62
|
-
exports.runs = __importStar(require("./runs"));
|
|
63
64
|
exports.tags = __importStar(require("./tags"));
|
|
64
65
|
exports.batches = __importStar(require("./batches"));
|
|
65
66
|
exports.voice = __importStar(require("./voice"));
|
|
@@ -68,6 +69,7 @@ __exportStar(require("./agents/client/requests"), exports);
|
|
|
68
69
|
__exportStar(require("./groups/client/requests"), exports);
|
|
69
70
|
__exportStar(require("./identities/client/requests"), exports);
|
|
70
71
|
__exportStar(require("./providers/client/requests"), exports);
|
|
72
|
+
__exportStar(require("./runs/client/requests"), exports);
|
|
71
73
|
__exportStar(require("./batches/client/requests"), exports);
|
|
72
74
|
__exportStar(require("./templates/client/requests"), exports);
|
|
73
75
|
__exportStar(require("./clientSideAccessTokens/client/requests"), exports);
|
|
@@ -32,7 +32,11 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
32
32
|
return result;
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
+
};
|
|
35
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
39
|
exports.listActive = exports.list = void 0;
|
|
37
40
|
exports.list = __importStar(require("./list"));
|
|
38
41
|
exports.listActive = __importStar(require("./listActive"));
|
|
42
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../index";
|
|
5
|
+
import * as Letta from "../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../core";
|
|
7
|
+
export declare const RetrieveStreamRequest: core.serialization.Schema<serializers.RetrieveStreamRequest.Raw, Letta.RetrieveStreamRequest>;
|
|
8
|
+
export declare namespace RetrieveStreamRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
starting_after?: number | null;
|
|
11
|
+
include_pings?: boolean | null;
|
|
12
|
+
poll_interval?: number | null;
|
|
13
|
+
batch_size?: number | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.RetrieveStreamRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../core"));
|
|
41
|
+
exports.RetrieveStreamRequest = core.serialization.object({
|
|
42
|
+
startingAfter: core.serialization.property("starting_after", core.serialization.number().optional()),
|
|
43
|
+
includePings: core.serialization.property("include_pings", core.serialization.boolean().optional()),
|
|
44
|
+
pollInterval: core.serialization.property("poll_interval", core.serialization.number().optional()),
|
|
45
|
+
batchSize: core.serialization.property("batch_size", core.serialization.number().optional()),
|
|
46
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RetrieveStreamRequest } from "./RetrieveStreamRequest";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RetrieveStreamRequest = void 0;
|
|
4
|
+
var RetrieveStreamRequest_1 = require("./RetrieveStreamRequest");
|
|
5
|
+
Object.defineProperty(exports, "RetrieveStreamRequest", { enumerable: true, get: function () { return RetrieveStreamRequest_1.RetrieveStreamRequest; } });
|
|
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
17
18
|
__exportStar(require("./client"), exports);
|
|
18
19
|
__exportStar(require("./resources"), exports);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Letta from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { SystemMessage } from "../../../types/SystemMessage";
|
|
8
|
+
import { UserMessage } from "../../../types/UserMessage";
|
|
9
|
+
import { ReasoningMessage } from "../../../types/ReasoningMessage";
|
|
10
|
+
import { ToolCallMessage } from "../../../types/ToolCallMessage";
|
|
11
|
+
import { ToolReturnMessage } from "../../../types/ToolReturnMessage";
|
|
12
|
+
import { AssistantMessage } from "../../../types/AssistantMessage";
|
|
13
|
+
import { LettaPing } from "../../../types/LettaPing";
|
|
14
|
+
import { LettaStopReason } from "../../../types/LettaStopReason";
|
|
15
|
+
import { LettaUsageStatistics } from "../../../types/LettaUsageStatistics";
|
|
16
|
+
export declare const LettaStreamingResponse: core.serialization.Schema<serializers.LettaStreamingResponse.Raw, Letta.LettaStreamingResponse>;
|
|
17
|
+
export declare namespace LettaStreamingResponse {
|
|
18
|
+
type Raw = SystemMessage.Raw | UserMessage.Raw | ReasoningMessage.Raw | ToolCallMessage.Raw | ToolReturnMessage.Raw | AssistantMessage.Raw | LettaPing.Raw | LettaStopReason.Raw | LettaUsageStatistics.Raw;
|
|
19
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.LettaStreamingResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const SystemMessage_1 = require("../../../types/SystemMessage");
|
|
42
|
+
const UserMessage_1 = require("../../../types/UserMessage");
|
|
43
|
+
const ReasoningMessage_1 = require("../../../types/ReasoningMessage");
|
|
44
|
+
const ToolCallMessage_1 = require("../../../types/ToolCallMessage");
|
|
45
|
+
const ToolReturnMessage_1 = require("../../../types/ToolReturnMessage");
|
|
46
|
+
const AssistantMessage_1 = require("../../../types/AssistantMessage");
|
|
47
|
+
const LettaPing_1 = require("../../../types/LettaPing");
|
|
48
|
+
const LettaStopReason_1 = require("../../../types/LettaStopReason");
|
|
49
|
+
const LettaUsageStatistics_1 = require("../../../types/LettaUsageStatistics");
|
|
50
|
+
exports.LettaStreamingResponse = core.serialization.undiscriminatedUnion([
|
|
51
|
+
SystemMessage_1.SystemMessage,
|
|
52
|
+
UserMessage_1.UserMessage,
|
|
53
|
+
ReasoningMessage_1.ReasoningMessage,
|
|
54
|
+
ToolCallMessage_1.ToolCallMessage,
|
|
55
|
+
ToolReturnMessage_1.ToolReturnMessage,
|
|
56
|
+
AssistantMessage_1.AssistantMessage,
|
|
57
|
+
LettaPing_1.LettaPing,
|
|
58
|
+
LettaStopReason_1.LettaStopReason,
|
|
59
|
+
LettaUsageStatistics_1.LettaUsageStatistics,
|
|
60
|
+
]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./LettaStreamingResponse";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./LettaStreamingResponse"), exports);
|
|
@@ -47,4 +47,5 @@ exports.TemplatesGetTemplateSnapshotResponseAgentsItemProperties = core.serializ
|
|
|
47
47
|
maxFilesOpen: core.serialization.property("max_files_open", core.serialization.number().optional()),
|
|
48
48
|
messageBufferAutoclear: core.serialization.property("message_buffer_autoclear", core.serialization.boolean().optional()),
|
|
49
49
|
perFileViewWindowCharLimit: core.serialization.property("per_file_view_window_char_limit", core.serialization.number().optional()),
|
|
50
|
+
temperature: core.serialization.number().optional(),
|
|
50
51
|
});
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.187";
|
package/version.js
CHANGED