@convex-dev/agent 0.2.11-alpha.0 → 0.2.11-alpha.2
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/client/definePlaygroundAPI.d.ts +42 -42
- package/dist/client/index.d.ts +38 -38
- package/dist/client/messages.d.ts +10 -10
- package/dist/client/search.d.ts +10 -10
- package/dist/client/search.d.ts.map +1 -1
- package/dist/client/search.js +29 -8
- package/dist/client/search.js.map +1 -1
- package/dist/client/streaming.d.ts +89 -89
- package/dist/component/messages.d.ts +113 -113
- package/dist/component/streams.d.ts +7 -7
- package/dist/component/threads.d.ts +7 -7
- package/dist/component/users.d.ts +3 -3
- package/dist/deltas.d.ts.map +1 -1
- package/dist/deltas.js +3 -1
- package/dist/deltas.js.map +1 -1
- package/package.json +1 -1
- package/src/client/search.test.ts +25 -4
- package/src/client/search.ts +34 -9
- package/src/deltas.ts +5 -1
|
@@ -6,8 +6,8 @@ export declare const deleteByIds: import("convex/server").RegisteredMutation<"pu
|
|
|
6
6
|
}, Promise<import("convex/values").GenericId<"messages">[]>>;
|
|
7
7
|
export declare const messageStatuses: ("pending" | "success" | "failed")[];
|
|
8
8
|
export declare const deleteByOrder: import("convex/server").RegisteredMutation<"public", {
|
|
9
|
-
endStepOrder?: number | undefined;
|
|
10
9
|
startStepOrder?: number | undefined;
|
|
10
|
+
endStepOrder?: number | undefined;
|
|
11
11
|
threadId: import("convex/values").GenericId<"threads">;
|
|
12
12
|
startOrder: number;
|
|
13
13
|
endOrder: number;
|
|
@@ -20,17 +20,18 @@ export declare const addMessages: import("convex/server").RegisteredMutation<"pu
|
|
|
20
20
|
userId?: string | undefined;
|
|
21
21
|
agentName?: string | undefined;
|
|
22
22
|
promptMessageId?: import("convex/values").GenericId<"messages"> | undefined;
|
|
23
|
-
failPendingSteps?: boolean | undefined;
|
|
24
23
|
embeddings?: {
|
|
25
24
|
model: string;
|
|
26
|
-
vectors: (number[] | null)[];
|
|
27
25
|
dimension: 128 | 256 | 512 | 768 | 1024 | 1408 | 1536 | 2048 | 3072 | 4096;
|
|
26
|
+
vectors: (number[] | null)[];
|
|
28
27
|
} | undefined;
|
|
28
|
+
failPendingSteps?: boolean | undefined;
|
|
29
29
|
pendingMessageId?: import("convex/values").GenericId<"messages"> | undefined;
|
|
30
|
+
threadId: import("convex/values").GenericId<"threads">;
|
|
30
31
|
messages: {
|
|
32
|
+
status?: "pending" | "success" | "failed" | undefined;
|
|
31
33
|
fileIds?: import("convex/values").GenericId<"files">[] | undefined;
|
|
32
34
|
error?: string | undefined;
|
|
33
|
-
status?: "pending" | "success" | "failed" | undefined;
|
|
34
35
|
model?: string | undefined;
|
|
35
36
|
provider?: string | undefined;
|
|
36
37
|
text?: string | undefined;
|
|
@@ -44,10 +45,10 @@ export declare const addMessages: import("convex/server").RegisteredMutation<"pu
|
|
|
44
45
|
totalTokens: number;
|
|
45
46
|
} | undefined;
|
|
46
47
|
sources?: ({
|
|
48
|
+
title?: string | undefined;
|
|
47
49
|
type?: "source" | undefined;
|
|
48
50
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
49
51
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
50
|
-
title?: string | undefined;
|
|
51
52
|
id: string;
|
|
52
53
|
sourceType: "url";
|
|
53
54
|
url: string;
|
|
@@ -55,11 +56,11 @@ export declare const addMessages: import("convex/server").RegisteredMutation<"pu
|
|
|
55
56
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
56
57
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
57
58
|
filename?: string | undefined;
|
|
58
|
-
type: "source";
|
|
59
59
|
id: string;
|
|
60
|
+
title: string;
|
|
61
|
+
type: "source";
|
|
60
62
|
mediaType: string;
|
|
61
63
|
sourceType: "document";
|
|
62
|
-
title: string;
|
|
63
64
|
})[] | undefined;
|
|
64
65
|
warnings?: ({
|
|
65
66
|
details?: string | undefined;
|
|
@@ -185,22 +186,22 @@ export declare const addMessages: import("convex/server").RegisteredMutation<"pu
|
|
|
185
186
|
toolCallId: string;
|
|
186
187
|
toolName: string;
|
|
187
188
|
} | {
|
|
189
|
+
title?: string | undefined;
|
|
188
190
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
189
191
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
190
|
-
title?: string | undefined;
|
|
191
|
-
type: "source";
|
|
192
192
|
id: string;
|
|
193
|
+
type: "source";
|
|
193
194
|
sourceType: "url";
|
|
194
195
|
url: string;
|
|
195
196
|
} | {
|
|
196
197
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
197
198
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
198
199
|
filename?: string | undefined;
|
|
199
|
-
type: "source";
|
|
200
200
|
id: string;
|
|
201
|
+
title: string;
|
|
202
|
+
type: "source";
|
|
201
203
|
mediaType: string;
|
|
202
204
|
sourceType: "document";
|
|
203
|
-
title: string;
|
|
204
205
|
})[];
|
|
205
206
|
} | {
|
|
206
207
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -253,11 +254,10 @@ export declare const addMessages: import("convex/server").RegisteredMutation<"pu
|
|
|
253
254
|
content: string;
|
|
254
255
|
};
|
|
255
256
|
}[];
|
|
256
|
-
threadId: import("convex/values").GenericId<"threads">;
|
|
257
257
|
}, Promise<{
|
|
258
258
|
messages: {
|
|
259
|
-
userId?: string | undefined;
|
|
260
259
|
id?: string | undefined;
|
|
260
|
+
userId?: string | undefined;
|
|
261
261
|
embeddingId?: string | undefined;
|
|
262
262
|
fileIds?: string[] | undefined;
|
|
263
263
|
error?: string | undefined;
|
|
@@ -362,22 +362,22 @@ export declare const addMessages: import("convex/server").RegisteredMutation<"pu
|
|
|
362
362
|
toolCallId: string;
|
|
363
363
|
toolName: string;
|
|
364
364
|
} | {
|
|
365
|
+
title?: string | undefined;
|
|
365
366
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
366
367
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
367
|
-
title?: string | undefined;
|
|
368
|
-
type: "source";
|
|
369
368
|
id: string;
|
|
369
|
+
type: "source";
|
|
370
370
|
sourceType: "url";
|
|
371
371
|
url: string;
|
|
372
372
|
} | {
|
|
373
373
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
374
374
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
375
375
|
filename?: string | undefined;
|
|
376
|
-
type: "source";
|
|
377
376
|
id: string;
|
|
377
|
+
title: string;
|
|
378
|
+
type: "source";
|
|
378
379
|
mediaType: string;
|
|
379
380
|
sourceType: "document";
|
|
380
|
-
title: string;
|
|
381
381
|
})[];
|
|
382
382
|
} | {
|
|
383
383
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -440,10 +440,10 @@ export declare const addMessages: import("convex/server").RegisteredMutation<"pu
|
|
|
440
440
|
totalTokens: number;
|
|
441
441
|
} | undefined;
|
|
442
442
|
sources?: ({
|
|
443
|
+
title?: string | undefined;
|
|
443
444
|
type?: "source" | undefined;
|
|
444
445
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
445
446
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
446
|
-
title?: string | undefined;
|
|
447
447
|
id: string;
|
|
448
448
|
sourceType: "url";
|
|
449
449
|
url: string;
|
|
@@ -451,11 +451,11 @@ export declare const addMessages: import("convex/server").RegisteredMutation<"pu
|
|
|
451
451
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
452
452
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
453
453
|
filename?: string | undefined;
|
|
454
|
-
type: "source";
|
|
455
454
|
id: string;
|
|
455
|
+
title: string;
|
|
456
|
+
type: "source";
|
|
456
457
|
mediaType: string;
|
|
457
458
|
sourceType: "document";
|
|
458
|
-
title: string;
|
|
459
459
|
})[] | undefined;
|
|
460
460
|
warnings?: ({
|
|
461
461
|
details?: string | undefined;
|
|
@@ -486,20 +486,21 @@ export declare const addMessages: import("convex/server").RegisteredMutation<"pu
|
|
|
486
486
|
})[] | undefined;
|
|
487
487
|
_id: string;
|
|
488
488
|
_creationTime: number;
|
|
489
|
-
|
|
489
|
+
status: "pending" | "success" | "failed";
|
|
490
490
|
order: number;
|
|
491
|
+
threadId: string;
|
|
491
492
|
stepOrder: number;
|
|
492
|
-
status: "pending" | "success" | "failed";
|
|
493
493
|
tool: boolean;
|
|
494
494
|
}[];
|
|
495
495
|
}>>;
|
|
496
496
|
export declare function getMaxMessage(ctx: QueryCtx, threadId: Id<"threads">, order?: number): Promise<{
|
|
497
497
|
_id: import("convex/values").GenericId<"messages">;
|
|
498
498
|
_creationTime: number;
|
|
499
|
-
userId?: string | undefined;
|
|
500
499
|
id?: string | undefined;
|
|
500
|
+
userId?: string | undefined;
|
|
501
501
|
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;
|
|
502
502
|
fileIds?: import("convex/values").GenericId<"files">[] | undefined;
|
|
503
|
+
files?: any[] | undefined;
|
|
503
504
|
error?: string | undefined;
|
|
504
505
|
agentName?: string | undefined;
|
|
505
506
|
model?: string | undefined;
|
|
@@ -602,22 +603,22 @@ export declare function getMaxMessage(ctx: QueryCtx, threadId: Id<"threads">, or
|
|
|
602
603
|
toolCallId: string;
|
|
603
604
|
toolName: string;
|
|
604
605
|
} | {
|
|
606
|
+
title?: string | undefined;
|
|
605
607
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
606
608
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
607
|
-
title?: string | undefined;
|
|
608
|
-
type: "source";
|
|
609
609
|
id: string;
|
|
610
|
+
type: "source";
|
|
610
611
|
sourceType: "url";
|
|
611
612
|
url: string;
|
|
612
613
|
} | {
|
|
613
614
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
614
615
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
615
616
|
filename?: string | undefined;
|
|
616
|
-
type: "source";
|
|
617
617
|
id: string;
|
|
618
|
+
title: string;
|
|
619
|
+
type: "source";
|
|
618
620
|
mediaType: string;
|
|
619
621
|
sourceType: "document";
|
|
620
|
-
title: string;
|
|
621
622
|
})[];
|
|
622
623
|
} | {
|
|
623
624
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -680,10 +681,10 @@ export declare function getMaxMessage(ctx: QueryCtx, threadId: Id<"threads">, or
|
|
|
680
681
|
totalTokens: number;
|
|
681
682
|
} | undefined;
|
|
682
683
|
sources?: ({
|
|
684
|
+
title?: string | undefined;
|
|
683
685
|
type?: "source" | undefined;
|
|
684
686
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
685
687
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
686
|
-
title?: string | undefined;
|
|
687
688
|
id: string;
|
|
688
689
|
sourceType: "url";
|
|
689
690
|
url: string;
|
|
@@ -691,11 +692,11 @@ export declare function getMaxMessage(ctx: QueryCtx, threadId: Id<"threads">, or
|
|
|
691
692
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
692
693
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
693
694
|
filename?: string | undefined;
|
|
694
|
-
type: "source";
|
|
695
695
|
id: string;
|
|
696
|
+
title: string;
|
|
697
|
+
type: "source";
|
|
696
698
|
mediaType: string;
|
|
697
699
|
sourceType: "document";
|
|
698
|
-
title: string;
|
|
699
700
|
})[] | undefined;
|
|
700
701
|
warnings?: ({
|
|
701
702
|
details?: string | undefined;
|
|
@@ -724,29 +725,29 @@ export declare function getMaxMessage(ctx: QueryCtx, threadId: Id<"threads">, or
|
|
|
724
725
|
type: "redacted";
|
|
725
726
|
data: string;
|
|
726
727
|
})[] | undefined;
|
|
727
|
-
files?: any[] | undefined;
|
|
728
728
|
parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
|
|
729
729
|
stepId?: string | undefined;
|
|
730
|
-
|
|
730
|
+
status: "pending" | "success" | "failed";
|
|
731
731
|
order: number;
|
|
732
|
+
threadId: import("convex/values").GenericId<"threads">;
|
|
732
733
|
stepOrder: number;
|
|
733
|
-
status: "pending" | "success" | "failed";
|
|
734
734
|
tool: boolean;
|
|
735
735
|
} | null>;
|
|
736
736
|
export declare const finalizeMessage: import("convex/server").RegisteredMutation<"public", {
|
|
737
737
|
result: {
|
|
738
738
|
status: "success";
|
|
739
739
|
} | {
|
|
740
|
-
error: string;
|
|
741
740
|
status: "failed";
|
|
741
|
+
error: string;
|
|
742
742
|
};
|
|
743
743
|
messageId: import("convex/values").GenericId<"messages">;
|
|
744
744
|
}, Promise<void>>;
|
|
745
745
|
export declare const updateMessage: import("convex/server").RegisteredMutation<"public", {
|
|
746
|
+
messageId: import("convex/values").GenericId<"messages">;
|
|
746
747
|
patch: {
|
|
748
|
+
status?: "pending" | "success" | "failed" | undefined;
|
|
747
749
|
fileIds?: import("convex/values").GenericId<"files">[] | undefined;
|
|
748
750
|
error?: string | undefined;
|
|
749
|
-
status?: "pending" | "success" | "failed" | undefined;
|
|
750
751
|
model?: string | undefined;
|
|
751
752
|
provider?: string | undefined;
|
|
752
753
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -847,22 +848,22 @@ export declare const updateMessage: import("convex/server").RegisteredMutation<"
|
|
|
847
848
|
toolCallId: string;
|
|
848
849
|
toolName: string;
|
|
849
850
|
} | {
|
|
851
|
+
title?: string | undefined;
|
|
850
852
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
851
853
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
852
|
-
title?: string | undefined;
|
|
853
|
-
type: "source";
|
|
854
854
|
id: string;
|
|
855
|
+
type: "source";
|
|
855
856
|
sourceType: "url";
|
|
856
857
|
url: string;
|
|
857
858
|
} | {
|
|
858
859
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
859
860
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
860
861
|
filename?: string | undefined;
|
|
861
|
-
type: "source";
|
|
862
862
|
id: string;
|
|
863
|
+
title: string;
|
|
864
|
+
type: "source";
|
|
863
865
|
mediaType: string;
|
|
864
866
|
sourceType: "document";
|
|
865
|
-
title: string;
|
|
866
867
|
})[];
|
|
867
868
|
} | {
|
|
868
869
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -916,10 +917,9 @@ export declare const updateMessage: import("convex/server").RegisteredMutation<"
|
|
|
916
917
|
} | undefined;
|
|
917
918
|
finishReason?: "length" | "error" | "other" | "stop" | "content-filter" | "tool-calls" | "unknown" | undefined;
|
|
918
919
|
};
|
|
919
|
-
messageId: import("convex/values").GenericId<"messages">;
|
|
920
920
|
}, Promise<{
|
|
921
|
-
userId?: string | undefined;
|
|
922
921
|
id?: string | undefined;
|
|
922
|
+
userId?: string | undefined;
|
|
923
923
|
embeddingId?: string | undefined;
|
|
924
924
|
fileIds?: string[] | undefined;
|
|
925
925
|
error?: string | undefined;
|
|
@@ -1024,22 +1024,22 @@ export declare const updateMessage: import("convex/server").RegisteredMutation<"
|
|
|
1024
1024
|
toolCallId: string;
|
|
1025
1025
|
toolName: string;
|
|
1026
1026
|
} | {
|
|
1027
|
+
title?: string | undefined;
|
|
1027
1028
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1028
1029
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1029
|
-
title?: string | undefined;
|
|
1030
|
-
type: "source";
|
|
1031
1030
|
id: string;
|
|
1031
|
+
type: "source";
|
|
1032
1032
|
sourceType: "url";
|
|
1033
1033
|
url: string;
|
|
1034
1034
|
} | {
|
|
1035
1035
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1036
1036
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1037
1037
|
filename?: string | undefined;
|
|
1038
|
-
type: "source";
|
|
1039
1038
|
id: string;
|
|
1039
|
+
title: string;
|
|
1040
|
+
type: "source";
|
|
1040
1041
|
mediaType: string;
|
|
1041
1042
|
sourceType: "document";
|
|
1042
|
-
title: string;
|
|
1043
1043
|
})[];
|
|
1044
1044
|
} | {
|
|
1045
1045
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -1102,10 +1102,10 @@ export declare const updateMessage: import("convex/server").RegisteredMutation<"
|
|
|
1102
1102
|
totalTokens: number;
|
|
1103
1103
|
} | undefined;
|
|
1104
1104
|
sources?: ({
|
|
1105
|
+
title?: string | undefined;
|
|
1105
1106
|
type?: "source" | undefined;
|
|
1106
1107
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1107
1108
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1108
|
-
title?: string | undefined;
|
|
1109
1109
|
id: string;
|
|
1110
1110
|
sourceType: "url";
|
|
1111
1111
|
url: string;
|
|
@@ -1113,11 +1113,11 @@ export declare const updateMessage: import("convex/server").RegisteredMutation<"
|
|
|
1113
1113
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1114
1114
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1115
1115
|
filename?: string | undefined;
|
|
1116
|
-
type: "source";
|
|
1117
1116
|
id: string;
|
|
1117
|
+
title: string;
|
|
1118
|
+
type: "source";
|
|
1118
1119
|
mediaType: string;
|
|
1119
1120
|
sourceType: "document";
|
|
1120
|
-
title: string;
|
|
1121
1121
|
})[] | undefined;
|
|
1122
1122
|
warnings?: ({
|
|
1123
1123
|
details?: string | undefined;
|
|
@@ -1148,15 +1148,14 @@ export declare const updateMessage: import("convex/server").RegisteredMutation<"
|
|
|
1148
1148
|
})[] | undefined;
|
|
1149
1149
|
_id: string;
|
|
1150
1150
|
_creationTime: number;
|
|
1151
|
-
|
|
1151
|
+
status: "pending" | "success" | "failed";
|
|
1152
1152
|
order: number;
|
|
1153
|
+
threadId: string;
|
|
1153
1154
|
stepOrder: number;
|
|
1154
|
-
status: "pending" | "success" | "failed";
|
|
1155
1155
|
tool: boolean;
|
|
1156
1156
|
}>>;
|
|
1157
1157
|
export declare const listMessagesByThreadId: import("convex/server").RegisteredQuery<"public", {
|
|
1158
1158
|
excludeToolMessages?: boolean | undefined;
|
|
1159
|
-
statuses?: ("pending" | "success" | "failed")[] | undefined;
|
|
1160
1159
|
paginationOpts?: {
|
|
1161
1160
|
id?: number | undefined;
|
|
1162
1161
|
endCursor?: string | null | undefined;
|
|
@@ -1165,13 +1164,14 @@ export declare const listMessagesByThreadId: import("convex/server").RegisteredQ
|
|
|
1165
1164
|
numItems: number;
|
|
1166
1165
|
cursor: string | null;
|
|
1167
1166
|
} | undefined;
|
|
1167
|
+
statuses?: ("pending" | "success" | "failed")[] | undefined;
|
|
1168
1168
|
upToAndIncludingMessageId?: import("convex/values").GenericId<"messages"> | undefined;
|
|
1169
|
-
threadId: import("convex/values").GenericId<"threads">;
|
|
1170
1169
|
order: "asc" | "desc";
|
|
1170
|
+
threadId: import("convex/values").GenericId<"threads">;
|
|
1171
1171
|
}, Promise<{
|
|
1172
1172
|
page: {
|
|
1173
|
-
userId?: string | undefined;
|
|
1174
1173
|
id?: string | undefined;
|
|
1174
|
+
userId?: string | undefined;
|
|
1175
1175
|
embeddingId?: string | undefined;
|
|
1176
1176
|
fileIds?: string[] | undefined;
|
|
1177
1177
|
error?: string | undefined;
|
|
@@ -1276,22 +1276,22 @@ export declare const listMessagesByThreadId: import("convex/server").RegisteredQ
|
|
|
1276
1276
|
toolCallId: string;
|
|
1277
1277
|
toolName: string;
|
|
1278
1278
|
} | {
|
|
1279
|
+
title?: string | undefined;
|
|
1279
1280
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1280
1281
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1281
|
-
title?: string | undefined;
|
|
1282
|
-
type: "source";
|
|
1283
1282
|
id: string;
|
|
1283
|
+
type: "source";
|
|
1284
1284
|
sourceType: "url";
|
|
1285
1285
|
url: string;
|
|
1286
1286
|
} | {
|
|
1287
1287
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1288
1288
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1289
1289
|
filename?: string | undefined;
|
|
1290
|
-
type: "source";
|
|
1291
1290
|
id: string;
|
|
1291
|
+
title: string;
|
|
1292
|
+
type: "source";
|
|
1292
1293
|
mediaType: string;
|
|
1293
1294
|
sourceType: "document";
|
|
1294
|
-
title: string;
|
|
1295
1295
|
})[];
|
|
1296
1296
|
} | {
|
|
1297
1297
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -1354,10 +1354,10 @@ export declare const listMessagesByThreadId: import("convex/server").RegisteredQ
|
|
|
1354
1354
|
totalTokens: number;
|
|
1355
1355
|
} | undefined;
|
|
1356
1356
|
sources?: ({
|
|
1357
|
+
title?: string | undefined;
|
|
1357
1358
|
type?: "source" | undefined;
|
|
1358
1359
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1359
1360
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1360
|
-
title?: string | undefined;
|
|
1361
1361
|
id: string;
|
|
1362
1362
|
sourceType: "url";
|
|
1363
1363
|
url: string;
|
|
@@ -1365,11 +1365,11 @@ export declare const listMessagesByThreadId: import("convex/server").RegisteredQ
|
|
|
1365
1365
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1366
1366
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1367
1367
|
filename?: string | undefined;
|
|
1368
|
-
type: "source";
|
|
1369
1368
|
id: string;
|
|
1369
|
+
title: string;
|
|
1370
|
+
type: "source";
|
|
1370
1371
|
mediaType: string;
|
|
1371
1372
|
sourceType: "document";
|
|
1372
|
-
title: string;
|
|
1373
1373
|
})[] | undefined;
|
|
1374
1374
|
warnings?: ({
|
|
1375
1375
|
details?: string | undefined;
|
|
@@ -1400,10 +1400,10 @@ export declare const listMessagesByThreadId: import("convex/server").RegisteredQ
|
|
|
1400
1400
|
})[] | undefined;
|
|
1401
1401
|
_id: string;
|
|
1402
1402
|
_creationTime: number;
|
|
1403
|
-
|
|
1403
|
+
status: "pending" | "success" | "failed";
|
|
1404
1404
|
order: number;
|
|
1405
|
+
threadId: string;
|
|
1405
1406
|
stepOrder: number;
|
|
1406
|
-
status: "pending" | "success" | "failed";
|
|
1407
1407
|
tool: boolean;
|
|
1408
1408
|
}[];
|
|
1409
1409
|
isDone: boolean;
|
|
@@ -1414,8 +1414,8 @@ export declare const listMessagesByThreadId: import("convex/server").RegisteredQ
|
|
|
1414
1414
|
export declare const getMessagesByIds: import("convex/server").RegisteredQuery<"public", {
|
|
1415
1415
|
messageIds: import("convex/values").GenericId<"messages">[];
|
|
1416
1416
|
}, Promise<({
|
|
1417
|
-
userId?: string | undefined;
|
|
1418
1417
|
id?: string | undefined;
|
|
1418
|
+
userId?: string | undefined;
|
|
1419
1419
|
embeddingId?: string | undefined;
|
|
1420
1420
|
fileIds?: string[] | undefined;
|
|
1421
1421
|
error?: string | undefined;
|
|
@@ -1520,22 +1520,22 @@ export declare const getMessagesByIds: import("convex/server").RegisteredQuery<"
|
|
|
1520
1520
|
toolCallId: string;
|
|
1521
1521
|
toolName: string;
|
|
1522
1522
|
} | {
|
|
1523
|
+
title?: string | undefined;
|
|
1523
1524
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1524
1525
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1525
|
-
title?: string | undefined;
|
|
1526
|
-
type: "source";
|
|
1527
1526
|
id: string;
|
|
1527
|
+
type: "source";
|
|
1528
1528
|
sourceType: "url";
|
|
1529
1529
|
url: string;
|
|
1530
1530
|
} | {
|
|
1531
1531
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1532
1532
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1533
1533
|
filename?: string | undefined;
|
|
1534
|
-
type: "source";
|
|
1535
1534
|
id: string;
|
|
1535
|
+
title: string;
|
|
1536
|
+
type: "source";
|
|
1536
1537
|
mediaType: string;
|
|
1537
1538
|
sourceType: "document";
|
|
1538
|
-
title: string;
|
|
1539
1539
|
})[];
|
|
1540
1540
|
} | {
|
|
1541
1541
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -1598,10 +1598,10 @@ export declare const getMessagesByIds: import("convex/server").RegisteredQuery<"
|
|
|
1598
1598
|
totalTokens: number;
|
|
1599
1599
|
} | undefined;
|
|
1600
1600
|
sources?: ({
|
|
1601
|
+
title?: string | undefined;
|
|
1601
1602
|
type?: "source" | undefined;
|
|
1602
1603
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1603
1604
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1604
|
-
title?: string | undefined;
|
|
1605
1605
|
id: string;
|
|
1606
1606
|
sourceType: "url";
|
|
1607
1607
|
url: string;
|
|
@@ -1609,11 +1609,11 @@ export declare const getMessagesByIds: import("convex/server").RegisteredQuery<"
|
|
|
1609
1609
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1610
1610
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1611
1611
|
filename?: string | undefined;
|
|
1612
|
-
type: "source";
|
|
1613
1612
|
id: string;
|
|
1613
|
+
title: string;
|
|
1614
|
+
type: "source";
|
|
1614
1615
|
mediaType: string;
|
|
1615
1616
|
sourceType: "document";
|
|
1616
|
-
title: string;
|
|
1617
1617
|
})[] | undefined;
|
|
1618
1618
|
warnings?: ({
|
|
1619
1619
|
details?: string | undefined;
|
|
@@ -1644,10 +1644,10 @@ export declare const getMessagesByIds: import("convex/server").RegisteredQuery<"
|
|
|
1644
1644
|
})[] | undefined;
|
|
1645
1645
|
_id: string;
|
|
1646
1646
|
_creationTime: number;
|
|
1647
|
-
|
|
1647
|
+
status: "pending" | "success" | "failed";
|
|
1648
1648
|
order: number;
|
|
1649
|
+
threadId: string;
|
|
1649
1650
|
stepOrder: number;
|
|
1650
|
-
status: "pending" | "success" | "failed";
|
|
1651
1651
|
tool: boolean;
|
|
1652
1652
|
} | null)[]>>;
|
|
1653
1653
|
export declare const searchMessages: import("convex/server").RegisteredAction<"public", {
|
|
@@ -1660,14 +1660,14 @@ export declare const searchMessages: import("convex/server").RegisteredAction<"p
|
|
|
1660
1660
|
before: number;
|
|
1661
1661
|
after: number;
|
|
1662
1662
|
} | undefined;
|
|
1663
|
-
embedding?: number[] | undefined;
|
|
1664
1663
|
searchAllMessagesForUserId?: string | undefined;
|
|
1665
1664
|
targetMessageId?: import("convex/values").GenericId<"messages"> | undefined;
|
|
1665
|
+
embedding?: number[] | undefined;
|
|
1666
1666
|
embeddingModel?: string | undefined;
|
|
1667
1667
|
limit: number;
|
|
1668
1668
|
}, Promise<{
|
|
1669
|
-
userId?: string | undefined;
|
|
1670
1669
|
id?: string | undefined;
|
|
1670
|
+
userId?: string | undefined;
|
|
1671
1671
|
embeddingId?: string | undefined;
|
|
1672
1672
|
fileIds?: string[] | undefined;
|
|
1673
1673
|
error?: string | undefined;
|
|
@@ -1772,22 +1772,22 @@ export declare const searchMessages: import("convex/server").RegisteredAction<"p
|
|
|
1772
1772
|
toolCallId: string;
|
|
1773
1773
|
toolName: string;
|
|
1774
1774
|
} | {
|
|
1775
|
+
title?: string | undefined;
|
|
1775
1776
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1776
1777
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1777
|
-
title?: string | undefined;
|
|
1778
|
-
type: "source";
|
|
1779
1778
|
id: string;
|
|
1779
|
+
type: "source";
|
|
1780
1780
|
sourceType: "url";
|
|
1781
1781
|
url: string;
|
|
1782
1782
|
} | {
|
|
1783
1783
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1784
1784
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1785
1785
|
filename?: string | undefined;
|
|
1786
|
-
type: "source";
|
|
1787
1786
|
id: string;
|
|
1787
|
+
title: string;
|
|
1788
|
+
type: "source";
|
|
1788
1789
|
mediaType: string;
|
|
1789
1790
|
sourceType: "document";
|
|
1790
|
-
title: string;
|
|
1791
1791
|
})[];
|
|
1792
1792
|
} | {
|
|
1793
1793
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -1850,10 +1850,10 @@ export declare const searchMessages: import("convex/server").RegisteredAction<"p
|
|
|
1850
1850
|
totalTokens: number;
|
|
1851
1851
|
} | undefined;
|
|
1852
1852
|
sources?: ({
|
|
1853
|
+
title?: string | undefined;
|
|
1853
1854
|
type?: "source" | undefined;
|
|
1854
1855
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1855
1856
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1856
|
-
title?: string | undefined;
|
|
1857
1857
|
id: string;
|
|
1858
1858
|
sourceType: "url";
|
|
1859
1859
|
url: string;
|
|
@@ -1861,11 +1861,11 @@ export declare const searchMessages: import("convex/server").RegisteredAction<"p
|
|
|
1861
1861
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1862
1862
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1863
1863
|
filename?: string | undefined;
|
|
1864
|
-
type: "source";
|
|
1865
1864
|
id: string;
|
|
1865
|
+
title: string;
|
|
1866
|
+
type: "source";
|
|
1866
1867
|
mediaType: string;
|
|
1867
1868
|
sourceType: "document";
|
|
1868
|
-
title: string;
|
|
1869
1869
|
})[] | undefined;
|
|
1870
1870
|
warnings?: ({
|
|
1871
1871
|
details?: string | undefined;
|
|
@@ -1896,18 +1896,18 @@ export declare const searchMessages: import("convex/server").RegisteredAction<"p
|
|
|
1896
1896
|
})[] | undefined;
|
|
1897
1897
|
_id: string;
|
|
1898
1898
|
_creationTime: number;
|
|
1899
|
-
|
|
1899
|
+
status: "pending" | "success" | "failed";
|
|
1900
1900
|
order: number;
|
|
1901
|
+
threadId: string;
|
|
1901
1902
|
stepOrder: number;
|
|
1902
|
-
status: "pending" | "success" | "failed";
|
|
1903
1903
|
tool: boolean;
|
|
1904
1904
|
}[]>>;
|
|
1905
1905
|
export declare const _fetchSearchMessages: import("convex/server").RegisteredQuery<"internal", {
|
|
1906
1906
|
threadId?: import("convex/values").GenericId<"threads"> | undefined;
|
|
1907
1907
|
searchAllMessagesForUserId?: string | undefined;
|
|
1908
1908
|
textSearchMessages?: {
|
|
1909
|
-
userId?: string | undefined;
|
|
1910
1909
|
id?: string | undefined;
|
|
1910
|
+
userId?: string | undefined;
|
|
1911
1911
|
embeddingId?: string | undefined;
|
|
1912
1912
|
fileIds?: string[] | undefined;
|
|
1913
1913
|
error?: string | undefined;
|
|
@@ -2012,22 +2012,22 @@ export declare const _fetchSearchMessages: import("convex/server").RegisteredQue
|
|
|
2012
2012
|
toolCallId: string;
|
|
2013
2013
|
toolName: string;
|
|
2014
2014
|
} | {
|
|
2015
|
+
title?: string | undefined;
|
|
2015
2016
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2016
2017
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2017
|
-
title?: string | undefined;
|
|
2018
|
-
type: "source";
|
|
2019
2018
|
id: string;
|
|
2019
|
+
type: "source";
|
|
2020
2020
|
sourceType: "url";
|
|
2021
2021
|
url: string;
|
|
2022
2022
|
} | {
|
|
2023
2023
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2024
2024
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2025
2025
|
filename?: string | undefined;
|
|
2026
|
-
type: "source";
|
|
2027
2026
|
id: string;
|
|
2027
|
+
title: string;
|
|
2028
|
+
type: "source";
|
|
2028
2029
|
mediaType: string;
|
|
2029
2030
|
sourceType: "document";
|
|
2030
|
-
title: string;
|
|
2031
2031
|
})[];
|
|
2032
2032
|
} | {
|
|
2033
2033
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -2090,10 +2090,10 @@ export declare const _fetchSearchMessages: import("convex/server").RegisteredQue
|
|
|
2090
2090
|
totalTokens: number;
|
|
2091
2091
|
} | undefined;
|
|
2092
2092
|
sources?: ({
|
|
2093
|
+
title?: string | undefined;
|
|
2093
2094
|
type?: "source" | undefined;
|
|
2094
2095
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2095
2096
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2096
|
-
title?: string | undefined;
|
|
2097
2097
|
id: string;
|
|
2098
2098
|
sourceType: "url";
|
|
2099
2099
|
url: string;
|
|
@@ -2101,11 +2101,11 @@ export declare const _fetchSearchMessages: import("convex/server").RegisteredQue
|
|
|
2101
2101
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2102
2102
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2103
2103
|
filename?: string | undefined;
|
|
2104
|
-
type: "source";
|
|
2105
2104
|
id: string;
|
|
2105
|
+
title: string;
|
|
2106
|
+
type: "source";
|
|
2106
2107
|
mediaType: string;
|
|
2107
2108
|
sourceType: "document";
|
|
2108
|
-
title: string;
|
|
2109
2109
|
})[] | undefined;
|
|
2110
2110
|
warnings?: ({
|
|
2111
2111
|
details?: string | undefined;
|
|
@@ -2136,10 +2136,10 @@ export declare const _fetchSearchMessages: import("convex/server").RegisteredQue
|
|
|
2136
2136
|
})[] | undefined;
|
|
2137
2137
|
_id: string;
|
|
2138
2138
|
_creationTime: number;
|
|
2139
|
-
|
|
2139
|
+
status: "pending" | "success" | "failed";
|
|
2140
2140
|
order: number;
|
|
2141
|
+
threadId: string;
|
|
2141
2142
|
stepOrder: number;
|
|
2142
|
-
status: "pending" | "success" | "failed";
|
|
2143
2143
|
tool: boolean;
|
|
2144
2144
|
}[] | undefined;
|
|
2145
2145
|
beforeMessageId?: import("convex/values").GenericId<"messages"> | undefined;
|
|
@@ -2150,8 +2150,8 @@ export declare const _fetchSearchMessages: import("convex/server").RegisteredQue
|
|
|
2150
2150
|
};
|
|
2151
2151
|
embeddingIds: import("convex/values").GenericId<"embeddings_128" | "embeddings_256" | "embeddings_512" | "embeddings_768" | "embeddings_1024" | "embeddings_1408" | "embeddings_1536" | "embeddings_2048" | "embeddings_3072" | "embeddings_4096">[];
|
|
2152
2152
|
}, Promise<{
|
|
2153
|
-
userId?: string | undefined;
|
|
2154
2153
|
id?: string | undefined;
|
|
2154
|
+
userId?: string | undefined;
|
|
2155
2155
|
embeddingId?: string | undefined;
|
|
2156
2156
|
fileIds?: string[] | undefined;
|
|
2157
2157
|
error?: string | undefined;
|
|
@@ -2256,22 +2256,22 @@ export declare const _fetchSearchMessages: import("convex/server").RegisteredQue
|
|
|
2256
2256
|
toolCallId: string;
|
|
2257
2257
|
toolName: string;
|
|
2258
2258
|
} | {
|
|
2259
|
+
title?: string | undefined;
|
|
2259
2260
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2260
2261
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2261
|
-
title?: string | undefined;
|
|
2262
|
-
type: "source";
|
|
2263
2262
|
id: string;
|
|
2263
|
+
type: "source";
|
|
2264
2264
|
sourceType: "url";
|
|
2265
2265
|
url: string;
|
|
2266
2266
|
} | {
|
|
2267
2267
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2268
2268
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2269
2269
|
filename?: string | undefined;
|
|
2270
|
-
type: "source";
|
|
2271
2270
|
id: string;
|
|
2271
|
+
title: string;
|
|
2272
|
+
type: "source";
|
|
2272
2273
|
mediaType: string;
|
|
2273
2274
|
sourceType: "document";
|
|
2274
|
-
title: string;
|
|
2275
2275
|
})[];
|
|
2276
2276
|
} | {
|
|
2277
2277
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -2334,10 +2334,10 @@ export declare const _fetchSearchMessages: import("convex/server").RegisteredQue
|
|
|
2334
2334
|
totalTokens: number;
|
|
2335
2335
|
} | undefined;
|
|
2336
2336
|
sources?: ({
|
|
2337
|
+
title?: string | undefined;
|
|
2337
2338
|
type?: "source" | undefined;
|
|
2338
2339
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2339
2340
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2340
|
-
title?: string | undefined;
|
|
2341
2341
|
id: string;
|
|
2342
2342
|
sourceType: "url";
|
|
2343
2343
|
url: string;
|
|
@@ -2345,11 +2345,11 @@ export declare const _fetchSearchMessages: import("convex/server").RegisteredQue
|
|
|
2345
2345
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2346
2346
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2347
2347
|
filename?: string | undefined;
|
|
2348
|
-
type: "source";
|
|
2349
2348
|
id: string;
|
|
2349
|
+
title: string;
|
|
2350
|
+
type: "source";
|
|
2350
2351
|
mediaType: string;
|
|
2351
2352
|
sourceType: "document";
|
|
2352
|
-
title: string;
|
|
2353
2353
|
})[] | undefined;
|
|
2354
2354
|
warnings?: ({
|
|
2355
2355
|
details?: string | undefined;
|
|
@@ -2380,10 +2380,10 @@ export declare const _fetchSearchMessages: import("convex/server").RegisteredQue
|
|
|
2380
2380
|
})[] | undefined;
|
|
2381
2381
|
_id: string;
|
|
2382
2382
|
_creationTime: number;
|
|
2383
|
-
|
|
2383
|
+
status: "pending" | "success" | "failed";
|
|
2384
2384
|
order: number;
|
|
2385
|
+
threadId: string;
|
|
2385
2386
|
stepOrder: number;
|
|
2386
|
-
status: "pending" | "success" | "failed";
|
|
2387
2387
|
tool: boolean;
|
|
2388
2388
|
}[]>>;
|
|
2389
2389
|
export declare const textSearch: import("convex/server").RegisteredQuery<"public", {
|
|
@@ -2393,8 +2393,8 @@ export declare const textSearch: import("convex/server").RegisteredQuery<"public
|
|
|
2393
2393
|
targetMessageId?: import("convex/values").GenericId<"messages"> | undefined;
|
|
2394
2394
|
limit: number;
|
|
2395
2395
|
}, Promise<{
|
|
2396
|
-
userId?: string | undefined;
|
|
2397
2396
|
id?: string | undefined;
|
|
2397
|
+
userId?: string | undefined;
|
|
2398
2398
|
embeddingId?: string | undefined;
|
|
2399
2399
|
fileIds?: string[] | undefined;
|
|
2400
2400
|
error?: string | undefined;
|
|
@@ -2499,22 +2499,22 @@ export declare const textSearch: import("convex/server").RegisteredQuery<"public
|
|
|
2499
2499
|
toolCallId: string;
|
|
2500
2500
|
toolName: string;
|
|
2501
2501
|
} | {
|
|
2502
|
+
title?: string | undefined;
|
|
2502
2503
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2503
2504
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2504
|
-
title?: string | undefined;
|
|
2505
|
-
type: "source";
|
|
2506
2505
|
id: string;
|
|
2506
|
+
type: "source";
|
|
2507
2507
|
sourceType: "url";
|
|
2508
2508
|
url: string;
|
|
2509
2509
|
} | {
|
|
2510
2510
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2511
2511
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2512
2512
|
filename?: string | undefined;
|
|
2513
|
-
type: "source";
|
|
2514
2513
|
id: string;
|
|
2514
|
+
title: string;
|
|
2515
|
+
type: "source";
|
|
2515
2516
|
mediaType: string;
|
|
2516
2517
|
sourceType: "document";
|
|
2517
|
-
title: string;
|
|
2518
2518
|
})[];
|
|
2519
2519
|
} | {
|
|
2520
2520
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -2577,10 +2577,10 @@ export declare const textSearch: import("convex/server").RegisteredQuery<"public
|
|
|
2577
2577
|
totalTokens: number;
|
|
2578
2578
|
} | undefined;
|
|
2579
2579
|
sources?: ({
|
|
2580
|
+
title?: string | undefined;
|
|
2580
2581
|
type?: "source" | undefined;
|
|
2581
2582
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2582
2583
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2583
|
-
title?: string | undefined;
|
|
2584
2584
|
id: string;
|
|
2585
2585
|
sourceType: "url";
|
|
2586
2586
|
url: string;
|
|
@@ -2588,11 +2588,11 @@ export declare const textSearch: import("convex/server").RegisteredQuery<"public
|
|
|
2588
2588
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2589
2589
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2590
2590
|
filename?: string | undefined;
|
|
2591
|
-
type: "source";
|
|
2592
2591
|
id: string;
|
|
2592
|
+
title: string;
|
|
2593
|
+
type: "source";
|
|
2593
2594
|
mediaType: string;
|
|
2594
2595
|
sourceType: "document";
|
|
2595
|
-
title: string;
|
|
2596
2596
|
})[] | undefined;
|
|
2597
2597
|
warnings?: ({
|
|
2598
2598
|
details?: string | undefined;
|
|
@@ -2623,10 +2623,10 @@ export declare const textSearch: import("convex/server").RegisteredQuery<"public
|
|
|
2623
2623
|
})[] | undefined;
|
|
2624
2624
|
_id: string;
|
|
2625
2625
|
_creationTime: number;
|
|
2626
|
-
|
|
2626
|
+
status: "pending" | "success" | "failed";
|
|
2627
2627
|
order: number;
|
|
2628
|
+
threadId: string;
|
|
2628
2629
|
stepOrder: number;
|
|
2629
|
-
status: "pending" | "success" | "failed";
|
|
2630
2630
|
tool: boolean;
|
|
2631
2631
|
}[]>>;
|
|
2632
2632
|
export declare const getMessageSearchFields: import("convex/server").RegisteredQuery<"public", {
|