@convex-dev/agent 0.1.9-alpha.4 → 0.1.9-alpha.5
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/dist/commonjs/client/index.d.ts +72 -71
- package/dist/commonjs/client/index.d.ts.map +1 -1
- package/dist/commonjs/client/index.js +2 -0
- package/dist/commonjs/client/index.js.map +1 -1
- package/dist/commonjs/component/_generated/api.d.ts +6 -1
- package/dist/commonjs/component/messages.d.ts +210 -210
- package/dist/commonjs/component/schema.d.ts +677 -707
- package/dist/commonjs/component/schema.d.ts.map +1 -1
- package/dist/commonjs/component/schema.js +0 -3
- package/dist/commonjs/component/schema.js.map +1 -1
- package/dist/commonjs/component/streams.d.ts +13 -11
- package/dist/commonjs/component/streams.d.ts.map +1 -1
- package/dist/commonjs/component/streams.js +8 -6
- package/dist/commonjs/component/streams.js.map +1 -1
- package/dist/commonjs/component/threads.d.ts +18 -18
- package/dist/commonjs/component/vector/index.d.ts +3 -3
- package/dist/commonjs/component/vector/tables.d.ts +2 -2
- package/dist/commonjs/react/deltas.d.ts.map +1 -1
- package/dist/commonjs/react/deltas.js +2 -2
- package/dist/commonjs/react/deltas.js.map +1 -1
- package/dist/commonjs/validators.d.ts +162 -160
- package/dist/commonjs/validators.d.ts.map +1 -1
- package/dist/commonjs/validators.js +1 -0
- package/dist/commonjs/validators.js.map +1 -1
- package/dist/commonjs.tsbuildinfo +1 -1
- package/dist/esm/client/index.d.ts +20 -19
- package/dist/esm/client/index.d.ts.map +1 -1
- package/dist/esm/client/index.js +2 -0
- package/dist/esm/client/index.js.map +1 -1
- package/dist/esm/component/_generated/api.d.ts +6 -1
- package/dist/esm/component/messages.d.ts +37 -37
- package/dist/esm/component/schema.d.ts +677 -707
- package/dist/esm/component/schema.d.ts.map +1 -1
- package/dist/esm/component/schema.js +0 -3
- package/dist/esm/component/schema.js.map +1 -1
- package/dist/esm/component/streams.d.ts +2 -0
- package/dist/esm/component/streams.d.ts.map +1 -1
- package/dist/esm/component/streams.js +8 -6
- package/dist/esm/component/streams.js.map +1 -1
- package/dist/esm/component/threads.d.ts +15 -15
- package/dist/esm/component/vector/index.d.ts +3 -3
- package/dist/esm/component/vector/tables.d.ts +2 -2
- package/dist/esm/react/deltas.d.ts.map +1 -1
- package/dist/esm/react/deltas.js +2 -2
- package/dist/esm/react/deltas.js.map +1 -1
- package/dist/esm/validators.d.ts +162 -160
- package/dist/esm/validators.d.ts.map +1 -1
- package/dist/esm/validators.js +1 -0
- package/dist/esm/validators.js.map +1 -1
- package/dist/esm.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/client/index.ts +4 -0
- package/src/component/_generated/api.d.ts +6 -1
- package/src/component/schema.ts +0 -4
- package/src/component/streams.ts +38 -24
- package/src/react/deltas.ts +4 -2
- package/src/validators.ts +5 -0
|
@@ -14,12 +14,12 @@ export declare const listThreadsByUserId: import("convex/server").RegisteredQuer
|
|
|
14
14
|
} | undefined;
|
|
15
15
|
}, Promise<{
|
|
16
16
|
page: {
|
|
17
|
-
userId?: string | undefined;
|
|
18
17
|
title?: string | undefined;
|
|
18
|
+
userId?: string | undefined;
|
|
19
19
|
summary?: string | undefined;
|
|
20
|
-
_id: string;
|
|
21
|
-
_creationTime: number;
|
|
22
20
|
status: "active" | "archived";
|
|
21
|
+
_creationTime: number;
|
|
22
|
+
_id: string;
|
|
23
23
|
}[];
|
|
24
24
|
isDone: boolean;
|
|
25
25
|
continueCursor: import("convex/server").Cursor;
|
|
@@ -30,60 +30,55 @@ export declare const listThreadsByUserId: import("convex/server").RegisteredQuer
|
|
|
30
30
|
export declare const getThread: import("convex/server").RegisteredQuery<"public", {
|
|
31
31
|
threadId: import("convex/values").GenericId<"threads">;
|
|
32
32
|
}, Promise<{
|
|
33
|
-
userId?: string | undefined;
|
|
34
33
|
title?: string | undefined;
|
|
34
|
+
userId?: string | undefined;
|
|
35
35
|
summary?: string | undefined;
|
|
36
|
-
_id: string;
|
|
37
|
-
_creationTime: number;
|
|
38
36
|
status: "active" | "archived";
|
|
37
|
+
_creationTime: number;
|
|
38
|
+
_id: string;
|
|
39
39
|
} | null>>;
|
|
40
40
|
/** @deprecated Use *.threads.updateThread instead */
|
|
41
41
|
export declare const updateThread: import("convex/server").RegisteredMutation<"public", {
|
|
42
42
|
threadId: import("convex/values").GenericId<"threads">;
|
|
43
43
|
patch: {
|
|
44
|
-
status?: "active" | "archived" | undefined;
|
|
45
44
|
title?: string | undefined;
|
|
45
|
+
status?: "active" | "archived" | undefined;
|
|
46
46
|
summary?: string | undefined;
|
|
47
47
|
};
|
|
48
48
|
}, Promise<{
|
|
49
|
-
userId?: string | undefined;
|
|
50
49
|
title?: string | undefined;
|
|
50
|
+
userId?: string | undefined;
|
|
51
51
|
summary?: string | undefined;
|
|
52
|
-
_id: string;
|
|
53
|
-
_creationTime: number;
|
|
54
52
|
status: "active" | "archived";
|
|
53
|
+
_creationTime: number;
|
|
54
|
+
_id: string;
|
|
55
55
|
}>>;
|
|
56
56
|
export declare function deleteMessage(ctx: MutationCtx, messageDoc: Doc<"messages">): Promise<void>;
|
|
57
57
|
export declare const messageStatuses: ("pending" | "success" | "failed")[];
|
|
58
58
|
export declare const addMessages: import("convex/server").RegisteredMutation<"public", {
|
|
59
|
-
userId?: string | undefined;
|
|
60
59
|
pending?: boolean | undefined;
|
|
61
|
-
agentName?: string | undefined;
|
|
62
60
|
promptMessageId?: import("convex/values").GenericId<"messages"> | undefined;
|
|
63
|
-
|
|
61
|
+
userId?: string | undefined;
|
|
62
|
+
agentName?: string | undefined;
|
|
64
63
|
embeddings?: {
|
|
65
64
|
model: string;
|
|
66
65
|
dimension: 128 | 256 | 512 | 768 | 1024 | 1408 | 1536 | 2048 | 3072 | 4096;
|
|
67
66
|
vectors: (number[] | null)[];
|
|
68
67
|
} | undefined;
|
|
69
|
-
|
|
68
|
+
failPendingSteps?: boolean | undefined;
|
|
70
69
|
messages: {
|
|
71
70
|
id?: string | undefined;
|
|
72
|
-
|
|
71
|
+
text?: string | undefined;
|
|
72
|
+
reasoning?: string | undefined;
|
|
73
73
|
error?: string | undefined;
|
|
74
|
+
fileIds?: import("convex/values").GenericId<"files">[] | undefined;
|
|
75
|
+
finishReason?: "length" | "stop" | "content-filter" | "tool-calls" | "error" | "other" | "unknown" | undefined;
|
|
74
76
|
model?: string | undefined;
|
|
75
77
|
provider?: string | undefined;
|
|
76
|
-
text?: string | undefined;
|
|
77
|
-
reasoning?: string | undefined;
|
|
78
|
-
usage?: {
|
|
79
|
-
promptTokens: number;
|
|
80
|
-
completionTokens: number;
|
|
81
|
-
totalTokens: number;
|
|
82
|
-
} | undefined;
|
|
83
78
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
84
79
|
sources?: {
|
|
85
|
-
title?: string | undefined;
|
|
86
80
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
81
|
+
title?: string | undefined;
|
|
87
82
|
id: string;
|
|
88
83
|
sourceType: "url";
|
|
89
84
|
url: string;
|
|
@@ -96,6 +91,11 @@ export declare const addMessages: import("convex/server").RegisteredMutation<"pu
|
|
|
96
91
|
type: "redacted";
|
|
97
92
|
data: string;
|
|
98
93
|
})[] | undefined;
|
|
94
|
+
usage?: {
|
|
95
|
+
promptTokens: number;
|
|
96
|
+
completionTokens: number;
|
|
97
|
+
totalTokens: number;
|
|
98
|
+
} | undefined;
|
|
99
99
|
warnings?: ({
|
|
100
100
|
details?: string | undefined;
|
|
101
101
|
type: "unsupported-setting";
|
|
@@ -108,7 +108,6 @@ export declare const addMessages: import("convex/server").RegisteredMutation<"pu
|
|
|
108
108
|
type: "other";
|
|
109
109
|
message: string;
|
|
110
110
|
})[] | undefined;
|
|
111
|
-
finishReason?: "length" | "error" | "other" | "stop" | "content-filter" | "tool-calls" | "unknown" | undefined;
|
|
112
111
|
message: {
|
|
113
112
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
114
113
|
role: "user";
|
|
@@ -183,17 +182,13 @@ export declare const addMessages: import("convex/server").RegisteredMutation<"pu
|
|
|
183
182
|
content: string;
|
|
184
183
|
};
|
|
185
184
|
}[];
|
|
185
|
+
threadId: import("convex/values").GenericId<"threads">;
|
|
186
186
|
}, Promise<{
|
|
187
187
|
messages: {
|
|
188
188
|
id?: string | undefined;
|
|
189
|
-
|
|
190
|
-
embeddingId?: string | undefined;
|
|
191
|
-
fileIds?: string[] | undefined;
|
|
192
|
-
error?: string | undefined;
|
|
193
|
-
agentName?: string | undefined;
|
|
194
|
-
model?: string | undefined;
|
|
195
|
-
provider?: string | undefined;
|
|
189
|
+
text?: string | undefined;
|
|
196
190
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
191
|
+
reasoning?: string | undefined;
|
|
197
192
|
message?: {
|
|
198
193
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
199
194
|
role: "user";
|
|
@@ -267,17 +262,15 @@ export declare const addMessages: import("convex/server").RegisteredMutation<"pu
|
|
|
267
262
|
role: "system";
|
|
268
263
|
content: string;
|
|
269
264
|
} | undefined;
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
totalTokens: number;
|
|
276
|
-
} | undefined;
|
|
265
|
+
error?: string | undefined;
|
|
266
|
+
fileIds?: string[] | undefined;
|
|
267
|
+
finishReason?: "length" | "stop" | "content-filter" | "tool-calls" | "error" | "other" | "unknown" | undefined;
|
|
268
|
+
model?: string | undefined;
|
|
269
|
+
provider?: string | undefined;
|
|
277
270
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
278
271
|
sources?: {
|
|
279
|
-
title?: string | undefined;
|
|
280
272
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
273
|
+
title?: string | undefined;
|
|
281
274
|
id: string;
|
|
282
275
|
sourceType: "url";
|
|
283
276
|
url: string;
|
|
@@ -290,6 +283,11 @@ export declare const addMessages: import("convex/server").RegisteredMutation<"pu
|
|
|
290
283
|
type: "redacted";
|
|
291
284
|
data: string;
|
|
292
285
|
})[] | undefined;
|
|
286
|
+
usage?: {
|
|
287
|
+
promptTokens: number;
|
|
288
|
+
completionTokens: number;
|
|
289
|
+
totalTokens: number;
|
|
290
|
+
} | undefined;
|
|
293
291
|
warnings?: ({
|
|
294
292
|
details?: string | undefined;
|
|
295
293
|
type: "unsupported-setting";
|
|
@@ -302,29 +300,25 @@ export declare const addMessages: import("convex/server").RegisteredMutation<"pu
|
|
|
302
300
|
type: "other";
|
|
303
301
|
message: string;
|
|
304
302
|
})[] | undefined;
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
303
|
+
userId?: string | undefined;
|
|
304
|
+
agentName?: string | undefined;
|
|
305
|
+
embeddingId?: string | undefined;
|
|
306
|
+
tool: boolean;
|
|
307
|
+
threadId: string;
|
|
308
308
|
status: "pending" | "success" | "failed";
|
|
309
309
|
order: number;
|
|
310
|
-
threadId: string;
|
|
311
310
|
stepOrder: number;
|
|
312
|
-
|
|
311
|
+
_creationTime: number;
|
|
312
|
+
_id: string;
|
|
313
313
|
}[];
|
|
314
314
|
}>>;
|
|
315
315
|
export declare function getMaxMessage(ctx: QueryCtx, threadId: Id<"threads">, order?: number): Promise<{
|
|
316
316
|
_id: import("convex/values").GenericId<"messages">;
|
|
317
317
|
_creationTime: number;
|
|
318
318
|
id?: string | undefined;
|
|
319
|
-
|
|
320
|
-
embeddingId?: import("convex/values").GenericId<"embeddings_128" | "embeddings_256" | "embeddings_512" | "embeddings_768" | "embeddings_1024" | "embeddings_1408" | "embeddings_1536" | "embeddings_2048" | "embeddings_3072" | "embeddings_4096"> | undefined;
|
|
321
|
-
fileIds?: import("convex/values").GenericId<"files">[] | undefined;
|
|
322
|
-
files?: any[] | undefined;
|
|
323
|
-
error?: string | undefined;
|
|
324
|
-
agentName?: string | undefined;
|
|
325
|
-
model?: string | undefined;
|
|
326
|
-
provider?: string | undefined;
|
|
319
|
+
text?: string | undefined;
|
|
327
320
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
321
|
+
reasoning?: string | undefined;
|
|
328
322
|
message?: {
|
|
329
323
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
330
324
|
role: "user";
|
|
@@ -398,17 +392,16 @@ export declare function getMaxMessage(ctx: QueryCtx, threadId: Id<"threads">, or
|
|
|
398
392
|
role: "system";
|
|
399
393
|
content: string;
|
|
400
394
|
} | undefined;
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
} | undefined;
|
|
395
|
+
files?: any[] | undefined;
|
|
396
|
+
error?: string | undefined;
|
|
397
|
+
fileIds?: import("convex/values").GenericId<"files">[] | undefined;
|
|
398
|
+
finishReason?: "length" | "stop" | "content-filter" | "tool-calls" | "error" | "other" | "unknown" | undefined;
|
|
399
|
+
model?: string | undefined;
|
|
400
|
+
provider?: string | undefined;
|
|
408
401
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
409
402
|
sources?: {
|
|
410
|
-
title?: string | undefined;
|
|
411
403
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
404
|
+
title?: string | undefined;
|
|
412
405
|
id: string;
|
|
413
406
|
sourceType: "url";
|
|
414
407
|
url: string;
|
|
@@ -421,6 +414,11 @@ export declare function getMaxMessage(ctx: QueryCtx, threadId: Id<"threads">, or
|
|
|
421
414
|
type: "redacted";
|
|
422
415
|
data: string;
|
|
423
416
|
})[] | undefined;
|
|
417
|
+
usage?: {
|
|
418
|
+
promptTokens: number;
|
|
419
|
+
completionTokens: number;
|
|
420
|
+
totalTokens: number;
|
|
421
|
+
} | undefined;
|
|
424
422
|
warnings?: ({
|
|
425
423
|
details?: string | undefined;
|
|
426
424
|
type: "unsupported-setting";
|
|
@@ -433,14 +431,16 @@ export declare function getMaxMessage(ctx: QueryCtx, threadId: Id<"threads">, or
|
|
|
433
431
|
type: "other";
|
|
434
432
|
message: string;
|
|
435
433
|
})[] | undefined;
|
|
436
|
-
|
|
434
|
+
userId?: string | undefined;
|
|
435
|
+
agentName?: string | undefined;
|
|
436
|
+
embeddingId?: import("convex/values").GenericId<"embeddings_128" | "embeddings_256" | "embeddings_512" | "embeddings_768" | "embeddings_1024" | "embeddings_1408" | "embeddings_1536" | "embeddings_2048" | "embeddings_3072" | "embeddings_4096"> | undefined;
|
|
437
437
|
parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
|
|
438
438
|
stepId?: string | undefined;
|
|
439
|
+
tool: boolean;
|
|
440
|
+
threadId: import("convex/values").GenericId<"threads">;
|
|
439
441
|
status: "pending" | "success" | "failed";
|
|
440
442
|
order: number;
|
|
441
|
-
threadId: import("convex/values").GenericId<"threads">;
|
|
442
443
|
stepOrder: number;
|
|
443
|
-
tool: boolean;
|
|
444
444
|
} | null>;
|
|
445
445
|
export declare const rollbackMessage: import("convex/server").RegisteredMutation<"public", {
|
|
446
446
|
error?: string | undefined;
|
|
@@ -451,8 +451,6 @@ export declare const commitMessage: import("convex/server").RegisteredMutation<"
|
|
|
451
451
|
}, Promise<void>>;
|
|
452
452
|
export declare const updateMessage: import("convex/server").RegisteredMutation<"public", {
|
|
453
453
|
patch: {
|
|
454
|
-
status?: "pending" | "success" | "failed" | undefined;
|
|
455
|
-
error?: string | undefined;
|
|
456
454
|
message?: {
|
|
457
455
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
458
456
|
role: "user";
|
|
@@ -526,18 +524,15 @@ export declare const updateMessage: import("convex/server").RegisteredMutation<"
|
|
|
526
524
|
role: "system";
|
|
527
525
|
content: string;
|
|
528
526
|
} | undefined;
|
|
527
|
+
error?: string | undefined;
|
|
528
|
+
status?: "pending" | "success" | "failed" | undefined;
|
|
529
529
|
};
|
|
530
530
|
messageId: import("convex/values").GenericId<"messages">;
|
|
531
531
|
}, Promise<{
|
|
532
532
|
id?: string | undefined;
|
|
533
|
-
|
|
534
|
-
embeddingId?: string | undefined;
|
|
535
|
-
fileIds?: string[] | undefined;
|
|
536
|
-
error?: string | undefined;
|
|
537
|
-
agentName?: string | undefined;
|
|
538
|
-
model?: string | undefined;
|
|
539
|
-
provider?: string | undefined;
|
|
533
|
+
text?: string | undefined;
|
|
540
534
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
535
|
+
reasoning?: string | undefined;
|
|
541
536
|
message?: {
|
|
542
537
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
543
538
|
role: "user";
|
|
@@ -611,17 +606,15 @@ export declare const updateMessage: import("convex/server").RegisteredMutation<"
|
|
|
611
606
|
role: "system";
|
|
612
607
|
content: string;
|
|
613
608
|
} | undefined;
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
totalTokens: number;
|
|
620
|
-
} | undefined;
|
|
609
|
+
error?: string | undefined;
|
|
610
|
+
fileIds?: string[] | undefined;
|
|
611
|
+
finishReason?: "length" | "stop" | "content-filter" | "tool-calls" | "error" | "other" | "unknown" | undefined;
|
|
612
|
+
model?: string | undefined;
|
|
613
|
+
provider?: string | undefined;
|
|
621
614
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
622
615
|
sources?: {
|
|
623
|
-
title?: string | undefined;
|
|
624
616
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
617
|
+
title?: string | undefined;
|
|
625
618
|
id: string;
|
|
626
619
|
sourceType: "url";
|
|
627
620
|
url: string;
|
|
@@ -634,6 +627,11 @@ export declare const updateMessage: import("convex/server").RegisteredMutation<"
|
|
|
634
627
|
type: "redacted";
|
|
635
628
|
data: string;
|
|
636
629
|
})[] | undefined;
|
|
630
|
+
usage?: {
|
|
631
|
+
promptTokens: number;
|
|
632
|
+
completionTokens: number;
|
|
633
|
+
totalTokens: number;
|
|
634
|
+
} | undefined;
|
|
637
635
|
warnings?: ({
|
|
638
636
|
details?: string | undefined;
|
|
639
637
|
type: "unsupported-setting";
|
|
@@ -646,17 +644,20 @@ export declare const updateMessage: import("convex/server").RegisteredMutation<"
|
|
|
646
644
|
type: "other";
|
|
647
645
|
message: string;
|
|
648
646
|
})[] | undefined;
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
647
|
+
userId?: string | undefined;
|
|
648
|
+
agentName?: string | undefined;
|
|
649
|
+
embeddingId?: string | undefined;
|
|
650
|
+
tool: boolean;
|
|
651
|
+
threadId: string;
|
|
652
652
|
status: "pending" | "success" | "failed";
|
|
653
653
|
order: number;
|
|
654
|
-
threadId: string;
|
|
655
654
|
stepOrder: number;
|
|
656
|
-
|
|
655
|
+
_creationTime: number;
|
|
656
|
+
_id: string;
|
|
657
657
|
}>>;
|
|
658
658
|
export declare const listMessagesByThreadId: import("convex/server").RegisteredQuery<"public", {
|
|
659
659
|
excludeToolMessages?: boolean | undefined;
|
|
660
|
+
statuses?: ("pending" | "success" | "failed")[] | undefined;
|
|
660
661
|
paginationOpts?: {
|
|
661
662
|
id?: number | undefined;
|
|
662
663
|
endCursor?: string | null | undefined;
|
|
@@ -666,21 +667,15 @@ export declare const listMessagesByThreadId: import("convex/server").RegisteredQ
|
|
|
666
667
|
cursor: string | null;
|
|
667
668
|
} | undefined;
|
|
668
669
|
isTool?: "use excludeToolMessages instead of this" | undefined;
|
|
669
|
-
statuses?: ("pending" | "success" | "failed")[] | undefined;
|
|
670
670
|
upToAndIncludingMessageId?: import("convex/values").GenericId<"messages"> | undefined;
|
|
671
|
-
order: "asc" | "desc";
|
|
672
671
|
threadId: import("convex/values").GenericId<"threads">;
|
|
672
|
+
order: "asc" | "desc";
|
|
673
673
|
}, Promise<{
|
|
674
674
|
page: {
|
|
675
675
|
id?: string | undefined;
|
|
676
|
-
|
|
677
|
-
embeddingId?: string | undefined;
|
|
678
|
-
fileIds?: string[] | undefined;
|
|
679
|
-
error?: string | undefined;
|
|
680
|
-
agentName?: string | undefined;
|
|
681
|
-
model?: string | undefined;
|
|
682
|
-
provider?: string | undefined;
|
|
676
|
+
text?: string | undefined;
|
|
683
677
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
678
|
+
reasoning?: string | undefined;
|
|
684
679
|
message?: {
|
|
685
680
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
686
681
|
role: "user";
|
|
@@ -754,17 +749,15 @@ export declare const listMessagesByThreadId: import("convex/server").RegisteredQ
|
|
|
754
749
|
role: "system";
|
|
755
750
|
content: string;
|
|
756
751
|
} | undefined;
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
totalTokens: number;
|
|
763
|
-
} | undefined;
|
|
752
|
+
error?: string | undefined;
|
|
753
|
+
fileIds?: string[] | undefined;
|
|
754
|
+
finishReason?: "length" | "stop" | "content-filter" | "tool-calls" | "error" | "other" | "unknown" | undefined;
|
|
755
|
+
model?: string | undefined;
|
|
756
|
+
provider?: string | undefined;
|
|
764
757
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
765
758
|
sources?: {
|
|
766
|
-
title?: string | undefined;
|
|
767
759
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
760
|
+
title?: string | undefined;
|
|
768
761
|
id: string;
|
|
769
762
|
sourceType: "url";
|
|
770
763
|
url: string;
|
|
@@ -777,6 +770,11 @@ export declare const listMessagesByThreadId: import("convex/server").RegisteredQ
|
|
|
777
770
|
type: "redacted";
|
|
778
771
|
data: string;
|
|
779
772
|
})[] | undefined;
|
|
773
|
+
usage?: {
|
|
774
|
+
promptTokens: number;
|
|
775
|
+
completionTokens: number;
|
|
776
|
+
totalTokens: number;
|
|
777
|
+
} | undefined;
|
|
780
778
|
warnings?: ({
|
|
781
779
|
details?: string | undefined;
|
|
782
780
|
type: "unsupported-setting";
|
|
@@ -789,14 +787,16 @@ export declare const listMessagesByThreadId: import("convex/server").RegisteredQ
|
|
|
789
787
|
type: "other";
|
|
790
788
|
message: string;
|
|
791
789
|
})[] | undefined;
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
790
|
+
userId?: string | undefined;
|
|
791
|
+
agentName?: string | undefined;
|
|
792
|
+
embeddingId?: string | undefined;
|
|
793
|
+
tool: boolean;
|
|
794
|
+
threadId: string;
|
|
795
795
|
status: "pending" | "success" | "failed";
|
|
796
796
|
order: number;
|
|
797
|
-
threadId: string;
|
|
798
797
|
stepOrder: number;
|
|
799
|
-
|
|
798
|
+
_creationTime: number;
|
|
799
|
+
_id: string;
|
|
800
800
|
}[];
|
|
801
801
|
isDone: boolean;
|
|
802
802
|
continueCursor: import("convex/server").Cursor;
|
|
@@ -809,15 +809,9 @@ export declare const getMessagesByIds: import("convex/server").RegisteredQuery<"
|
|
|
809
809
|
_id: import("convex/values").GenericId<"messages">;
|
|
810
810
|
_creationTime: number;
|
|
811
811
|
id?: string | undefined;
|
|
812
|
-
|
|
813
|
-
embeddingId?: import("convex/values").GenericId<"embeddings_128" | "embeddings_256" | "embeddings_512" | "embeddings_768" | "embeddings_1024" | "embeddings_1408" | "embeddings_1536" | "embeddings_2048" | "embeddings_3072" | "embeddings_4096"> | undefined;
|
|
814
|
-
fileIds?: import("convex/values").GenericId<"files">[] | undefined;
|
|
815
|
-
files?: any[] | undefined;
|
|
816
|
-
error?: string | undefined;
|
|
817
|
-
agentName?: string | undefined;
|
|
818
|
-
model?: string | undefined;
|
|
819
|
-
provider?: string | undefined;
|
|
812
|
+
text?: string | undefined;
|
|
820
813
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
814
|
+
reasoning?: string | undefined;
|
|
821
815
|
message?: {
|
|
822
816
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
823
817
|
role: "user";
|
|
@@ -891,17 +885,16 @@ export declare const getMessagesByIds: import("convex/server").RegisteredQuery<"
|
|
|
891
885
|
role: "system";
|
|
892
886
|
content: string;
|
|
893
887
|
} | undefined;
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
} | undefined;
|
|
888
|
+
files?: any[] | undefined;
|
|
889
|
+
error?: string | undefined;
|
|
890
|
+
fileIds?: import("convex/values").GenericId<"files">[] | undefined;
|
|
891
|
+
finishReason?: "length" | "stop" | "content-filter" | "tool-calls" | "error" | "other" | "unknown" | undefined;
|
|
892
|
+
model?: string | undefined;
|
|
893
|
+
provider?: string | undefined;
|
|
901
894
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
902
895
|
sources?: {
|
|
903
|
-
title?: string | undefined;
|
|
904
896
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
897
|
+
title?: string | undefined;
|
|
905
898
|
id: string;
|
|
906
899
|
sourceType: "url";
|
|
907
900
|
url: string;
|
|
@@ -914,6 +907,11 @@ export declare const getMessagesByIds: import("convex/server").RegisteredQuery<"
|
|
|
914
907
|
type: "redacted";
|
|
915
908
|
data: string;
|
|
916
909
|
})[] | undefined;
|
|
910
|
+
usage?: {
|
|
911
|
+
promptTokens: number;
|
|
912
|
+
completionTokens: number;
|
|
913
|
+
totalTokens: number;
|
|
914
|
+
} | undefined;
|
|
917
915
|
warnings?: ({
|
|
918
916
|
details?: string | undefined;
|
|
919
917
|
type: "unsupported-setting";
|
|
@@ -926,21 +924,22 @@ export declare const getMessagesByIds: import("convex/server").RegisteredQuery<"
|
|
|
926
924
|
type: "other";
|
|
927
925
|
message: string;
|
|
928
926
|
})[] | undefined;
|
|
929
|
-
|
|
927
|
+
userId?: string | undefined;
|
|
928
|
+
agentName?: string | undefined;
|
|
929
|
+
embeddingId?: import("convex/values").GenericId<"embeddings_128" | "embeddings_256" | "embeddings_512" | "embeddings_768" | "embeddings_1024" | "embeddings_1408" | "embeddings_1536" | "embeddings_2048" | "embeddings_3072" | "embeddings_4096"> | undefined;
|
|
930
930
|
parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
|
|
931
931
|
stepId?: string | undefined;
|
|
932
|
+
tool: boolean;
|
|
933
|
+
threadId: import("convex/values").GenericId<"threads">;
|
|
932
934
|
status: "pending" | "success" | "failed";
|
|
933
935
|
order: number;
|
|
934
|
-
threadId: import("convex/values").GenericId<"threads">;
|
|
935
936
|
stepOrder: number;
|
|
936
|
-
tool: boolean;
|
|
937
937
|
} | null)[]>>;
|
|
938
938
|
/** @deprecated Use listMessagesByThreadId instead. */
|
|
939
939
|
export declare const getThreadMessages: import("convex/server").RegisteredQuery<"public", {
|
|
940
940
|
deprecated: "Use listMessagesByThreadId instead";
|
|
941
941
|
}, Promise<never>>;
|
|
942
942
|
export declare const searchMessages: import("convex/server").RegisteredAction<"public", {
|
|
943
|
-
threadId?: import("convex/values").GenericId<"threads"> | undefined;
|
|
944
943
|
text?: string | undefined;
|
|
945
944
|
vector?: number[] | undefined;
|
|
946
945
|
vectorModel?: string | undefined;
|
|
@@ -949,19 +948,15 @@ export declare const searchMessages: import("convex/server").RegisteredAction<"p
|
|
|
949
948
|
before: number;
|
|
950
949
|
after: number;
|
|
951
950
|
} | undefined;
|
|
952
|
-
|
|
951
|
+
threadId?: import("convex/values").GenericId<"threads"> | undefined;
|
|
953
952
|
searchAllMessagesForUserId?: string | undefined;
|
|
953
|
+
beforeMessageId?: import("convex/values").GenericId<"messages"> | undefined;
|
|
954
954
|
limit: number;
|
|
955
955
|
}, Promise<{
|
|
956
956
|
id?: string | undefined;
|
|
957
|
-
|
|
958
|
-
embeddingId?: string | undefined;
|
|
959
|
-
fileIds?: string[] | undefined;
|
|
960
|
-
error?: string | undefined;
|
|
961
|
-
agentName?: string | undefined;
|
|
962
|
-
model?: string | undefined;
|
|
963
|
-
provider?: string | undefined;
|
|
957
|
+
text?: string | undefined;
|
|
964
958
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
959
|
+
reasoning?: string | undefined;
|
|
965
960
|
message?: {
|
|
966
961
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
967
962
|
role: "user";
|
|
@@ -1035,17 +1030,15 @@ export declare const searchMessages: import("convex/server").RegisteredAction<"p
|
|
|
1035
1030
|
role: "system";
|
|
1036
1031
|
content: string;
|
|
1037
1032
|
} | undefined;
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
totalTokens: number;
|
|
1044
|
-
} | undefined;
|
|
1033
|
+
error?: string | undefined;
|
|
1034
|
+
fileIds?: string[] | undefined;
|
|
1035
|
+
finishReason?: "length" | "stop" | "content-filter" | "tool-calls" | "error" | "other" | "unknown" | undefined;
|
|
1036
|
+
model?: string | undefined;
|
|
1037
|
+
provider?: string | undefined;
|
|
1045
1038
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1046
1039
|
sources?: {
|
|
1047
|
-
title?: string | undefined;
|
|
1048
1040
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1041
|
+
title?: string | undefined;
|
|
1049
1042
|
id: string;
|
|
1050
1043
|
sourceType: "url";
|
|
1051
1044
|
url: string;
|
|
@@ -1058,6 +1051,11 @@ export declare const searchMessages: import("convex/server").RegisteredAction<"p
|
|
|
1058
1051
|
type: "redacted";
|
|
1059
1052
|
data: string;
|
|
1060
1053
|
})[] | undefined;
|
|
1054
|
+
usage?: {
|
|
1055
|
+
promptTokens: number;
|
|
1056
|
+
completionTokens: number;
|
|
1057
|
+
totalTokens: number;
|
|
1058
|
+
} | undefined;
|
|
1061
1059
|
warnings?: ({
|
|
1062
1060
|
details?: string | undefined;
|
|
1063
1061
|
type: "unsupported-setting";
|
|
@@ -1070,29 +1068,26 @@ export declare const searchMessages: import("convex/server").RegisteredAction<"p
|
|
|
1070
1068
|
type: "other";
|
|
1071
1069
|
message: string;
|
|
1072
1070
|
})[] | undefined;
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1071
|
+
userId?: string | undefined;
|
|
1072
|
+
agentName?: string | undefined;
|
|
1073
|
+
embeddingId?: string | undefined;
|
|
1074
|
+
tool: boolean;
|
|
1075
|
+
threadId: string;
|
|
1076
1076
|
status: "pending" | "success" | "failed";
|
|
1077
1077
|
order: number;
|
|
1078
|
-
threadId: string;
|
|
1079
1078
|
stepOrder: number;
|
|
1080
|
-
|
|
1079
|
+
_creationTime: number;
|
|
1080
|
+
_id: string;
|
|
1081
1081
|
}[]>>;
|
|
1082
1082
|
export declare const _fetchSearchMessages: import("convex/server").RegisteredQuery<"internal", {
|
|
1083
1083
|
threadId?: import("convex/values").GenericId<"threads"> | undefined;
|
|
1084
|
-
beforeMessageId?: import("convex/values").GenericId<"messages"> | undefined;
|
|
1085
1084
|
searchAllMessagesForUserId?: string | undefined;
|
|
1085
|
+
beforeMessageId?: import("convex/values").GenericId<"messages"> | undefined;
|
|
1086
1086
|
textSearchMessages?: {
|
|
1087
1087
|
id?: string | undefined;
|
|
1088
|
-
|
|
1089
|
-
embeddingId?: string | undefined;
|
|
1090
|
-
fileIds?: string[] | undefined;
|
|
1091
|
-
error?: string | undefined;
|
|
1092
|
-
agentName?: string | undefined;
|
|
1093
|
-
model?: string | undefined;
|
|
1094
|
-
provider?: string | undefined;
|
|
1088
|
+
text?: string | undefined;
|
|
1095
1089
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1090
|
+
reasoning?: string | undefined;
|
|
1096
1091
|
message?: {
|
|
1097
1092
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1098
1093
|
role: "user";
|
|
@@ -1166,17 +1161,15 @@ export declare const _fetchSearchMessages: import("convex/server").RegisteredQue
|
|
|
1166
1161
|
role: "system";
|
|
1167
1162
|
content: string;
|
|
1168
1163
|
} | undefined;
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
totalTokens: number;
|
|
1175
|
-
} | undefined;
|
|
1164
|
+
error?: string | undefined;
|
|
1165
|
+
fileIds?: string[] | undefined;
|
|
1166
|
+
finishReason?: "length" | "stop" | "content-filter" | "tool-calls" | "error" | "other" | "unknown" | undefined;
|
|
1167
|
+
model?: string | undefined;
|
|
1168
|
+
provider?: string | undefined;
|
|
1176
1169
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1177
1170
|
sources?: {
|
|
1178
|
-
title?: string | undefined;
|
|
1179
1171
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1172
|
+
title?: string | undefined;
|
|
1180
1173
|
id: string;
|
|
1181
1174
|
sourceType: "url";
|
|
1182
1175
|
url: string;
|
|
@@ -1189,6 +1182,11 @@ export declare const _fetchSearchMessages: import("convex/server").RegisteredQue
|
|
|
1189
1182
|
type: "redacted";
|
|
1190
1183
|
data: string;
|
|
1191
1184
|
})[] | undefined;
|
|
1185
|
+
usage?: {
|
|
1186
|
+
promptTokens: number;
|
|
1187
|
+
completionTokens: number;
|
|
1188
|
+
totalTokens: number;
|
|
1189
|
+
} | undefined;
|
|
1192
1190
|
warnings?: ({
|
|
1193
1191
|
details?: string | undefined;
|
|
1194
1192
|
type: "unsupported-setting";
|
|
@@ -1201,14 +1199,16 @@ export declare const _fetchSearchMessages: import("convex/server").RegisteredQue
|
|
|
1201
1199
|
type: "other";
|
|
1202
1200
|
message: string;
|
|
1203
1201
|
})[] | undefined;
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1202
|
+
userId?: string | undefined;
|
|
1203
|
+
agentName?: string | undefined;
|
|
1204
|
+
embeddingId?: string | undefined;
|
|
1205
|
+
tool: boolean;
|
|
1206
|
+
threadId: string;
|
|
1207
1207
|
status: "pending" | "success" | "failed";
|
|
1208
1208
|
order: number;
|
|
1209
|
-
threadId: string;
|
|
1210
1209
|
stepOrder: number;
|
|
1211
|
-
|
|
1210
|
+
_creationTime: number;
|
|
1211
|
+
_id: string;
|
|
1212
1212
|
}[] | undefined;
|
|
1213
1213
|
limit: number;
|
|
1214
1214
|
messageRange: {
|
|
@@ -1218,14 +1218,9 @@ export declare const _fetchSearchMessages: import("convex/server").RegisteredQue
|
|
|
1218
1218
|
vectorIds: import("convex/values").GenericId<"embeddings_128" | "embeddings_256" | "embeddings_512" | "embeddings_768" | "embeddings_1024" | "embeddings_1408" | "embeddings_1536" | "embeddings_2048" | "embeddings_3072" | "embeddings_4096">[];
|
|
1219
1219
|
}, Promise<{
|
|
1220
1220
|
id?: string | undefined;
|
|
1221
|
-
|
|
1222
|
-
embeddingId?: string | undefined;
|
|
1223
|
-
fileIds?: string[] | undefined;
|
|
1224
|
-
error?: string | undefined;
|
|
1225
|
-
agentName?: string | undefined;
|
|
1226
|
-
model?: string | undefined;
|
|
1227
|
-
provider?: string | undefined;
|
|
1221
|
+
text?: string | undefined;
|
|
1228
1222
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1223
|
+
reasoning?: string | undefined;
|
|
1229
1224
|
message?: {
|
|
1230
1225
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1231
1226
|
role: "user";
|
|
@@ -1299,17 +1294,15 @@ export declare const _fetchSearchMessages: import("convex/server").RegisteredQue
|
|
|
1299
1294
|
role: "system";
|
|
1300
1295
|
content: string;
|
|
1301
1296
|
} | undefined;
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
totalTokens: number;
|
|
1308
|
-
} | undefined;
|
|
1297
|
+
error?: string | undefined;
|
|
1298
|
+
fileIds?: string[] | undefined;
|
|
1299
|
+
finishReason?: "length" | "stop" | "content-filter" | "tool-calls" | "error" | "other" | "unknown" | undefined;
|
|
1300
|
+
model?: string | undefined;
|
|
1301
|
+
provider?: string | undefined;
|
|
1309
1302
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1310
1303
|
sources?: {
|
|
1311
|
-
title?: string | undefined;
|
|
1312
1304
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1305
|
+
title?: string | undefined;
|
|
1313
1306
|
id: string;
|
|
1314
1307
|
sourceType: "url";
|
|
1315
1308
|
url: string;
|
|
@@ -1322,6 +1315,11 @@ export declare const _fetchSearchMessages: import("convex/server").RegisteredQue
|
|
|
1322
1315
|
type: "redacted";
|
|
1323
1316
|
data: string;
|
|
1324
1317
|
})[] | undefined;
|
|
1318
|
+
usage?: {
|
|
1319
|
+
promptTokens: number;
|
|
1320
|
+
completionTokens: number;
|
|
1321
|
+
totalTokens: number;
|
|
1322
|
+
} | undefined;
|
|
1325
1323
|
warnings?: ({
|
|
1326
1324
|
details?: string | undefined;
|
|
1327
1325
|
type: "unsupported-setting";
|
|
@@ -1334,31 +1332,28 @@ export declare const _fetchSearchMessages: import("convex/server").RegisteredQue
|
|
|
1334
1332
|
type: "other";
|
|
1335
1333
|
message: string;
|
|
1336
1334
|
})[] | undefined;
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1335
|
+
userId?: string | undefined;
|
|
1336
|
+
agentName?: string | undefined;
|
|
1337
|
+
embeddingId?: string | undefined;
|
|
1338
|
+
tool: boolean;
|
|
1339
|
+
threadId: string;
|
|
1340
1340
|
status: "pending" | "success" | "failed";
|
|
1341
1341
|
order: number;
|
|
1342
|
-
threadId: string;
|
|
1343
1342
|
stepOrder: number;
|
|
1344
|
-
|
|
1343
|
+
_creationTime: number;
|
|
1344
|
+
_id: string;
|
|
1345
1345
|
}[]>>;
|
|
1346
1346
|
export declare const textSearch: import("convex/server").RegisteredQuery<"public", {
|
|
1347
1347
|
threadId?: import("convex/values").GenericId<"threads"> | undefined;
|
|
1348
|
-
beforeMessageId?: import("convex/values").GenericId<"messages"> | undefined;
|
|
1349
1348
|
searchAllMessagesForUserId?: string | undefined;
|
|
1349
|
+
beforeMessageId?: import("convex/values").GenericId<"messages"> | undefined;
|
|
1350
1350
|
text: string;
|
|
1351
1351
|
limit: number;
|
|
1352
1352
|
}, Promise<{
|
|
1353
1353
|
id?: string | undefined;
|
|
1354
|
-
|
|
1355
|
-
embeddingId?: string | undefined;
|
|
1356
|
-
fileIds?: string[] | undefined;
|
|
1357
|
-
error?: string | undefined;
|
|
1358
|
-
agentName?: string | undefined;
|
|
1359
|
-
model?: string | undefined;
|
|
1360
|
-
provider?: string | undefined;
|
|
1354
|
+
text?: string | undefined;
|
|
1361
1355
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1356
|
+
reasoning?: string | undefined;
|
|
1362
1357
|
message?: {
|
|
1363
1358
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1364
1359
|
role: "user";
|
|
@@ -1432,17 +1427,15 @@ export declare const textSearch: import("convex/server").RegisteredQuery<"public
|
|
|
1432
1427
|
role: "system";
|
|
1433
1428
|
content: string;
|
|
1434
1429
|
} | undefined;
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
totalTokens: number;
|
|
1441
|
-
} | undefined;
|
|
1430
|
+
error?: string | undefined;
|
|
1431
|
+
fileIds?: string[] | undefined;
|
|
1432
|
+
finishReason?: "length" | "stop" | "content-filter" | "tool-calls" | "error" | "other" | "unknown" | undefined;
|
|
1433
|
+
model?: string | undefined;
|
|
1434
|
+
provider?: string | undefined;
|
|
1442
1435
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1443
1436
|
sources?: {
|
|
1444
|
-
title?: string | undefined;
|
|
1445
1437
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1438
|
+
title?: string | undefined;
|
|
1446
1439
|
id: string;
|
|
1447
1440
|
sourceType: "url";
|
|
1448
1441
|
url: string;
|
|
@@ -1455,6 +1448,11 @@ export declare const textSearch: import("convex/server").RegisteredQuery<"public
|
|
|
1455
1448
|
type: "redacted";
|
|
1456
1449
|
data: string;
|
|
1457
1450
|
})[] | undefined;
|
|
1451
|
+
usage?: {
|
|
1452
|
+
promptTokens: number;
|
|
1453
|
+
completionTokens: number;
|
|
1454
|
+
totalTokens: number;
|
|
1455
|
+
} | undefined;
|
|
1458
1456
|
warnings?: ({
|
|
1459
1457
|
details?: string | undefined;
|
|
1460
1458
|
type: "unsupported-setting";
|
|
@@ -1467,13 +1465,15 @@ export declare const textSearch: import("convex/server").RegisteredQuery<"public
|
|
|
1467
1465
|
type: "other";
|
|
1468
1466
|
message: string;
|
|
1469
1467
|
})[] | undefined;
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1468
|
+
userId?: string | undefined;
|
|
1469
|
+
agentName?: string | undefined;
|
|
1470
|
+
embeddingId?: string | undefined;
|
|
1471
|
+
tool: boolean;
|
|
1472
|
+
threadId: string;
|
|
1473
1473
|
status: "pending" | "success" | "failed";
|
|
1474
1474
|
order: number;
|
|
1475
|
-
threadId: string;
|
|
1476
1475
|
stepOrder: number;
|
|
1477
|
-
|
|
1476
|
+
_creationTime: number;
|
|
1477
|
+
_id: string;
|
|
1478
1478
|
}[]>>;
|
|
1479
1479
|
//# sourceMappingURL=messages.d.ts.map
|