@convex-dev/agent 0.2.2-alpha.4 → 0.2.3-alpha.0
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 +85 -8
- package/dist/client/definePlaygroundAPI.d.ts.map +1 -1
- package/dist/client/index.d.ts +84 -6
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +3 -1
- package/dist/client/index.js.map +1 -1
- package/dist/client/messages.d.ts +18 -3
- package/dist/client/messages.d.ts.map +1 -1
- package/dist/client/messages.js +7 -4
- package/dist/client/messages.js.map +1 -1
- package/dist/client/search.d.ts +17 -2
- package/dist/client/search.d.ts.map +1 -1
- package/dist/client/streaming.d.ts +195 -21
- package/dist/client/streaming.d.ts.map +1 -1
- package/dist/component/_generated/api.d.ts +112 -15
- package/dist/component/messages.d.ts +187 -21
- package/dist/component/messages.d.ts.map +1 -1
- package/dist/component/schema.d.ts +517 -55
- package/dist/component/schema.d.ts.map +1 -1
- package/dist/mapping.d.ts.map +1 -1
- package/dist/mapping.js +3 -4
- package/dist/mapping.js.map +1 -1
- package/dist/react/deltas.d.ts.map +1 -1
- package/dist/react/deltas.js +25 -4
- package/dist/react/deltas.js.map +1 -1
- package/dist/validators.d.ts +1257 -177
- package/dist/validators.d.ts.map +1 -1
- package/dist/validators.js +2 -3
- package/dist/validators.js.map +1 -1
- package/package.json +1 -1
- package/src/client/index.ts +20 -1
- package/src/client/messages.ts +12 -4
- package/src/component/_generated/api.d.ts +112 -15
- package/src/mapping.ts +8 -7
- package/src/react/deltas.ts +33 -8
- package/src/react/toUIMessages.test.ts +48 -4
- package/src/validators.ts +15 -15
package/dist/validators.d.ts
CHANGED
|
@@ -121,7 +121,6 @@ export declare const vUserContent: import("convex/values").VUnion<string | ({
|
|
|
121
121
|
export declare const vReasoningPart: import("convex/values").VObject<{
|
|
122
122
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
123
123
|
signature?: string | undefined;
|
|
124
|
-
state?: "streaming" | "done" | undefined;
|
|
125
124
|
type: "reasoning";
|
|
126
125
|
text: string;
|
|
127
126
|
}, {
|
|
@@ -129,8 +128,7 @@ export declare const vReasoningPart: import("convex/values").VObject<{
|
|
|
129
128
|
text: import("convex/values").VString<string, "required">;
|
|
130
129
|
signature: import("convex/values").VString<string | undefined, "optional">;
|
|
131
130
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
132
|
-
|
|
133
|
-
}, "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "signature" | "state">;
|
|
131
|
+
}, "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "signature">;
|
|
134
132
|
export declare const vRedactedReasoningPart: import("convex/values").VObject<{
|
|
135
133
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
136
134
|
type: "redacted-reasoning";
|
|
@@ -143,7 +141,6 @@ export declare const vRedactedReasoningPart: import("convex/values").VObject<{
|
|
|
143
141
|
export declare const vReasoningDetails: import("convex/values").VArray<({
|
|
144
142
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
145
143
|
signature?: string | undefined;
|
|
146
|
-
state?: "streaming" | "done" | undefined;
|
|
147
144
|
type: "reasoning";
|
|
148
145
|
text: string;
|
|
149
146
|
} | {
|
|
@@ -156,7 +153,6 @@ export declare const vReasoningDetails: import("convex/values").VArray<({
|
|
|
156
153
|
})[], import("convex/values").VUnion<{
|
|
157
154
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
158
155
|
signature?: string | undefined;
|
|
159
|
-
state?: "streaming" | "done" | undefined;
|
|
160
156
|
type: "reasoning";
|
|
161
157
|
text: string;
|
|
162
158
|
} | {
|
|
@@ -169,7 +165,6 @@ export declare const vReasoningDetails: import("convex/values").VArray<({
|
|
|
169
165
|
}, [import("convex/values").VObject<{
|
|
170
166
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
171
167
|
signature?: string | undefined;
|
|
172
|
-
state?: "streaming" | "done" | undefined;
|
|
173
168
|
type: "reasoning";
|
|
174
169
|
text: string;
|
|
175
170
|
}, {
|
|
@@ -177,8 +172,7 @@ export declare const vReasoningDetails: import("convex/values").VArray<({
|
|
|
177
172
|
text: import("convex/values").VString<string, "required">;
|
|
178
173
|
signature: import("convex/values").VString<string | undefined, "optional">;
|
|
179
174
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
180
|
-
|
|
181
|
-
}, "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "signature" | "state">, import("convex/values").VObject<{
|
|
175
|
+
}, "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "signature">, import("convex/values").VObject<{
|
|
182
176
|
signature?: string | undefined;
|
|
183
177
|
type: "text";
|
|
184
178
|
text: string;
|
|
@@ -192,7 +186,7 @@ export declare const vReasoningDetails: import("convex/values").VArray<({
|
|
|
192
186
|
}, {
|
|
193
187
|
type: import("convex/values").VLiteral<"redacted", "required">;
|
|
194
188
|
data: import("convex/values").VString<string, "required">;
|
|
195
|
-
}, "required", "type" | "data">], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "data" | "signature"
|
|
189
|
+
}, "required", "type" | "data">], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "data" | "signature">, "required">;
|
|
196
190
|
export declare const vToolCallPart: import("convex/values").VObject<{
|
|
197
191
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
198
192
|
providerExecuted?: boolean | undefined;
|
|
@@ -205,9 +199,138 @@ export declare const vToolCallPart: import("convex/values").VObject<{
|
|
|
205
199
|
toolCallId: import("convex/values").VString<string, "required">;
|
|
206
200
|
toolName: import("convex/values").VString<string, "required">;
|
|
207
201
|
args: import("convex/values").VAny<any, "required", string>;
|
|
208
|
-
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
209
202
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
203
|
+
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
210
204
|
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}`>;
|
|
205
|
+
export declare const vToolResultPart: import("convex/values").VObject<{
|
|
206
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
207
|
+
args?: any;
|
|
208
|
+
providerExecuted?: boolean | undefined;
|
|
209
|
+
isError?: boolean | undefined;
|
|
210
|
+
experimental_content?: ({
|
|
211
|
+
type: "text";
|
|
212
|
+
text: string;
|
|
213
|
+
} | {
|
|
214
|
+
mimeType?: string | undefined;
|
|
215
|
+
type: "image";
|
|
216
|
+
data: string;
|
|
217
|
+
})[] | undefined;
|
|
218
|
+
type: "tool-result";
|
|
219
|
+
toolCallId: string;
|
|
220
|
+
toolName: string;
|
|
221
|
+
result: any;
|
|
222
|
+
}, {
|
|
223
|
+
type: import("convex/values").VLiteral<"tool-result", "required">;
|
|
224
|
+
toolCallId: import("convex/values").VString<string, "required">;
|
|
225
|
+
toolName: import("convex/values").VString<string, "required">;
|
|
226
|
+
result: import("convex/values").VAny<any, "required", string>;
|
|
227
|
+
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
228
|
+
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
229
|
+
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
230
|
+
args: import("convex/values").VAny<any, "optional", string>;
|
|
231
|
+
experimental_content: import("convex/values").VArray<({
|
|
232
|
+
type: "text";
|
|
233
|
+
text: string;
|
|
234
|
+
} | {
|
|
235
|
+
mimeType?: string | undefined;
|
|
236
|
+
type: "image";
|
|
237
|
+
data: string;
|
|
238
|
+
})[] | undefined, import("convex/values").VUnion<{
|
|
239
|
+
type: "text";
|
|
240
|
+
text: string;
|
|
241
|
+
} | {
|
|
242
|
+
mimeType?: string | undefined;
|
|
243
|
+
type: "image";
|
|
244
|
+
data: string;
|
|
245
|
+
}, [import("convex/values").VObject<{
|
|
246
|
+
type: "text";
|
|
247
|
+
text: string;
|
|
248
|
+
}, {
|
|
249
|
+
type: import("convex/values").VLiteral<"text", "required">;
|
|
250
|
+
text: import("convex/values").VString<string, "required">;
|
|
251
|
+
}, "required", "type" | "text">, import("convex/values").VObject<{
|
|
252
|
+
mimeType?: string | undefined;
|
|
253
|
+
type: "image";
|
|
254
|
+
data: string;
|
|
255
|
+
}, {
|
|
256
|
+
type: import("convex/values").VLiteral<"image", "required">;
|
|
257
|
+
data: import("convex/values").VString<string, "required">;
|
|
258
|
+
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
259
|
+
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
260
|
+
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>;
|
|
261
|
+
export declare const vToolContent: import("convex/values").VArray<{
|
|
262
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
263
|
+
args?: any;
|
|
264
|
+
providerExecuted?: boolean | undefined;
|
|
265
|
+
isError?: boolean | undefined;
|
|
266
|
+
experimental_content?: ({
|
|
267
|
+
type: "text";
|
|
268
|
+
text: string;
|
|
269
|
+
} | {
|
|
270
|
+
mimeType?: string | undefined;
|
|
271
|
+
type: "image";
|
|
272
|
+
data: string;
|
|
273
|
+
})[] | undefined;
|
|
274
|
+
type: "tool-result";
|
|
275
|
+
toolCallId: string;
|
|
276
|
+
toolName: string;
|
|
277
|
+
result: any;
|
|
278
|
+
}[], import("convex/values").VObject<{
|
|
279
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
280
|
+
args?: any;
|
|
281
|
+
providerExecuted?: boolean | undefined;
|
|
282
|
+
isError?: boolean | undefined;
|
|
283
|
+
experimental_content?: ({
|
|
284
|
+
type: "text";
|
|
285
|
+
text: string;
|
|
286
|
+
} | {
|
|
287
|
+
mimeType?: string | undefined;
|
|
288
|
+
type: "image";
|
|
289
|
+
data: string;
|
|
290
|
+
})[] | undefined;
|
|
291
|
+
type: "tool-result";
|
|
292
|
+
toolCallId: string;
|
|
293
|
+
toolName: string;
|
|
294
|
+
result: any;
|
|
295
|
+
}, {
|
|
296
|
+
type: import("convex/values").VLiteral<"tool-result", "required">;
|
|
297
|
+
toolCallId: import("convex/values").VString<string, "required">;
|
|
298
|
+
toolName: import("convex/values").VString<string, "required">;
|
|
299
|
+
result: import("convex/values").VAny<any, "required", string>;
|
|
300
|
+
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
301
|
+
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
302
|
+
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
303
|
+
args: import("convex/values").VAny<any, "optional", string>;
|
|
304
|
+
experimental_content: import("convex/values").VArray<({
|
|
305
|
+
type: "text";
|
|
306
|
+
text: string;
|
|
307
|
+
} | {
|
|
308
|
+
mimeType?: string | undefined;
|
|
309
|
+
type: "image";
|
|
310
|
+
data: string;
|
|
311
|
+
})[] | undefined, import("convex/values").VUnion<{
|
|
312
|
+
type: "text";
|
|
313
|
+
text: string;
|
|
314
|
+
} | {
|
|
315
|
+
mimeType?: string | undefined;
|
|
316
|
+
type: "image";
|
|
317
|
+
data: string;
|
|
318
|
+
}, [import("convex/values").VObject<{
|
|
319
|
+
type: "text";
|
|
320
|
+
text: string;
|
|
321
|
+
}, {
|
|
322
|
+
type: import("convex/values").VLiteral<"text", "required">;
|
|
323
|
+
text: import("convex/values").VString<string, "required">;
|
|
324
|
+
}, "required", "type" | "text">, import("convex/values").VObject<{
|
|
325
|
+
mimeType?: string | undefined;
|
|
326
|
+
type: "image";
|
|
327
|
+
data: string;
|
|
328
|
+
}, {
|
|
329
|
+
type: import("convex/values").VLiteral<"image", "required">;
|
|
330
|
+
data: import("convex/values").VString<string, "required">;
|
|
331
|
+
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
332
|
+
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
333
|
+
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">;
|
|
211
334
|
export declare const vAssistantContent: import("convex/values").VUnion<string | ({
|
|
212
335
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
213
336
|
type: "text";
|
|
@@ -221,7 +344,6 @@ export declare const vAssistantContent: import("convex/values").VUnion<string |
|
|
|
221
344
|
} | {
|
|
222
345
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
223
346
|
signature?: string | undefined;
|
|
224
|
-
state?: "streaming" | "done" | undefined;
|
|
225
347
|
type: "reasoning";
|
|
226
348
|
text: string;
|
|
227
349
|
} | {
|
|
@@ -235,6 +357,23 @@ export declare const vAssistantContent: import("convex/values").VUnion<string |
|
|
|
235
357
|
toolCallId: string;
|
|
236
358
|
toolName: string;
|
|
237
359
|
args: any;
|
|
360
|
+
} | {
|
|
361
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
362
|
+
args?: any;
|
|
363
|
+
providerExecuted?: boolean | undefined;
|
|
364
|
+
isError?: boolean | undefined;
|
|
365
|
+
experimental_content?: ({
|
|
366
|
+
type: "text";
|
|
367
|
+
text: string;
|
|
368
|
+
} | {
|
|
369
|
+
mimeType?: string | undefined;
|
|
370
|
+
type: "image";
|
|
371
|
+
data: string;
|
|
372
|
+
})[] | undefined;
|
|
373
|
+
type: "tool-result";
|
|
374
|
+
toolCallId: string;
|
|
375
|
+
toolName: string;
|
|
376
|
+
result: any;
|
|
238
377
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
239
378
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
240
379
|
type: "text";
|
|
@@ -248,7 +387,6 @@ export declare const vAssistantContent: import("convex/values").VUnion<string |
|
|
|
248
387
|
} | {
|
|
249
388
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
250
389
|
signature?: string | undefined;
|
|
251
|
-
state?: "streaming" | "done" | undefined;
|
|
252
390
|
type: "reasoning";
|
|
253
391
|
text: string;
|
|
254
392
|
} | {
|
|
@@ -262,6 +400,23 @@ export declare const vAssistantContent: import("convex/values").VUnion<string |
|
|
|
262
400
|
toolCallId: string;
|
|
263
401
|
toolName: string;
|
|
264
402
|
args: any;
|
|
403
|
+
} | {
|
|
404
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
405
|
+
args?: any;
|
|
406
|
+
providerExecuted?: boolean | undefined;
|
|
407
|
+
isError?: boolean | undefined;
|
|
408
|
+
experimental_content?: ({
|
|
409
|
+
type: "text";
|
|
410
|
+
text: string;
|
|
411
|
+
} | {
|
|
412
|
+
mimeType?: string | undefined;
|
|
413
|
+
type: "image";
|
|
414
|
+
data: string;
|
|
415
|
+
})[] | undefined;
|
|
416
|
+
type: "tool-result";
|
|
417
|
+
toolCallId: string;
|
|
418
|
+
toolName: string;
|
|
419
|
+
result: any;
|
|
265
420
|
})[], import("convex/values").VUnion<{
|
|
266
421
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
267
422
|
type: "text";
|
|
@@ -275,7 +430,6 @@ export declare const vAssistantContent: import("convex/values").VUnion<string |
|
|
|
275
430
|
} | {
|
|
276
431
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
277
432
|
signature?: string | undefined;
|
|
278
|
-
state?: "streaming" | "done" | undefined;
|
|
279
433
|
type: "reasoning";
|
|
280
434
|
text: string;
|
|
281
435
|
} | {
|
|
@@ -289,6 +443,23 @@ export declare const vAssistantContent: import("convex/values").VUnion<string |
|
|
|
289
443
|
toolCallId: string;
|
|
290
444
|
toolName: string;
|
|
291
445
|
args: any;
|
|
446
|
+
} | {
|
|
447
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
448
|
+
args?: any;
|
|
449
|
+
providerExecuted?: boolean | undefined;
|
|
450
|
+
isError?: boolean | undefined;
|
|
451
|
+
experimental_content?: ({
|
|
452
|
+
type: "text";
|
|
453
|
+
text: string;
|
|
454
|
+
} | {
|
|
455
|
+
mimeType?: string | undefined;
|
|
456
|
+
type: "image";
|
|
457
|
+
data: string;
|
|
458
|
+
})[] | undefined;
|
|
459
|
+
type: "tool-result";
|
|
460
|
+
toolCallId: string;
|
|
461
|
+
toolName: string;
|
|
462
|
+
result: any;
|
|
292
463
|
}, [import("convex/values").VObject<{
|
|
293
464
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
294
465
|
type: "text";
|
|
@@ -312,7 +483,6 @@ export declare const vAssistantContent: import("convex/values").VUnion<string |
|
|
|
312
483
|
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mimeType" | "data" | "filename">, import("convex/values").VObject<{
|
|
313
484
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
314
485
|
signature?: string | undefined;
|
|
315
|
-
state?: "streaming" | "done" | undefined;
|
|
316
486
|
type: "reasoning";
|
|
317
487
|
text: string;
|
|
318
488
|
}, {
|
|
@@ -320,8 +490,7 @@ export declare const vAssistantContent: import("convex/values").VUnion<string |
|
|
|
320
490
|
text: import("convex/values").VString<string, "required">;
|
|
321
491
|
signature: import("convex/values").VString<string | undefined, "optional">;
|
|
322
492
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
323
|
-
|
|
324
|
-
}, "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "signature" | "state">, import("convex/values").VObject<{
|
|
493
|
+
}, "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "signature">, import("convex/values").VObject<{
|
|
325
494
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
326
495
|
type: "redacted-reasoning";
|
|
327
496
|
data: string;
|
|
@@ -341,83 +510,9 @@ export declare const vAssistantContent: import("convex/values").VUnion<string |
|
|
|
341
510
|
toolCallId: import("convex/values").VString<string, "required">;
|
|
342
511
|
toolName: import("convex/values").VString<string, "required">;
|
|
343
512
|
args: import("convex/values").VAny<any, "required", string>;
|
|
344
|
-
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
345
513
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
346
|
-
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}`>], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "mimeType" | "data" | "filename" | "signature" | "state" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}`>, "required">], "required", never>;
|
|
347
|
-
export declare const vToolResultPart: import("convex/values").VObject<{
|
|
348
|
-
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
349
|
-
args?: any;
|
|
350
|
-
providerExecuted?: boolean | undefined;
|
|
351
|
-
isError?: boolean | undefined;
|
|
352
|
-
experimental_content?: ({
|
|
353
|
-
type: "text";
|
|
354
|
-
text: string;
|
|
355
|
-
} | {
|
|
356
|
-
mimeType?: string | undefined;
|
|
357
|
-
type: "image";
|
|
358
|
-
data: string;
|
|
359
|
-
})[] | undefined;
|
|
360
|
-
type: "tool-result";
|
|
361
|
-
toolCallId: string;
|
|
362
|
-
toolName: string;
|
|
363
|
-
result: any;
|
|
364
|
-
}, {
|
|
365
|
-
type: import("convex/values").VLiteral<"tool-result", "required">;
|
|
366
|
-
toolCallId: import("convex/values").VString<string, "required">;
|
|
367
|
-
toolName: import("convex/values").VString<string, "required">;
|
|
368
|
-
result: import("convex/values").VAny<any, "required", string>;
|
|
369
514
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
370
|
-
|
|
371
|
-
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
372
|
-
args: import("convex/values").VAny<any, "optional", string>;
|
|
373
|
-
experimental_content: import("convex/values").VArray<({
|
|
374
|
-
type: "text";
|
|
375
|
-
text: string;
|
|
376
|
-
} | {
|
|
377
|
-
mimeType?: string | undefined;
|
|
378
|
-
type: "image";
|
|
379
|
-
data: string;
|
|
380
|
-
})[] | undefined, import("convex/values").VUnion<{
|
|
381
|
-
type: "text";
|
|
382
|
-
text: string;
|
|
383
|
-
} | {
|
|
384
|
-
mimeType?: string | undefined;
|
|
385
|
-
type: "image";
|
|
386
|
-
data: string;
|
|
387
|
-
}, [import("convex/values").VObject<{
|
|
388
|
-
type: "text";
|
|
389
|
-
text: string;
|
|
390
|
-
}, {
|
|
391
|
-
type: import("convex/values").VLiteral<"text", "required">;
|
|
392
|
-
text: import("convex/values").VString<string, "required">;
|
|
393
|
-
}, "required", "type" | "text">, import("convex/values").VObject<{
|
|
394
|
-
mimeType?: string | undefined;
|
|
395
|
-
type: "image";
|
|
396
|
-
data: string;
|
|
397
|
-
}, {
|
|
398
|
-
type: import("convex/values").VLiteral<"image", "required">;
|
|
399
|
-
data: import("convex/values").VString<string, "required">;
|
|
400
|
-
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
401
|
-
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
402
|
-
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>;
|
|
403
|
-
export declare const vToolContent: import("convex/values").VArray<{
|
|
404
|
-
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
405
|
-
args?: any;
|
|
406
|
-
providerExecuted?: boolean | undefined;
|
|
407
|
-
isError?: boolean | undefined;
|
|
408
|
-
experimental_content?: ({
|
|
409
|
-
type: "text";
|
|
410
|
-
text: string;
|
|
411
|
-
} | {
|
|
412
|
-
mimeType?: string | undefined;
|
|
413
|
-
type: "image";
|
|
414
|
-
data: string;
|
|
415
|
-
})[] | undefined;
|
|
416
|
-
type: "tool-result";
|
|
417
|
-
toolCallId: string;
|
|
418
|
-
toolName: string;
|
|
419
|
-
result: any;
|
|
420
|
-
}[], import("convex/values").VObject<{
|
|
515
|
+
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}`>, import("convex/values").VObject<{
|
|
421
516
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
422
517
|
args?: any;
|
|
423
518
|
providerExecuted?: boolean | undefined;
|
|
@@ -472,7 +567,7 @@ export declare const vToolContent: import("convex/values").VArray<{
|
|
|
472
567
|
data: import("convex/values").VString<string, "required">;
|
|
473
568
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
474
569
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
475
|
-
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">;
|
|
570
|
+
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">], "required", never>;
|
|
476
571
|
export declare const vContent: import("convex/values").VUnion<string | ({
|
|
477
572
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
478
573
|
type: "text";
|
|
@@ -501,7 +596,6 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
501
596
|
} | {
|
|
502
597
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
503
598
|
signature?: string | undefined;
|
|
504
|
-
state?: "streaming" | "done" | undefined;
|
|
505
599
|
type: "reasoning";
|
|
506
600
|
text: string;
|
|
507
601
|
} | {
|
|
@@ -515,6 +609,23 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
515
609
|
toolCallId: string;
|
|
516
610
|
toolName: string;
|
|
517
611
|
args: any;
|
|
612
|
+
} | {
|
|
613
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
614
|
+
args?: any;
|
|
615
|
+
providerExecuted?: boolean | undefined;
|
|
616
|
+
isError?: boolean | undefined;
|
|
617
|
+
experimental_content?: ({
|
|
618
|
+
type: "text";
|
|
619
|
+
text: string;
|
|
620
|
+
} | {
|
|
621
|
+
mimeType?: string | undefined;
|
|
622
|
+
type: "image";
|
|
623
|
+
data: string;
|
|
624
|
+
})[] | undefined;
|
|
625
|
+
type: "tool-result";
|
|
626
|
+
toolCallId: string;
|
|
627
|
+
toolName: string;
|
|
628
|
+
result: any;
|
|
518
629
|
})[] | {
|
|
519
630
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
520
631
|
args?: any;
|
|
@@ -620,7 +731,6 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
620
731
|
} | {
|
|
621
732
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
622
733
|
signature?: string | undefined;
|
|
623
|
-
state?: "streaming" | "done" | undefined;
|
|
624
734
|
type: "reasoning";
|
|
625
735
|
text: string;
|
|
626
736
|
} | {
|
|
@@ -630,10 +740,27 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
630
740
|
} | {
|
|
631
741
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
632
742
|
providerExecuted?: boolean | undefined;
|
|
633
|
-
type: "tool-call";
|
|
743
|
+
type: "tool-call";
|
|
744
|
+
toolCallId: string;
|
|
745
|
+
toolName: string;
|
|
746
|
+
args: any;
|
|
747
|
+
} | {
|
|
748
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
749
|
+
args?: any;
|
|
750
|
+
providerExecuted?: boolean | undefined;
|
|
751
|
+
isError?: boolean | undefined;
|
|
752
|
+
experimental_content?: ({
|
|
753
|
+
type: "text";
|
|
754
|
+
text: string;
|
|
755
|
+
} | {
|
|
756
|
+
mimeType?: string | undefined;
|
|
757
|
+
type: "image";
|
|
758
|
+
data: string;
|
|
759
|
+
})[] | undefined;
|
|
760
|
+
type: "tool-result";
|
|
634
761
|
toolCallId: string;
|
|
635
762
|
toolName: string;
|
|
636
|
-
|
|
763
|
+
result: any;
|
|
637
764
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
638
765
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
639
766
|
type: "text";
|
|
@@ -647,7 +774,6 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
647
774
|
} | {
|
|
648
775
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
649
776
|
signature?: string | undefined;
|
|
650
|
-
state?: "streaming" | "done" | undefined;
|
|
651
777
|
type: "reasoning";
|
|
652
778
|
text: string;
|
|
653
779
|
} | {
|
|
@@ -661,6 +787,23 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
661
787
|
toolCallId: string;
|
|
662
788
|
toolName: string;
|
|
663
789
|
args: any;
|
|
790
|
+
} | {
|
|
791
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
792
|
+
args?: any;
|
|
793
|
+
providerExecuted?: boolean | undefined;
|
|
794
|
+
isError?: boolean | undefined;
|
|
795
|
+
experimental_content?: ({
|
|
796
|
+
type: "text";
|
|
797
|
+
text: string;
|
|
798
|
+
} | {
|
|
799
|
+
mimeType?: string | undefined;
|
|
800
|
+
type: "image";
|
|
801
|
+
data: string;
|
|
802
|
+
})[] | undefined;
|
|
803
|
+
type: "tool-result";
|
|
804
|
+
toolCallId: string;
|
|
805
|
+
toolName: string;
|
|
806
|
+
result: any;
|
|
664
807
|
})[], import("convex/values").VUnion<{
|
|
665
808
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
666
809
|
type: "text";
|
|
@@ -674,7 +817,6 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
674
817
|
} | {
|
|
675
818
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
676
819
|
signature?: string | undefined;
|
|
677
|
-
state?: "streaming" | "done" | undefined;
|
|
678
820
|
type: "reasoning";
|
|
679
821
|
text: string;
|
|
680
822
|
} | {
|
|
@@ -688,6 +830,23 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
688
830
|
toolCallId: string;
|
|
689
831
|
toolName: string;
|
|
690
832
|
args: any;
|
|
833
|
+
} | {
|
|
834
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
835
|
+
args?: any;
|
|
836
|
+
providerExecuted?: boolean | undefined;
|
|
837
|
+
isError?: boolean | undefined;
|
|
838
|
+
experimental_content?: ({
|
|
839
|
+
type: "text";
|
|
840
|
+
text: string;
|
|
841
|
+
} | {
|
|
842
|
+
mimeType?: string | undefined;
|
|
843
|
+
type: "image";
|
|
844
|
+
data: string;
|
|
845
|
+
})[] | undefined;
|
|
846
|
+
type: "tool-result";
|
|
847
|
+
toolCallId: string;
|
|
848
|
+
toolName: string;
|
|
849
|
+
result: any;
|
|
691
850
|
}, [import("convex/values").VObject<{
|
|
692
851
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
693
852
|
type: "text";
|
|
@@ -711,7 +870,6 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
711
870
|
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mimeType" | "data" | "filename">, import("convex/values").VObject<{
|
|
712
871
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
713
872
|
signature?: string | undefined;
|
|
714
|
-
state?: "streaming" | "done" | undefined;
|
|
715
873
|
type: "reasoning";
|
|
716
874
|
text: string;
|
|
717
875
|
}, {
|
|
@@ -719,8 +877,7 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
719
877
|
text: import("convex/values").VString<string, "required">;
|
|
720
878
|
signature: import("convex/values").VString<string | undefined, "optional">;
|
|
721
879
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
722
|
-
|
|
723
|
-
}, "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "signature" | "state">, import("convex/values").VObject<{
|
|
880
|
+
}, "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "signature">, import("convex/values").VObject<{
|
|
724
881
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
725
882
|
type: "redacted-reasoning";
|
|
726
883
|
data: string;
|
|
@@ -740,9 +897,64 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
740
897
|
toolCallId: import("convex/values").VString<string, "required">;
|
|
741
898
|
toolName: import("convex/values").VString<string, "required">;
|
|
742
899
|
args: import("convex/values").VAny<any, "required", string>;
|
|
900
|
+
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
901
|
+
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
902
|
+
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}`>, import("convex/values").VObject<{
|
|
903
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
904
|
+
args?: any;
|
|
905
|
+
providerExecuted?: boolean | undefined;
|
|
906
|
+
isError?: boolean | undefined;
|
|
907
|
+
experimental_content?: ({
|
|
908
|
+
type: "text";
|
|
909
|
+
text: string;
|
|
910
|
+
} | {
|
|
911
|
+
mimeType?: string | undefined;
|
|
912
|
+
type: "image";
|
|
913
|
+
data: string;
|
|
914
|
+
})[] | undefined;
|
|
915
|
+
type: "tool-result";
|
|
916
|
+
toolCallId: string;
|
|
917
|
+
toolName: string;
|
|
918
|
+
result: any;
|
|
919
|
+
}, {
|
|
920
|
+
type: import("convex/values").VLiteral<"tool-result", "required">;
|
|
921
|
+
toolCallId: import("convex/values").VString<string, "required">;
|
|
922
|
+
toolName: import("convex/values").VString<string, "required">;
|
|
923
|
+
result: import("convex/values").VAny<any, "required", string>;
|
|
743
924
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
744
925
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
745
|
-
|
|
926
|
+
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
927
|
+
args: import("convex/values").VAny<any, "optional", string>;
|
|
928
|
+
experimental_content: import("convex/values").VArray<({
|
|
929
|
+
type: "text";
|
|
930
|
+
text: string;
|
|
931
|
+
} | {
|
|
932
|
+
mimeType?: string | undefined;
|
|
933
|
+
type: "image";
|
|
934
|
+
data: string;
|
|
935
|
+
})[] | undefined, import("convex/values").VUnion<{
|
|
936
|
+
type: "text";
|
|
937
|
+
text: string;
|
|
938
|
+
} | {
|
|
939
|
+
mimeType?: string | undefined;
|
|
940
|
+
type: "image";
|
|
941
|
+
data: string;
|
|
942
|
+
}, [import("convex/values").VObject<{
|
|
943
|
+
type: "text";
|
|
944
|
+
text: string;
|
|
945
|
+
}, {
|
|
946
|
+
type: import("convex/values").VLiteral<"text", "required">;
|
|
947
|
+
text: import("convex/values").VString<string, "required">;
|
|
948
|
+
}, "required", "type" | "text">, import("convex/values").VObject<{
|
|
949
|
+
mimeType?: string | undefined;
|
|
950
|
+
type: "image";
|
|
951
|
+
data: string;
|
|
952
|
+
}, {
|
|
953
|
+
type: import("convex/values").VLiteral<"image", "required">;
|
|
954
|
+
data: import("convex/values").VString<string, "required">;
|
|
955
|
+
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
956
|
+
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
957
|
+
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">], "required", never>, import("convex/values").VArray<{
|
|
746
958
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
747
959
|
args?: any;
|
|
748
960
|
providerExecuted?: boolean | undefined;
|
|
@@ -931,7 +1143,6 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
|
|
|
931
1143
|
} | {
|
|
932
1144
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
933
1145
|
signature?: string | undefined;
|
|
934
|
-
state?: "streaming" | "done" | undefined;
|
|
935
1146
|
type: "reasoning";
|
|
936
1147
|
text: string;
|
|
937
1148
|
} | {
|
|
@@ -945,6 +1156,23 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
|
|
|
945
1156
|
toolCallId: string;
|
|
946
1157
|
toolName: string;
|
|
947
1158
|
args: any;
|
|
1159
|
+
} | {
|
|
1160
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1161
|
+
args?: any;
|
|
1162
|
+
providerExecuted?: boolean | undefined;
|
|
1163
|
+
isError?: boolean | undefined;
|
|
1164
|
+
experimental_content?: ({
|
|
1165
|
+
type: "text";
|
|
1166
|
+
text: string;
|
|
1167
|
+
} | {
|
|
1168
|
+
mimeType?: string | undefined;
|
|
1169
|
+
type: "image";
|
|
1170
|
+
data: string;
|
|
1171
|
+
})[] | undefined;
|
|
1172
|
+
type: "tool-result";
|
|
1173
|
+
toolCallId: string;
|
|
1174
|
+
toolName: string;
|
|
1175
|
+
result: any;
|
|
948
1176
|
})[];
|
|
949
1177
|
}, {
|
|
950
1178
|
role: import("convex/values").VLiteral<"assistant", "required">;
|
|
@@ -961,7 +1189,6 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
|
|
|
961
1189
|
} | {
|
|
962
1190
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
963
1191
|
signature?: string | undefined;
|
|
964
|
-
state?: "streaming" | "done" | undefined;
|
|
965
1192
|
type: "reasoning";
|
|
966
1193
|
text: string;
|
|
967
1194
|
} | {
|
|
@@ -975,6 +1202,23 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
|
|
|
975
1202
|
toolCallId: string;
|
|
976
1203
|
toolName: string;
|
|
977
1204
|
args: any;
|
|
1205
|
+
} | {
|
|
1206
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1207
|
+
args?: any;
|
|
1208
|
+
providerExecuted?: boolean | undefined;
|
|
1209
|
+
isError?: boolean | undefined;
|
|
1210
|
+
experimental_content?: ({
|
|
1211
|
+
type: "text";
|
|
1212
|
+
text: string;
|
|
1213
|
+
} | {
|
|
1214
|
+
mimeType?: string | undefined;
|
|
1215
|
+
type: "image";
|
|
1216
|
+
data: string;
|
|
1217
|
+
})[] | undefined;
|
|
1218
|
+
type: "tool-result";
|
|
1219
|
+
toolCallId: string;
|
|
1220
|
+
toolName: string;
|
|
1221
|
+
result: any;
|
|
978
1222
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
979
1223
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
980
1224
|
type: "text";
|
|
@@ -988,7 +1232,6 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
|
|
|
988
1232
|
} | {
|
|
989
1233
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
990
1234
|
signature?: string | undefined;
|
|
991
|
-
state?: "streaming" | "done" | undefined;
|
|
992
1235
|
type: "reasoning";
|
|
993
1236
|
text: string;
|
|
994
1237
|
} | {
|
|
@@ -1002,6 +1245,23 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
|
|
|
1002
1245
|
toolCallId: string;
|
|
1003
1246
|
toolName: string;
|
|
1004
1247
|
args: any;
|
|
1248
|
+
} | {
|
|
1249
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1250
|
+
args?: any;
|
|
1251
|
+
providerExecuted?: boolean | undefined;
|
|
1252
|
+
isError?: boolean | undefined;
|
|
1253
|
+
experimental_content?: ({
|
|
1254
|
+
type: "text";
|
|
1255
|
+
text: string;
|
|
1256
|
+
} | {
|
|
1257
|
+
mimeType?: string | undefined;
|
|
1258
|
+
type: "image";
|
|
1259
|
+
data: string;
|
|
1260
|
+
})[] | undefined;
|
|
1261
|
+
type: "tool-result";
|
|
1262
|
+
toolCallId: string;
|
|
1263
|
+
toolName: string;
|
|
1264
|
+
result: any;
|
|
1005
1265
|
})[], import("convex/values").VUnion<{
|
|
1006
1266
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1007
1267
|
type: "text";
|
|
@@ -1015,7 +1275,6 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
|
|
|
1015
1275
|
} | {
|
|
1016
1276
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1017
1277
|
signature?: string | undefined;
|
|
1018
|
-
state?: "streaming" | "done" | undefined;
|
|
1019
1278
|
type: "reasoning";
|
|
1020
1279
|
text: string;
|
|
1021
1280
|
} | {
|
|
@@ -1029,6 +1288,23 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
|
|
|
1029
1288
|
toolCallId: string;
|
|
1030
1289
|
toolName: string;
|
|
1031
1290
|
args: any;
|
|
1291
|
+
} | {
|
|
1292
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1293
|
+
args?: any;
|
|
1294
|
+
providerExecuted?: boolean | undefined;
|
|
1295
|
+
isError?: boolean | undefined;
|
|
1296
|
+
experimental_content?: ({
|
|
1297
|
+
type: "text";
|
|
1298
|
+
text: string;
|
|
1299
|
+
} | {
|
|
1300
|
+
mimeType?: string | undefined;
|
|
1301
|
+
type: "image";
|
|
1302
|
+
data: string;
|
|
1303
|
+
})[] | undefined;
|
|
1304
|
+
type: "tool-result";
|
|
1305
|
+
toolCallId: string;
|
|
1306
|
+
toolName: string;
|
|
1307
|
+
result: any;
|
|
1032
1308
|
}, [import("convex/values").VObject<{
|
|
1033
1309
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1034
1310
|
type: "text";
|
|
@@ -1052,7 +1328,6 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
|
|
|
1052
1328
|
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mimeType" | "data" | "filename">, import("convex/values").VObject<{
|
|
1053
1329
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1054
1330
|
signature?: string | undefined;
|
|
1055
|
-
state?: "streaming" | "done" | undefined;
|
|
1056
1331
|
type: "reasoning";
|
|
1057
1332
|
text: string;
|
|
1058
1333
|
}, {
|
|
@@ -1060,8 +1335,7 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
|
|
|
1060
1335
|
text: import("convex/values").VString<string, "required">;
|
|
1061
1336
|
signature: import("convex/values").VString<string | undefined, "optional">;
|
|
1062
1337
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1063
|
-
|
|
1064
|
-
}, "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "signature" | "state">, import("convex/values").VObject<{
|
|
1338
|
+
}, "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "signature">, import("convex/values").VObject<{
|
|
1065
1339
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1066
1340
|
type: "redacted-reasoning";
|
|
1067
1341
|
data: string;
|
|
@@ -1081,9 +1355,64 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
|
|
|
1081
1355
|
toolCallId: import("convex/values").VString<string, "required">;
|
|
1082
1356
|
toolName: import("convex/values").VString<string, "required">;
|
|
1083
1357
|
args: import("convex/values").VAny<any, "required", string>;
|
|
1358
|
+
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
1359
|
+
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1360
|
+
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}`>, import("convex/values").VObject<{
|
|
1361
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1362
|
+
args?: any;
|
|
1363
|
+
providerExecuted?: boolean | undefined;
|
|
1364
|
+
isError?: boolean | undefined;
|
|
1365
|
+
experimental_content?: ({
|
|
1366
|
+
type: "text";
|
|
1367
|
+
text: string;
|
|
1368
|
+
} | {
|
|
1369
|
+
mimeType?: string | undefined;
|
|
1370
|
+
type: "image";
|
|
1371
|
+
data: string;
|
|
1372
|
+
})[] | undefined;
|
|
1373
|
+
type: "tool-result";
|
|
1374
|
+
toolCallId: string;
|
|
1375
|
+
toolName: string;
|
|
1376
|
+
result: any;
|
|
1377
|
+
}, {
|
|
1378
|
+
type: import("convex/values").VLiteral<"tool-result", "required">;
|
|
1379
|
+
toolCallId: import("convex/values").VString<string, "required">;
|
|
1380
|
+
toolName: import("convex/values").VString<string, "required">;
|
|
1381
|
+
result: import("convex/values").VAny<any, "required", string>;
|
|
1084
1382
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1085
1383
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
1086
|
-
|
|
1384
|
+
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
1385
|
+
args: import("convex/values").VAny<any, "optional", string>;
|
|
1386
|
+
experimental_content: import("convex/values").VArray<({
|
|
1387
|
+
type: "text";
|
|
1388
|
+
text: string;
|
|
1389
|
+
} | {
|
|
1390
|
+
mimeType?: string | undefined;
|
|
1391
|
+
type: "image";
|
|
1392
|
+
data: string;
|
|
1393
|
+
})[] | undefined, import("convex/values").VUnion<{
|
|
1394
|
+
type: "text";
|
|
1395
|
+
text: string;
|
|
1396
|
+
} | {
|
|
1397
|
+
mimeType?: string | undefined;
|
|
1398
|
+
type: "image";
|
|
1399
|
+
data: string;
|
|
1400
|
+
}, [import("convex/values").VObject<{
|
|
1401
|
+
type: "text";
|
|
1402
|
+
text: string;
|
|
1403
|
+
}, {
|
|
1404
|
+
type: import("convex/values").VLiteral<"text", "required">;
|
|
1405
|
+
text: import("convex/values").VString<string, "required">;
|
|
1406
|
+
}, "required", "type" | "text">, import("convex/values").VObject<{
|
|
1407
|
+
mimeType?: string | undefined;
|
|
1408
|
+
type: "image";
|
|
1409
|
+
data: string;
|
|
1410
|
+
}, {
|
|
1411
|
+
type: import("convex/values").VLiteral<"image", "required">;
|
|
1412
|
+
data: import("convex/values").VString<string, "required">;
|
|
1413
|
+
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
1414
|
+
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
1415
|
+
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">], "required", never>;
|
|
1087
1416
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1088
1417
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">;
|
|
1089
1418
|
export declare const vToolMessage: import("convex/values").VObject<{
|
|
@@ -1228,7 +1557,6 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1228
1557
|
} | {
|
|
1229
1558
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1230
1559
|
signature?: string | undefined;
|
|
1231
|
-
state?: "streaming" | "done" | undefined;
|
|
1232
1560
|
type: "reasoning";
|
|
1233
1561
|
text: string;
|
|
1234
1562
|
} | {
|
|
@@ -1242,6 +1570,23 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1242
1570
|
toolCallId: string;
|
|
1243
1571
|
toolName: string;
|
|
1244
1572
|
args: any;
|
|
1573
|
+
} | {
|
|
1574
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1575
|
+
args?: any;
|
|
1576
|
+
providerExecuted?: boolean | undefined;
|
|
1577
|
+
isError?: boolean | undefined;
|
|
1578
|
+
experimental_content?: ({
|
|
1579
|
+
type: "text";
|
|
1580
|
+
text: string;
|
|
1581
|
+
} | {
|
|
1582
|
+
mimeType?: string | undefined;
|
|
1583
|
+
type: "image";
|
|
1584
|
+
data: string;
|
|
1585
|
+
})[] | undefined;
|
|
1586
|
+
type: "tool-result";
|
|
1587
|
+
toolCallId: string;
|
|
1588
|
+
toolName: string;
|
|
1589
|
+
result: any;
|
|
1245
1590
|
})[];
|
|
1246
1591
|
} | {
|
|
1247
1592
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -1382,7 +1727,6 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1382
1727
|
} | {
|
|
1383
1728
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1384
1729
|
signature?: string | undefined;
|
|
1385
|
-
state?: "streaming" | "done" | undefined;
|
|
1386
1730
|
type: "reasoning";
|
|
1387
1731
|
text: string;
|
|
1388
1732
|
} | {
|
|
@@ -1395,7 +1739,24 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1395
1739
|
type: "tool-call";
|
|
1396
1740
|
toolCallId: string;
|
|
1397
1741
|
toolName: string;
|
|
1398
|
-
args: any;
|
|
1742
|
+
args: any;
|
|
1743
|
+
} | {
|
|
1744
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1745
|
+
args?: any;
|
|
1746
|
+
providerExecuted?: boolean | undefined;
|
|
1747
|
+
isError?: boolean | undefined;
|
|
1748
|
+
experimental_content?: ({
|
|
1749
|
+
type: "text";
|
|
1750
|
+
text: string;
|
|
1751
|
+
} | {
|
|
1752
|
+
mimeType?: string | undefined;
|
|
1753
|
+
type: "image";
|
|
1754
|
+
data: string;
|
|
1755
|
+
})[] | undefined;
|
|
1756
|
+
type: "tool-result";
|
|
1757
|
+
toolCallId: string;
|
|
1758
|
+
toolName: string;
|
|
1759
|
+
result: any;
|
|
1399
1760
|
})[];
|
|
1400
1761
|
}, {
|
|
1401
1762
|
role: import("convex/values").VLiteral<"assistant", "required">;
|
|
@@ -1412,7 +1773,6 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1412
1773
|
} | {
|
|
1413
1774
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1414
1775
|
signature?: string | undefined;
|
|
1415
|
-
state?: "streaming" | "done" | undefined;
|
|
1416
1776
|
type: "reasoning";
|
|
1417
1777
|
text: string;
|
|
1418
1778
|
} | {
|
|
@@ -1426,6 +1786,23 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1426
1786
|
toolCallId: string;
|
|
1427
1787
|
toolName: string;
|
|
1428
1788
|
args: any;
|
|
1789
|
+
} | {
|
|
1790
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1791
|
+
args?: any;
|
|
1792
|
+
providerExecuted?: boolean | undefined;
|
|
1793
|
+
isError?: boolean | undefined;
|
|
1794
|
+
experimental_content?: ({
|
|
1795
|
+
type: "text";
|
|
1796
|
+
text: string;
|
|
1797
|
+
} | {
|
|
1798
|
+
mimeType?: string | undefined;
|
|
1799
|
+
type: "image";
|
|
1800
|
+
data: string;
|
|
1801
|
+
})[] | undefined;
|
|
1802
|
+
type: "tool-result";
|
|
1803
|
+
toolCallId: string;
|
|
1804
|
+
toolName: string;
|
|
1805
|
+
result: any;
|
|
1429
1806
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
1430
1807
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1431
1808
|
type: "text";
|
|
@@ -1439,7 +1816,6 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1439
1816
|
} | {
|
|
1440
1817
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1441
1818
|
signature?: string | undefined;
|
|
1442
|
-
state?: "streaming" | "done" | undefined;
|
|
1443
1819
|
type: "reasoning";
|
|
1444
1820
|
text: string;
|
|
1445
1821
|
} | {
|
|
@@ -1453,6 +1829,23 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1453
1829
|
toolCallId: string;
|
|
1454
1830
|
toolName: string;
|
|
1455
1831
|
args: any;
|
|
1832
|
+
} | {
|
|
1833
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1834
|
+
args?: any;
|
|
1835
|
+
providerExecuted?: boolean | undefined;
|
|
1836
|
+
isError?: boolean | undefined;
|
|
1837
|
+
experimental_content?: ({
|
|
1838
|
+
type: "text";
|
|
1839
|
+
text: string;
|
|
1840
|
+
} | {
|
|
1841
|
+
mimeType?: string | undefined;
|
|
1842
|
+
type: "image";
|
|
1843
|
+
data: string;
|
|
1844
|
+
})[] | undefined;
|
|
1845
|
+
type: "tool-result";
|
|
1846
|
+
toolCallId: string;
|
|
1847
|
+
toolName: string;
|
|
1848
|
+
result: any;
|
|
1456
1849
|
})[], import("convex/values").VUnion<{
|
|
1457
1850
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1458
1851
|
type: "text";
|
|
@@ -1466,7 +1859,6 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1466
1859
|
} | {
|
|
1467
1860
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1468
1861
|
signature?: string | undefined;
|
|
1469
|
-
state?: "streaming" | "done" | undefined;
|
|
1470
1862
|
type: "reasoning";
|
|
1471
1863
|
text: string;
|
|
1472
1864
|
} | {
|
|
@@ -1480,6 +1872,23 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1480
1872
|
toolCallId: string;
|
|
1481
1873
|
toolName: string;
|
|
1482
1874
|
args: any;
|
|
1875
|
+
} | {
|
|
1876
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1877
|
+
args?: any;
|
|
1878
|
+
providerExecuted?: boolean | undefined;
|
|
1879
|
+
isError?: boolean | undefined;
|
|
1880
|
+
experimental_content?: ({
|
|
1881
|
+
type: "text";
|
|
1882
|
+
text: string;
|
|
1883
|
+
} | {
|
|
1884
|
+
mimeType?: string | undefined;
|
|
1885
|
+
type: "image";
|
|
1886
|
+
data: string;
|
|
1887
|
+
})[] | undefined;
|
|
1888
|
+
type: "tool-result";
|
|
1889
|
+
toolCallId: string;
|
|
1890
|
+
toolName: string;
|
|
1891
|
+
result: any;
|
|
1483
1892
|
}, [import("convex/values").VObject<{
|
|
1484
1893
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1485
1894
|
type: "text";
|
|
@@ -1503,7 +1912,6 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1503
1912
|
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mimeType" | "data" | "filename">, import("convex/values").VObject<{
|
|
1504
1913
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1505
1914
|
signature?: string | undefined;
|
|
1506
|
-
state?: "streaming" | "done" | undefined;
|
|
1507
1915
|
type: "reasoning";
|
|
1508
1916
|
text: string;
|
|
1509
1917
|
}, {
|
|
@@ -1511,8 +1919,7 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1511
1919
|
text: import("convex/values").VString<string, "required">;
|
|
1512
1920
|
signature: import("convex/values").VString<string | undefined, "optional">;
|
|
1513
1921
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1514
|
-
|
|
1515
|
-
}, "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "signature" | "state">, import("convex/values").VObject<{
|
|
1922
|
+
}, "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "signature">, import("convex/values").VObject<{
|
|
1516
1923
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1517
1924
|
type: "redacted-reasoning";
|
|
1518
1925
|
data: string;
|
|
@@ -1532,9 +1939,64 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1532
1939
|
toolCallId: import("convex/values").VString<string, "required">;
|
|
1533
1940
|
toolName: import("convex/values").VString<string, "required">;
|
|
1534
1941
|
args: import("convex/values").VAny<any, "required", string>;
|
|
1942
|
+
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
1943
|
+
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1944
|
+
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}`>, import("convex/values").VObject<{
|
|
1945
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1946
|
+
args?: any;
|
|
1947
|
+
providerExecuted?: boolean | undefined;
|
|
1948
|
+
isError?: boolean | undefined;
|
|
1949
|
+
experimental_content?: ({
|
|
1950
|
+
type: "text";
|
|
1951
|
+
text: string;
|
|
1952
|
+
} | {
|
|
1953
|
+
mimeType?: string | undefined;
|
|
1954
|
+
type: "image";
|
|
1955
|
+
data: string;
|
|
1956
|
+
})[] | undefined;
|
|
1957
|
+
type: "tool-result";
|
|
1958
|
+
toolCallId: string;
|
|
1959
|
+
toolName: string;
|
|
1960
|
+
result: any;
|
|
1961
|
+
}, {
|
|
1962
|
+
type: import("convex/values").VLiteral<"tool-result", "required">;
|
|
1963
|
+
toolCallId: import("convex/values").VString<string, "required">;
|
|
1964
|
+
toolName: import("convex/values").VString<string, "required">;
|
|
1965
|
+
result: import("convex/values").VAny<any, "required", string>;
|
|
1535
1966
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1536
1967
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
1537
|
-
|
|
1968
|
+
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
1969
|
+
args: import("convex/values").VAny<any, "optional", string>;
|
|
1970
|
+
experimental_content: import("convex/values").VArray<({
|
|
1971
|
+
type: "text";
|
|
1972
|
+
text: string;
|
|
1973
|
+
} | {
|
|
1974
|
+
mimeType?: string | undefined;
|
|
1975
|
+
type: "image";
|
|
1976
|
+
data: string;
|
|
1977
|
+
})[] | undefined, import("convex/values").VUnion<{
|
|
1978
|
+
type: "text";
|
|
1979
|
+
text: string;
|
|
1980
|
+
} | {
|
|
1981
|
+
mimeType?: string | undefined;
|
|
1982
|
+
type: "image";
|
|
1983
|
+
data: string;
|
|
1984
|
+
}, [import("convex/values").VObject<{
|
|
1985
|
+
type: "text";
|
|
1986
|
+
text: string;
|
|
1987
|
+
}, {
|
|
1988
|
+
type: import("convex/values").VLiteral<"text", "required">;
|
|
1989
|
+
text: import("convex/values").VString<string, "required">;
|
|
1990
|
+
}, "required", "type" | "text">, import("convex/values").VObject<{
|
|
1991
|
+
mimeType?: string | undefined;
|
|
1992
|
+
type: "image";
|
|
1993
|
+
data: string;
|
|
1994
|
+
}, {
|
|
1995
|
+
type: import("convex/values").VLiteral<"image", "required">;
|
|
1996
|
+
data: import("convex/values").VString<string, "required">;
|
|
1997
|
+
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
1998
|
+
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
1999
|
+
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">], "required", never>;
|
|
1538
2000
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1539
2001
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
1540
2002
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -1797,7 +2259,6 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
1797
2259
|
reasoningDetails?: ({
|
|
1798
2260
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1799
2261
|
signature?: string | undefined;
|
|
1800
|
-
state?: "streaming" | "done" | undefined;
|
|
1801
2262
|
type: "reasoning";
|
|
1802
2263
|
text: string;
|
|
1803
2264
|
} | {
|
|
@@ -1843,7 +2304,6 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
1843
2304
|
} | {
|
|
1844
2305
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1845
2306
|
signature?: string | undefined;
|
|
1846
|
-
state?: "streaming" | "done" | undefined;
|
|
1847
2307
|
type: "reasoning";
|
|
1848
2308
|
text: string;
|
|
1849
2309
|
} | {
|
|
@@ -1857,6 +2317,23 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
1857
2317
|
toolCallId: string;
|
|
1858
2318
|
toolName: string;
|
|
1859
2319
|
args: any;
|
|
2320
|
+
} | {
|
|
2321
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2322
|
+
args?: any;
|
|
2323
|
+
providerExecuted?: boolean | undefined;
|
|
2324
|
+
isError?: boolean | undefined;
|
|
2325
|
+
experimental_content?: ({
|
|
2326
|
+
type: "text";
|
|
2327
|
+
text: string;
|
|
2328
|
+
} | {
|
|
2329
|
+
mimeType?: string | undefined;
|
|
2330
|
+
type: "image";
|
|
2331
|
+
data: string;
|
|
2332
|
+
})[] | undefined;
|
|
2333
|
+
type: "tool-result";
|
|
2334
|
+
toolCallId: string;
|
|
2335
|
+
toolName: string;
|
|
2336
|
+
result: any;
|
|
1860
2337
|
})[];
|
|
1861
2338
|
} | {
|
|
1862
2339
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -1920,7 +2397,6 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
1920
2397
|
} | {
|
|
1921
2398
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1922
2399
|
signature?: string | undefined;
|
|
1923
|
-
state?: "streaming" | "done" | undefined;
|
|
1924
2400
|
type: "reasoning";
|
|
1925
2401
|
text: string;
|
|
1926
2402
|
} | {
|
|
@@ -1934,6 +2410,23 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
1934
2410
|
toolCallId: string;
|
|
1935
2411
|
toolName: string;
|
|
1936
2412
|
args: any;
|
|
2413
|
+
} | {
|
|
2414
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2415
|
+
args?: any;
|
|
2416
|
+
providerExecuted?: boolean | undefined;
|
|
2417
|
+
isError?: boolean | undefined;
|
|
2418
|
+
experimental_content?: ({
|
|
2419
|
+
type: "text";
|
|
2420
|
+
text: string;
|
|
2421
|
+
} | {
|
|
2422
|
+
mimeType?: string | undefined;
|
|
2423
|
+
type: "image";
|
|
2424
|
+
data: string;
|
|
2425
|
+
})[] | undefined;
|
|
2426
|
+
type: "tool-result";
|
|
2427
|
+
toolCallId: string;
|
|
2428
|
+
toolName: string;
|
|
2429
|
+
result: any;
|
|
1937
2430
|
})[];
|
|
1938
2431
|
} | {
|
|
1939
2432
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -2074,7 +2567,6 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2074
2567
|
} | {
|
|
2075
2568
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2076
2569
|
signature?: string | undefined;
|
|
2077
|
-
state?: "streaming" | "done" | undefined;
|
|
2078
2570
|
type: "reasoning";
|
|
2079
2571
|
text: string;
|
|
2080
2572
|
} | {
|
|
@@ -2088,6 +2580,23 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2088
2580
|
toolCallId: string;
|
|
2089
2581
|
toolName: string;
|
|
2090
2582
|
args: any;
|
|
2583
|
+
} | {
|
|
2584
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2585
|
+
args?: any;
|
|
2586
|
+
providerExecuted?: boolean | undefined;
|
|
2587
|
+
isError?: boolean | undefined;
|
|
2588
|
+
experimental_content?: ({
|
|
2589
|
+
type: "text";
|
|
2590
|
+
text: string;
|
|
2591
|
+
} | {
|
|
2592
|
+
mimeType?: string | undefined;
|
|
2593
|
+
type: "image";
|
|
2594
|
+
data: string;
|
|
2595
|
+
})[] | undefined;
|
|
2596
|
+
type: "tool-result";
|
|
2597
|
+
toolCallId: string;
|
|
2598
|
+
toolName: string;
|
|
2599
|
+
result: any;
|
|
2091
2600
|
})[];
|
|
2092
2601
|
}, {
|
|
2093
2602
|
role: import("convex/values").VLiteral<"assistant", "required">;
|
|
@@ -2104,7 +2613,6 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2104
2613
|
} | {
|
|
2105
2614
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2106
2615
|
signature?: string | undefined;
|
|
2107
|
-
state?: "streaming" | "done" | undefined;
|
|
2108
2616
|
type: "reasoning";
|
|
2109
2617
|
text: string;
|
|
2110
2618
|
} | {
|
|
@@ -2118,6 +2626,23 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2118
2626
|
toolCallId: string;
|
|
2119
2627
|
toolName: string;
|
|
2120
2628
|
args: any;
|
|
2629
|
+
} | {
|
|
2630
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2631
|
+
args?: any;
|
|
2632
|
+
providerExecuted?: boolean | undefined;
|
|
2633
|
+
isError?: boolean | undefined;
|
|
2634
|
+
experimental_content?: ({
|
|
2635
|
+
type: "text";
|
|
2636
|
+
text: string;
|
|
2637
|
+
} | {
|
|
2638
|
+
mimeType?: string | undefined;
|
|
2639
|
+
type: "image";
|
|
2640
|
+
data: string;
|
|
2641
|
+
})[] | undefined;
|
|
2642
|
+
type: "tool-result";
|
|
2643
|
+
toolCallId: string;
|
|
2644
|
+
toolName: string;
|
|
2645
|
+
result: any;
|
|
2121
2646
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
2122
2647
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2123
2648
|
type: "text";
|
|
@@ -2131,7 +2656,6 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2131
2656
|
} | {
|
|
2132
2657
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2133
2658
|
signature?: string | undefined;
|
|
2134
|
-
state?: "streaming" | "done" | undefined;
|
|
2135
2659
|
type: "reasoning";
|
|
2136
2660
|
text: string;
|
|
2137
2661
|
} | {
|
|
@@ -2145,6 +2669,23 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2145
2669
|
toolCallId: string;
|
|
2146
2670
|
toolName: string;
|
|
2147
2671
|
args: any;
|
|
2672
|
+
} | {
|
|
2673
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2674
|
+
args?: any;
|
|
2675
|
+
providerExecuted?: boolean | undefined;
|
|
2676
|
+
isError?: boolean | undefined;
|
|
2677
|
+
experimental_content?: ({
|
|
2678
|
+
type: "text";
|
|
2679
|
+
text: string;
|
|
2680
|
+
} | {
|
|
2681
|
+
mimeType?: string | undefined;
|
|
2682
|
+
type: "image";
|
|
2683
|
+
data: string;
|
|
2684
|
+
})[] | undefined;
|
|
2685
|
+
type: "tool-result";
|
|
2686
|
+
toolCallId: string;
|
|
2687
|
+
toolName: string;
|
|
2688
|
+
result: any;
|
|
2148
2689
|
})[], import("convex/values").VUnion<{
|
|
2149
2690
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2150
2691
|
type: "text";
|
|
@@ -2158,7 +2699,6 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2158
2699
|
} | {
|
|
2159
2700
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2160
2701
|
signature?: string | undefined;
|
|
2161
|
-
state?: "streaming" | "done" | undefined;
|
|
2162
2702
|
type: "reasoning";
|
|
2163
2703
|
text: string;
|
|
2164
2704
|
} | {
|
|
@@ -2172,6 +2712,23 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2172
2712
|
toolCallId: string;
|
|
2173
2713
|
toolName: string;
|
|
2174
2714
|
args: any;
|
|
2715
|
+
} | {
|
|
2716
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2717
|
+
args?: any;
|
|
2718
|
+
providerExecuted?: boolean | undefined;
|
|
2719
|
+
isError?: boolean | undefined;
|
|
2720
|
+
experimental_content?: ({
|
|
2721
|
+
type: "text";
|
|
2722
|
+
text: string;
|
|
2723
|
+
} | {
|
|
2724
|
+
mimeType?: string | undefined;
|
|
2725
|
+
type: "image";
|
|
2726
|
+
data: string;
|
|
2727
|
+
})[] | undefined;
|
|
2728
|
+
type: "tool-result";
|
|
2729
|
+
toolCallId: string;
|
|
2730
|
+
toolName: string;
|
|
2731
|
+
result: any;
|
|
2175
2732
|
}, [import("convex/values").VObject<{
|
|
2176
2733
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2177
2734
|
type: "text";
|
|
@@ -2195,7 +2752,6 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2195
2752
|
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mimeType" | "data" | "filename">, import("convex/values").VObject<{
|
|
2196
2753
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2197
2754
|
signature?: string | undefined;
|
|
2198
|
-
state?: "streaming" | "done" | undefined;
|
|
2199
2755
|
type: "reasoning";
|
|
2200
2756
|
text: string;
|
|
2201
2757
|
}, {
|
|
@@ -2203,8 +2759,7 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2203
2759
|
text: import("convex/values").VString<string, "required">;
|
|
2204
2760
|
signature: import("convex/values").VString<string | undefined, "optional">;
|
|
2205
2761
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2206
|
-
|
|
2207
|
-
}, "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "signature" | "state">, import("convex/values").VObject<{
|
|
2762
|
+
}, "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "signature">, import("convex/values").VObject<{
|
|
2208
2763
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2209
2764
|
type: "redacted-reasoning";
|
|
2210
2765
|
data: string;
|
|
@@ -2224,9 +2779,64 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2224
2779
|
toolCallId: import("convex/values").VString<string, "required">;
|
|
2225
2780
|
toolName: import("convex/values").VString<string, "required">;
|
|
2226
2781
|
args: import("convex/values").VAny<any, "required", string>;
|
|
2782
|
+
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
2783
|
+
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2784
|
+
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}`>, import("convex/values").VObject<{
|
|
2785
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2786
|
+
args?: any;
|
|
2787
|
+
providerExecuted?: boolean | undefined;
|
|
2788
|
+
isError?: boolean | undefined;
|
|
2789
|
+
experimental_content?: ({
|
|
2790
|
+
type: "text";
|
|
2791
|
+
text: string;
|
|
2792
|
+
} | {
|
|
2793
|
+
mimeType?: string | undefined;
|
|
2794
|
+
type: "image";
|
|
2795
|
+
data: string;
|
|
2796
|
+
})[] | undefined;
|
|
2797
|
+
type: "tool-result";
|
|
2798
|
+
toolCallId: string;
|
|
2799
|
+
toolName: string;
|
|
2800
|
+
result: any;
|
|
2801
|
+
}, {
|
|
2802
|
+
type: import("convex/values").VLiteral<"tool-result", "required">;
|
|
2803
|
+
toolCallId: import("convex/values").VString<string, "required">;
|
|
2804
|
+
toolName: import("convex/values").VString<string, "required">;
|
|
2805
|
+
result: import("convex/values").VAny<any, "required", string>;
|
|
2227
2806
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2228
2807
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
2229
|
-
|
|
2808
|
+
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
2809
|
+
args: import("convex/values").VAny<any, "optional", string>;
|
|
2810
|
+
experimental_content: import("convex/values").VArray<({
|
|
2811
|
+
type: "text";
|
|
2812
|
+
text: string;
|
|
2813
|
+
} | {
|
|
2814
|
+
mimeType?: string | undefined;
|
|
2815
|
+
type: "image";
|
|
2816
|
+
data: string;
|
|
2817
|
+
})[] | undefined, import("convex/values").VUnion<{
|
|
2818
|
+
type: "text";
|
|
2819
|
+
text: string;
|
|
2820
|
+
} | {
|
|
2821
|
+
mimeType?: string | undefined;
|
|
2822
|
+
type: "image";
|
|
2823
|
+
data: string;
|
|
2824
|
+
}, [import("convex/values").VObject<{
|
|
2825
|
+
type: "text";
|
|
2826
|
+
text: string;
|
|
2827
|
+
}, {
|
|
2828
|
+
type: import("convex/values").VLiteral<"text", "required">;
|
|
2829
|
+
text: import("convex/values").VString<string, "required">;
|
|
2830
|
+
}, "required", "type" | "text">, import("convex/values").VObject<{
|
|
2831
|
+
mimeType?: string | undefined;
|
|
2832
|
+
type: "image";
|
|
2833
|
+
data: string;
|
|
2834
|
+
}, {
|
|
2835
|
+
type: import("convex/values").VLiteral<"image", "required">;
|
|
2836
|
+
data: import("convex/values").VString<string, "required">;
|
|
2837
|
+
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
2838
|
+
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
2839
|
+
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">], "required", never>;
|
|
2230
2840
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2231
2841
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
2232
2842
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -2406,7 +3016,6 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2406
3016
|
reasoningDetails: import("convex/values").VArray<({
|
|
2407
3017
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2408
3018
|
signature?: string | undefined;
|
|
2409
|
-
state?: "streaming" | "done" | undefined;
|
|
2410
3019
|
type: "reasoning";
|
|
2411
3020
|
text: string;
|
|
2412
3021
|
} | {
|
|
@@ -2419,7 +3028,6 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2419
3028
|
})[] | undefined, import("convex/values").VUnion<{
|
|
2420
3029
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2421
3030
|
signature?: string | undefined;
|
|
2422
|
-
state?: "streaming" | "done" | undefined;
|
|
2423
3031
|
type: "reasoning";
|
|
2424
3032
|
text: string;
|
|
2425
3033
|
} | {
|
|
@@ -2432,7 +3040,6 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2432
3040
|
}, [import("convex/values").VObject<{
|
|
2433
3041
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2434
3042
|
signature?: string | undefined;
|
|
2435
|
-
state?: "streaming" | "done" | undefined;
|
|
2436
3043
|
type: "reasoning";
|
|
2437
3044
|
text: string;
|
|
2438
3045
|
}, {
|
|
@@ -2440,8 +3047,7 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2440
3047
|
text: import("convex/values").VString<string, "required">;
|
|
2441
3048
|
signature: import("convex/values").VString<string | undefined, "optional">;
|
|
2442
3049
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2443
|
-
|
|
2444
|
-
}, "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "signature" | "state">, import("convex/values").VObject<{
|
|
3050
|
+
}, "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "signature">, import("convex/values").VObject<{
|
|
2445
3051
|
signature?: string | undefined;
|
|
2446
3052
|
type: "text";
|
|
2447
3053
|
text: string;
|
|
@@ -2455,7 +3061,7 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2455
3061
|
}, {
|
|
2456
3062
|
type: import("convex/values").VLiteral<"redacted", "required">;
|
|
2457
3063
|
data: import("convex/values").VString<string, "required">;
|
|
2458
|
-
}, "required", "type" | "data">], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "data" | "signature"
|
|
3064
|
+
}, "required", "type" | "data">], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "data" | "signature">, "optional">;
|
|
2459
3065
|
usage: import("convex/values").VObject<{
|
|
2460
3066
|
reasoningTokens?: number | undefined;
|
|
2461
3067
|
cachedInputTokens?: number | undefined;
|
|
@@ -2565,7 +3171,6 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
2565
3171
|
reasoningDetails?: ({
|
|
2566
3172
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2567
3173
|
signature?: string | undefined;
|
|
2568
|
-
state?: "streaming" | "done" | undefined;
|
|
2569
3174
|
type: "reasoning";
|
|
2570
3175
|
text: string;
|
|
2571
3176
|
} | {
|
|
@@ -2611,7 +3216,6 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
2611
3216
|
} | {
|
|
2612
3217
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2613
3218
|
signature?: string | undefined;
|
|
2614
|
-
state?: "streaming" | "done" | undefined;
|
|
2615
3219
|
type: "reasoning";
|
|
2616
3220
|
text: string;
|
|
2617
3221
|
} | {
|
|
@@ -2625,6 +3229,23 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
2625
3229
|
toolCallId: string;
|
|
2626
3230
|
toolName: string;
|
|
2627
3231
|
args: any;
|
|
3232
|
+
} | {
|
|
3233
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3234
|
+
args?: any;
|
|
3235
|
+
providerExecuted?: boolean | undefined;
|
|
3236
|
+
isError?: boolean | undefined;
|
|
3237
|
+
experimental_content?: ({
|
|
3238
|
+
type: "text";
|
|
3239
|
+
text: string;
|
|
3240
|
+
} | {
|
|
3241
|
+
mimeType?: string | undefined;
|
|
3242
|
+
type: "image";
|
|
3243
|
+
data: string;
|
|
3244
|
+
})[] | undefined;
|
|
3245
|
+
type: "tool-result";
|
|
3246
|
+
toolCallId: string;
|
|
3247
|
+
toolName: string;
|
|
3248
|
+
result: any;
|
|
2628
3249
|
})[];
|
|
2629
3250
|
} | {
|
|
2630
3251
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -2689,7 +3310,6 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
2689
3310
|
} | {
|
|
2690
3311
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2691
3312
|
signature?: string | undefined;
|
|
2692
|
-
state?: "streaming" | "done" | undefined;
|
|
2693
3313
|
type: "reasoning";
|
|
2694
3314
|
text: string;
|
|
2695
3315
|
} | {
|
|
@@ -2703,6 +3323,23 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
2703
3323
|
toolCallId: string;
|
|
2704
3324
|
toolName: string;
|
|
2705
3325
|
args: any;
|
|
3326
|
+
} | {
|
|
3327
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3328
|
+
args?: any;
|
|
3329
|
+
providerExecuted?: boolean | undefined;
|
|
3330
|
+
isError?: boolean | undefined;
|
|
3331
|
+
experimental_content?: ({
|
|
3332
|
+
type: "text";
|
|
3333
|
+
text: string;
|
|
3334
|
+
} | {
|
|
3335
|
+
mimeType?: string | undefined;
|
|
3336
|
+
type: "image";
|
|
3337
|
+
data: string;
|
|
3338
|
+
})[] | undefined;
|
|
3339
|
+
type: "tool-result";
|
|
3340
|
+
toolCallId: string;
|
|
3341
|
+
toolName: string;
|
|
3342
|
+
result: any;
|
|
2706
3343
|
})[];
|
|
2707
3344
|
} | {
|
|
2708
3345
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -2843,7 +3480,6 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
2843
3480
|
} | {
|
|
2844
3481
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2845
3482
|
signature?: string | undefined;
|
|
2846
|
-
state?: "streaming" | "done" | undefined;
|
|
2847
3483
|
type: "reasoning";
|
|
2848
3484
|
text: string;
|
|
2849
3485
|
} | {
|
|
@@ -2857,6 +3493,23 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
2857
3493
|
toolCallId: string;
|
|
2858
3494
|
toolName: string;
|
|
2859
3495
|
args: any;
|
|
3496
|
+
} | {
|
|
3497
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3498
|
+
args?: any;
|
|
3499
|
+
providerExecuted?: boolean | undefined;
|
|
3500
|
+
isError?: boolean | undefined;
|
|
3501
|
+
experimental_content?: ({
|
|
3502
|
+
type: "text";
|
|
3503
|
+
text: string;
|
|
3504
|
+
} | {
|
|
3505
|
+
mimeType?: string | undefined;
|
|
3506
|
+
type: "image";
|
|
3507
|
+
data: string;
|
|
3508
|
+
})[] | undefined;
|
|
3509
|
+
type: "tool-result";
|
|
3510
|
+
toolCallId: string;
|
|
3511
|
+
toolName: string;
|
|
3512
|
+
result: any;
|
|
2860
3513
|
})[];
|
|
2861
3514
|
}, {
|
|
2862
3515
|
role: import("convex/values").VLiteral<"assistant", "required">;
|
|
@@ -2873,7 +3526,6 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
2873
3526
|
} | {
|
|
2874
3527
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2875
3528
|
signature?: string | undefined;
|
|
2876
|
-
state?: "streaming" | "done" | undefined;
|
|
2877
3529
|
type: "reasoning";
|
|
2878
3530
|
text: string;
|
|
2879
3531
|
} | {
|
|
@@ -2887,6 +3539,23 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
2887
3539
|
toolCallId: string;
|
|
2888
3540
|
toolName: string;
|
|
2889
3541
|
args: any;
|
|
3542
|
+
} | {
|
|
3543
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3544
|
+
args?: any;
|
|
3545
|
+
providerExecuted?: boolean | undefined;
|
|
3546
|
+
isError?: boolean | undefined;
|
|
3547
|
+
experimental_content?: ({
|
|
3548
|
+
type: "text";
|
|
3549
|
+
text: string;
|
|
3550
|
+
} | {
|
|
3551
|
+
mimeType?: string | undefined;
|
|
3552
|
+
type: "image";
|
|
3553
|
+
data: string;
|
|
3554
|
+
})[] | undefined;
|
|
3555
|
+
type: "tool-result";
|
|
3556
|
+
toolCallId: string;
|
|
3557
|
+
toolName: string;
|
|
3558
|
+
result: any;
|
|
2890
3559
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
2891
3560
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2892
3561
|
type: "text";
|
|
@@ -2900,7 +3569,6 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
2900
3569
|
} | {
|
|
2901
3570
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2902
3571
|
signature?: string | undefined;
|
|
2903
|
-
state?: "streaming" | "done" | undefined;
|
|
2904
3572
|
type: "reasoning";
|
|
2905
3573
|
text: string;
|
|
2906
3574
|
} | {
|
|
@@ -2914,6 +3582,23 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
2914
3582
|
toolCallId: string;
|
|
2915
3583
|
toolName: string;
|
|
2916
3584
|
args: any;
|
|
3585
|
+
} | {
|
|
3586
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3587
|
+
args?: any;
|
|
3588
|
+
providerExecuted?: boolean | undefined;
|
|
3589
|
+
isError?: boolean | undefined;
|
|
3590
|
+
experimental_content?: ({
|
|
3591
|
+
type: "text";
|
|
3592
|
+
text: string;
|
|
3593
|
+
} | {
|
|
3594
|
+
mimeType?: string | undefined;
|
|
3595
|
+
type: "image";
|
|
3596
|
+
data: string;
|
|
3597
|
+
})[] | undefined;
|
|
3598
|
+
type: "tool-result";
|
|
3599
|
+
toolCallId: string;
|
|
3600
|
+
toolName: string;
|
|
3601
|
+
result: any;
|
|
2917
3602
|
})[], import("convex/values").VUnion<{
|
|
2918
3603
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2919
3604
|
type: "text";
|
|
@@ -2927,7 +3612,6 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
2927
3612
|
} | {
|
|
2928
3613
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2929
3614
|
signature?: string | undefined;
|
|
2930
|
-
state?: "streaming" | "done" | undefined;
|
|
2931
3615
|
type: "reasoning";
|
|
2932
3616
|
text: string;
|
|
2933
3617
|
} | {
|
|
@@ -2941,6 +3625,23 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
2941
3625
|
toolCallId: string;
|
|
2942
3626
|
toolName: string;
|
|
2943
3627
|
args: any;
|
|
3628
|
+
} | {
|
|
3629
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3630
|
+
args?: any;
|
|
3631
|
+
providerExecuted?: boolean | undefined;
|
|
3632
|
+
isError?: boolean | undefined;
|
|
3633
|
+
experimental_content?: ({
|
|
3634
|
+
type: "text";
|
|
3635
|
+
text: string;
|
|
3636
|
+
} | {
|
|
3637
|
+
mimeType?: string | undefined;
|
|
3638
|
+
type: "image";
|
|
3639
|
+
data: string;
|
|
3640
|
+
})[] | undefined;
|
|
3641
|
+
type: "tool-result";
|
|
3642
|
+
toolCallId: string;
|
|
3643
|
+
toolName: string;
|
|
3644
|
+
result: any;
|
|
2944
3645
|
}, [import("convex/values").VObject<{
|
|
2945
3646
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2946
3647
|
type: "text";
|
|
@@ -2964,7 +3665,6 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
2964
3665
|
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mimeType" | "data" | "filename">, import("convex/values").VObject<{
|
|
2965
3666
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2966
3667
|
signature?: string | undefined;
|
|
2967
|
-
state?: "streaming" | "done" | undefined;
|
|
2968
3668
|
type: "reasoning";
|
|
2969
3669
|
text: string;
|
|
2970
3670
|
}, {
|
|
@@ -2972,8 +3672,7 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
2972
3672
|
text: import("convex/values").VString<string, "required">;
|
|
2973
3673
|
signature: import("convex/values").VString<string | undefined, "optional">;
|
|
2974
3674
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2975
|
-
|
|
2976
|
-
}, "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "signature" | "state">, import("convex/values").VObject<{
|
|
3675
|
+
}, "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "signature">, import("convex/values").VObject<{
|
|
2977
3676
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2978
3677
|
type: "redacted-reasoning";
|
|
2979
3678
|
data: string;
|
|
@@ -2993,9 +3692,64 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
2993
3692
|
toolCallId: import("convex/values").VString<string, "required">;
|
|
2994
3693
|
toolName: import("convex/values").VString<string, "required">;
|
|
2995
3694
|
args: import("convex/values").VAny<any, "required", string>;
|
|
3695
|
+
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
3696
|
+
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3697
|
+
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}`>, import("convex/values").VObject<{
|
|
3698
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3699
|
+
args?: any;
|
|
3700
|
+
providerExecuted?: boolean | undefined;
|
|
3701
|
+
isError?: boolean | undefined;
|
|
3702
|
+
experimental_content?: ({
|
|
3703
|
+
type: "text";
|
|
3704
|
+
text: string;
|
|
3705
|
+
} | {
|
|
3706
|
+
mimeType?: string | undefined;
|
|
3707
|
+
type: "image";
|
|
3708
|
+
data: string;
|
|
3709
|
+
})[] | undefined;
|
|
3710
|
+
type: "tool-result";
|
|
3711
|
+
toolCallId: string;
|
|
3712
|
+
toolName: string;
|
|
3713
|
+
result: any;
|
|
3714
|
+
}, {
|
|
3715
|
+
type: import("convex/values").VLiteral<"tool-result", "required">;
|
|
3716
|
+
toolCallId: import("convex/values").VString<string, "required">;
|
|
3717
|
+
toolName: import("convex/values").VString<string, "required">;
|
|
3718
|
+
result: import("convex/values").VAny<any, "required", string>;
|
|
2996
3719
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2997
3720
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
2998
|
-
|
|
3721
|
+
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
3722
|
+
args: import("convex/values").VAny<any, "optional", string>;
|
|
3723
|
+
experimental_content: import("convex/values").VArray<({
|
|
3724
|
+
type: "text";
|
|
3725
|
+
text: string;
|
|
3726
|
+
} | {
|
|
3727
|
+
mimeType?: string | undefined;
|
|
3728
|
+
type: "image";
|
|
3729
|
+
data: string;
|
|
3730
|
+
})[] | undefined, import("convex/values").VUnion<{
|
|
3731
|
+
type: "text";
|
|
3732
|
+
text: string;
|
|
3733
|
+
} | {
|
|
3734
|
+
mimeType?: string | undefined;
|
|
3735
|
+
type: "image";
|
|
3736
|
+
data: string;
|
|
3737
|
+
}, [import("convex/values").VObject<{
|
|
3738
|
+
type: "text";
|
|
3739
|
+
text: string;
|
|
3740
|
+
}, {
|
|
3741
|
+
type: import("convex/values").VLiteral<"text", "required">;
|
|
3742
|
+
text: import("convex/values").VString<string, "required">;
|
|
3743
|
+
}, "required", "type" | "text">, import("convex/values").VObject<{
|
|
3744
|
+
mimeType?: string | undefined;
|
|
3745
|
+
type: "image";
|
|
3746
|
+
data: string;
|
|
3747
|
+
}, {
|
|
3748
|
+
type: import("convex/values").VLiteral<"image", "required">;
|
|
3749
|
+
data: import("convex/values").VString<string, "required">;
|
|
3750
|
+
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
3751
|
+
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
3752
|
+
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">], "required", never>;
|
|
2999
3753
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3000
3754
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
3001
3755
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -3174,7 +3928,6 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3174
3928
|
reasoningDetails: import("convex/values").VArray<({
|
|
3175
3929
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3176
3930
|
signature?: string | undefined;
|
|
3177
|
-
state?: "streaming" | "done" | undefined;
|
|
3178
3931
|
type: "reasoning";
|
|
3179
3932
|
text: string;
|
|
3180
3933
|
} | {
|
|
@@ -3187,7 +3940,6 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3187
3940
|
})[] | undefined, import("convex/values").VUnion<{
|
|
3188
3941
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3189
3942
|
signature?: string | undefined;
|
|
3190
|
-
state?: "streaming" | "done" | undefined;
|
|
3191
3943
|
type: "reasoning";
|
|
3192
3944
|
text: string;
|
|
3193
3945
|
} | {
|
|
@@ -3200,7 +3952,6 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3200
3952
|
}, [import("convex/values").VObject<{
|
|
3201
3953
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3202
3954
|
signature?: string | undefined;
|
|
3203
|
-
state?: "streaming" | "done" | undefined;
|
|
3204
3955
|
type: "reasoning";
|
|
3205
3956
|
text: string;
|
|
3206
3957
|
}, {
|
|
@@ -3208,8 +3959,7 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3208
3959
|
text: import("convex/values").VString<string, "required">;
|
|
3209
3960
|
signature: import("convex/values").VString<string | undefined, "optional">;
|
|
3210
3961
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3211
|
-
|
|
3212
|
-
}, "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "signature" | "state">, import("convex/values").VObject<{
|
|
3962
|
+
}, "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "signature">, import("convex/values").VObject<{
|
|
3213
3963
|
signature?: string | undefined;
|
|
3214
3964
|
type: "text";
|
|
3215
3965
|
text: string;
|
|
@@ -3223,7 +3973,7 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3223
3973
|
}, {
|
|
3224
3974
|
type: import("convex/values").VLiteral<"redacted", "required">;
|
|
3225
3975
|
data: import("convex/values").VString<string, "required">;
|
|
3226
|
-
}, "required", "type" | "data">], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "data" | "signature"
|
|
3976
|
+
}, "required", "type" | "data">], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "data" | "signature">, "optional">;
|
|
3227
3977
|
usage: import("convex/values").VObject<{
|
|
3228
3978
|
reasoningTokens?: number | undefined;
|
|
3229
3979
|
cachedInputTokens?: number | undefined;
|
|
@@ -3435,7 +4185,6 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
3435
4185
|
} | {
|
|
3436
4186
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3437
4187
|
signature?: string | undefined;
|
|
3438
|
-
state?: "streaming" | "done" | undefined;
|
|
3439
4188
|
type: "reasoning";
|
|
3440
4189
|
text: string;
|
|
3441
4190
|
} | {
|
|
@@ -3449,6 +4198,23 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
3449
4198
|
toolCallId: string;
|
|
3450
4199
|
toolName: string;
|
|
3451
4200
|
args: any;
|
|
4201
|
+
} | {
|
|
4202
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4203
|
+
args?: any;
|
|
4204
|
+
providerExecuted?: boolean | undefined;
|
|
4205
|
+
isError?: boolean | undefined;
|
|
4206
|
+
experimental_content?: ({
|
|
4207
|
+
type: "text";
|
|
4208
|
+
text: string;
|
|
4209
|
+
} | {
|
|
4210
|
+
mimeType?: string | undefined;
|
|
4211
|
+
type: "image";
|
|
4212
|
+
data: string;
|
|
4213
|
+
})[] | undefined;
|
|
4214
|
+
type: "tool-result";
|
|
4215
|
+
toolCallId: string;
|
|
4216
|
+
toolName: string;
|
|
4217
|
+
result: any;
|
|
3452
4218
|
})[];
|
|
3453
4219
|
} | {
|
|
3454
4220
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -3566,7 +4332,6 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
3566
4332
|
} | {
|
|
3567
4333
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3568
4334
|
signature?: string | undefined;
|
|
3569
|
-
state?: "streaming" | "done" | undefined;
|
|
3570
4335
|
type: "reasoning";
|
|
3571
4336
|
text: string;
|
|
3572
4337
|
} | {
|
|
@@ -3580,6 +4345,23 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
3580
4345
|
toolCallId: string;
|
|
3581
4346
|
toolName: string;
|
|
3582
4347
|
args: any;
|
|
4348
|
+
} | {
|
|
4349
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4350
|
+
args?: any;
|
|
4351
|
+
providerExecuted?: boolean | undefined;
|
|
4352
|
+
isError?: boolean | undefined;
|
|
4353
|
+
experimental_content?: ({
|
|
4354
|
+
type: "text";
|
|
4355
|
+
text: string;
|
|
4356
|
+
} | {
|
|
4357
|
+
mimeType?: string | undefined;
|
|
4358
|
+
type: "image";
|
|
4359
|
+
data: string;
|
|
4360
|
+
})[] | undefined;
|
|
4361
|
+
type: "tool-result";
|
|
4362
|
+
toolCallId: string;
|
|
4363
|
+
toolName: string;
|
|
4364
|
+
result: any;
|
|
3583
4365
|
})[];
|
|
3584
4366
|
} | {
|
|
3585
4367
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -3641,7 +4423,6 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
3641
4423
|
} | {
|
|
3642
4424
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3643
4425
|
signature?: string | undefined;
|
|
3644
|
-
state?: "streaming" | "done" | undefined;
|
|
3645
4426
|
type: "reasoning";
|
|
3646
4427
|
text: string;
|
|
3647
4428
|
} | {
|
|
@@ -3655,6 +4436,23 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
3655
4436
|
toolCallId: string;
|
|
3656
4437
|
toolName: string;
|
|
3657
4438
|
args: any;
|
|
4439
|
+
} | {
|
|
4440
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4441
|
+
args?: any;
|
|
4442
|
+
providerExecuted?: boolean | undefined;
|
|
4443
|
+
isError?: boolean | undefined;
|
|
4444
|
+
experimental_content?: ({
|
|
4445
|
+
type: "text";
|
|
4446
|
+
text: string;
|
|
4447
|
+
} | {
|
|
4448
|
+
mimeType?: string | undefined;
|
|
4449
|
+
type: "image";
|
|
4450
|
+
data: string;
|
|
4451
|
+
})[] | undefined;
|
|
4452
|
+
type: "tool-result";
|
|
4453
|
+
toolCallId: string;
|
|
4454
|
+
toolName: string;
|
|
4455
|
+
result: any;
|
|
3658
4456
|
})[];
|
|
3659
4457
|
} | {
|
|
3660
4458
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -3795,7 +4593,6 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
3795
4593
|
} | {
|
|
3796
4594
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3797
4595
|
signature?: string | undefined;
|
|
3798
|
-
state?: "streaming" | "done" | undefined;
|
|
3799
4596
|
type: "reasoning";
|
|
3800
4597
|
text: string;
|
|
3801
4598
|
} | {
|
|
@@ -3809,6 +4606,23 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
3809
4606
|
toolCallId: string;
|
|
3810
4607
|
toolName: string;
|
|
3811
4608
|
args: any;
|
|
4609
|
+
} | {
|
|
4610
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4611
|
+
args?: any;
|
|
4612
|
+
providerExecuted?: boolean | undefined;
|
|
4613
|
+
isError?: boolean | undefined;
|
|
4614
|
+
experimental_content?: ({
|
|
4615
|
+
type: "text";
|
|
4616
|
+
text: string;
|
|
4617
|
+
} | {
|
|
4618
|
+
mimeType?: string | undefined;
|
|
4619
|
+
type: "image";
|
|
4620
|
+
data: string;
|
|
4621
|
+
})[] | undefined;
|
|
4622
|
+
type: "tool-result";
|
|
4623
|
+
toolCallId: string;
|
|
4624
|
+
toolName: string;
|
|
4625
|
+
result: any;
|
|
3812
4626
|
})[];
|
|
3813
4627
|
}, {
|
|
3814
4628
|
role: import("convex/values").VLiteral<"assistant", "required">;
|
|
@@ -3825,7 +4639,6 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
3825
4639
|
} | {
|
|
3826
4640
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3827
4641
|
signature?: string | undefined;
|
|
3828
|
-
state?: "streaming" | "done" | undefined;
|
|
3829
4642
|
type: "reasoning";
|
|
3830
4643
|
text: string;
|
|
3831
4644
|
} | {
|
|
@@ -3839,6 +4652,23 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
3839
4652
|
toolCallId: string;
|
|
3840
4653
|
toolName: string;
|
|
3841
4654
|
args: any;
|
|
4655
|
+
} | {
|
|
4656
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4657
|
+
args?: any;
|
|
4658
|
+
providerExecuted?: boolean | undefined;
|
|
4659
|
+
isError?: boolean | undefined;
|
|
4660
|
+
experimental_content?: ({
|
|
4661
|
+
type: "text";
|
|
4662
|
+
text: string;
|
|
4663
|
+
} | {
|
|
4664
|
+
mimeType?: string | undefined;
|
|
4665
|
+
type: "image";
|
|
4666
|
+
data: string;
|
|
4667
|
+
})[] | undefined;
|
|
4668
|
+
type: "tool-result";
|
|
4669
|
+
toolCallId: string;
|
|
4670
|
+
toolName: string;
|
|
4671
|
+
result: any;
|
|
3842
4672
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
3843
4673
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3844
4674
|
type: "text";
|
|
@@ -3852,7 +4682,6 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
3852
4682
|
} | {
|
|
3853
4683
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3854
4684
|
signature?: string | undefined;
|
|
3855
|
-
state?: "streaming" | "done" | undefined;
|
|
3856
4685
|
type: "reasoning";
|
|
3857
4686
|
text: string;
|
|
3858
4687
|
} | {
|
|
@@ -3865,7 +4694,24 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
3865
4694
|
type: "tool-call";
|
|
3866
4695
|
toolCallId: string;
|
|
3867
4696
|
toolName: string;
|
|
3868
|
-
args: any;
|
|
4697
|
+
args: any;
|
|
4698
|
+
} | {
|
|
4699
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4700
|
+
args?: any;
|
|
4701
|
+
providerExecuted?: boolean | undefined;
|
|
4702
|
+
isError?: boolean | undefined;
|
|
4703
|
+
experimental_content?: ({
|
|
4704
|
+
type: "text";
|
|
4705
|
+
text: string;
|
|
4706
|
+
} | {
|
|
4707
|
+
mimeType?: string | undefined;
|
|
4708
|
+
type: "image";
|
|
4709
|
+
data: string;
|
|
4710
|
+
})[] | undefined;
|
|
4711
|
+
type: "tool-result";
|
|
4712
|
+
toolCallId: string;
|
|
4713
|
+
toolName: string;
|
|
4714
|
+
result: any;
|
|
3869
4715
|
})[], import("convex/values").VUnion<{
|
|
3870
4716
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3871
4717
|
type: "text";
|
|
@@ -3879,7 +4725,6 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
3879
4725
|
} | {
|
|
3880
4726
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3881
4727
|
signature?: string | undefined;
|
|
3882
|
-
state?: "streaming" | "done" | undefined;
|
|
3883
4728
|
type: "reasoning";
|
|
3884
4729
|
text: string;
|
|
3885
4730
|
} | {
|
|
@@ -3893,6 +4738,23 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
3893
4738
|
toolCallId: string;
|
|
3894
4739
|
toolName: string;
|
|
3895
4740
|
args: any;
|
|
4741
|
+
} | {
|
|
4742
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4743
|
+
args?: any;
|
|
4744
|
+
providerExecuted?: boolean | undefined;
|
|
4745
|
+
isError?: boolean | undefined;
|
|
4746
|
+
experimental_content?: ({
|
|
4747
|
+
type: "text";
|
|
4748
|
+
text: string;
|
|
4749
|
+
} | {
|
|
4750
|
+
mimeType?: string | undefined;
|
|
4751
|
+
type: "image";
|
|
4752
|
+
data: string;
|
|
4753
|
+
})[] | undefined;
|
|
4754
|
+
type: "tool-result";
|
|
4755
|
+
toolCallId: string;
|
|
4756
|
+
toolName: string;
|
|
4757
|
+
result: any;
|
|
3896
4758
|
}, [import("convex/values").VObject<{
|
|
3897
4759
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3898
4760
|
type: "text";
|
|
@@ -3916,7 +4778,6 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
3916
4778
|
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mimeType" | "data" | "filename">, import("convex/values").VObject<{
|
|
3917
4779
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3918
4780
|
signature?: string | undefined;
|
|
3919
|
-
state?: "streaming" | "done" | undefined;
|
|
3920
4781
|
type: "reasoning";
|
|
3921
4782
|
text: string;
|
|
3922
4783
|
}, {
|
|
@@ -3924,8 +4785,7 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
3924
4785
|
text: import("convex/values").VString<string, "required">;
|
|
3925
4786
|
signature: import("convex/values").VString<string | undefined, "optional">;
|
|
3926
4787
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3927
|
-
|
|
3928
|
-
}, "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "signature" | "state">, import("convex/values").VObject<{
|
|
4788
|
+
}, "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "signature">, import("convex/values").VObject<{
|
|
3929
4789
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3930
4790
|
type: "redacted-reasoning";
|
|
3931
4791
|
data: string;
|
|
@@ -3945,9 +4805,64 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
3945
4805
|
toolCallId: import("convex/values").VString<string, "required">;
|
|
3946
4806
|
toolName: import("convex/values").VString<string, "required">;
|
|
3947
4807
|
args: import("convex/values").VAny<any, "required", string>;
|
|
4808
|
+
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
4809
|
+
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
4810
|
+
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}`>, import("convex/values").VObject<{
|
|
4811
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4812
|
+
args?: any;
|
|
4813
|
+
providerExecuted?: boolean | undefined;
|
|
4814
|
+
isError?: boolean | undefined;
|
|
4815
|
+
experimental_content?: ({
|
|
4816
|
+
type: "text";
|
|
4817
|
+
text: string;
|
|
4818
|
+
} | {
|
|
4819
|
+
mimeType?: string | undefined;
|
|
4820
|
+
type: "image";
|
|
4821
|
+
data: string;
|
|
4822
|
+
})[] | undefined;
|
|
4823
|
+
type: "tool-result";
|
|
4824
|
+
toolCallId: string;
|
|
4825
|
+
toolName: string;
|
|
4826
|
+
result: any;
|
|
4827
|
+
}, {
|
|
4828
|
+
type: import("convex/values").VLiteral<"tool-result", "required">;
|
|
4829
|
+
toolCallId: import("convex/values").VString<string, "required">;
|
|
4830
|
+
toolName: import("convex/values").VString<string, "required">;
|
|
4831
|
+
result: import("convex/values").VAny<any, "required", string>;
|
|
3948
4832
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3949
4833
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
3950
|
-
|
|
4834
|
+
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
4835
|
+
args: import("convex/values").VAny<any, "optional", string>;
|
|
4836
|
+
experimental_content: import("convex/values").VArray<({
|
|
4837
|
+
type: "text";
|
|
4838
|
+
text: string;
|
|
4839
|
+
} | {
|
|
4840
|
+
mimeType?: string | undefined;
|
|
4841
|
+
type: "image";
|
|
4842
|
+
data: string;
|
|
4843
|
+
})[] | undefined, import("convex/values").VUnion<{
|
|
4844
|
+
type: "text";
|
|
4845
|
+
text: string;
|
|
4846
|
+
} | {
|
|
4847
|
+
mimeType?: string | undefined;
|
|
4848
|
+
type: "image";
|
|
4849
|
+
data: string;
|
|
4850
|
+
}, [import("convex/values").VObject<{
|
|
4851
|
+
type: "text";
|
|
4852
|
+
text: string;
|
|
4853
|
+
}, {
|
|
4854
|
+
type: import("convex/values").VLiteral<"text", "required">;
|
|
4855
|
+
text: import("convex/values").VString<string, "required">;
|
|
4856
|
+
}, "required", "type" | "text">, import("convex/values").VObject<{
|
|
4857
|
+
mimeType?: string | undefined;
|
|
4858
|
+
type: "image";
|
|
4859
|
+
data: string;
|
|
4860
|
+
}, {
|
|
4861
|
+
type: import("convex/values").VLiteral<"image", "required">;
|
|
4862
|
+
data: import("convex/values").VString<string, "required">;
|
|
4863
|
+
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
4864
|
+
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
4865
|
+
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">], "required", never>;
|
|
3951
4866
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3952
4867
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
3953
4868
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -4170,7 +5085,6 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
4170
5085
|
} | {
|
|
4171
5086
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4172
5087
|
signature?: string | undefined;
|
|
4173
|
-
state?: "streaming" | "done" | undefined;
|
|
4174
5088
|
type: "reasoning";
|
|
4175
5089
|
text: string;
|
|
4176
5090
|
} | {
|
|
@@ -4184,6 +5098,23 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
4184
5098
|
toolCallId: string;
|
|
4185
5099
|
toolName: string;
|
|
4186
5100
|
args: any;
|
|
5101
|
+
} | {
|
|
5102
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5103
|
+
args?: any;
|
|
5104
|
+
providerExecuted?: boolean | undefined;
|
|
5105
|
+
isError?: boolean | undefined;
|
|
5106
|
+
experimental_content?: ({
|
|
5107
|
+
type: "text";
|
|
5108
|
+
text: string;
|
|
5109
|
+
} | {
|
|
5110
|
+
mimeType?: string | undefined;
|
|
5111
|
+
type: "image";
|
|
5112
|
+
data: string;
|
|
5113
|
+
})[] | undefined;
|
|
5114
|
+
type: "tool-result";
|
|
5115
|
+
toolCallId: string;
|
|
5116
|
+
toolName: string;
|
|
5117
|
+
result: any;
|
|
4187
5118
|
})[];
|
|
4188
5119
|
} | {
|
|
4189
5120
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -4281,7 +5212,6 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
4281
5212
|
} | {
|
|
4282
5213
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4283
5214
|
signature?: string | undefined;
|
|
4284
|
-
state?: "streaming" | "done" | undefined;
|
|
4285
5215
|
type: "reasoning";
|
|
4286
5216
|
text: string;
|
|
4287
5217
|
} | {
|
|
@@ -4295,6 +5225,23 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
4295
5225
|
toolCallId: string;
|
|
4296
5226
|
toolName: string;
|
|
4297
5227
|
args: any;
|
|
5228
|
+
} | {
|
|
5229
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5230
|
+
args?: any;
|
|
5231
|
+
providerExecuted?: boolean | undefined;
|
|
5232
|
+
isError?: boolean | undefined;
|
|
5233
|
+
experimental_content?: ({
|
|
5234
|
+
type: "text";
|
|
5235
|
+
text: string;
|
|
5236
|
+
} | {
|
|
5237
|
+
mimeType?: string | undefined;
|
|
5238
|
+
type: "image";
|
|
5239
|
+
data: string;
|
|
5240
|
+
})[] | undefined;
|
|
5241
|
+
type: "tool-result";
|
|
5242
|
+
toolCallId: string;
|
|
5243
|
+
toolName: string;
|
|
5244
|
+
result: any;
|
|
4298
5245
|
})[];
|
|
4299
5246
|
} | {
|
|
4300
5247
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -4356,7 +5303,6 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
4356
5303
|
} | {
|
|
4357
5304
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4358
5305
|
signature?: string | undefined;
|
|
4359
|
-
state?: "streaming" | "done" | undefined;
|
|
4360
5306
|
type: "reasoning";
|
|
4361
5307
|
text: string;
|
|
4362
5308
|
} | {
|
|
@@ -4370,6 +5316,23 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
4370
5316
|
toolCallId: string;
|
|
4371
5317
|
toolName: string;
|
|
4372
5318
|
args: any;
|
|
5319
|
+
} | {
|
|
5320
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5321
|
+
args?: any;
|
|
5322
|
+
providerExecuted?: boolean | undefined;
|
|
5323
|
+
isError?: boolean | undefined;
|
|
5324
|
+
experimental_content?: ({
|
|
5325
|
+
type: "text";
|
|
5326
|
+
text: string;
|
|
5327
|
+
} | {
|
|
5328
|
+
mimeType?: string | undefined;
|
|
5329
|
+
type: "image";
|
|
5330
|
+
data: string;
|
|
5331
|
+
})[] | undefined;
|
|
5332
|
+
type: "tool-result";
|
|
5333
|
+
toolCallId: string;
|
|
5334
|
+
toolName: string;
|
|
5335
|
+
result: any;
|
|
4373
5336
|
})[];
|
|
4374
5337
|
} | {
|
|
4375
5338
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -4510,7 +5473,6 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
4510
5473
|
} | {
|
|
4511
5474
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4512
5475
|
signature?: string | undefined;
|
|
4513
|
-
state?: "streaming" | "done" | undefined;
|
|
4514
5476
|
type: "reasoning";
|
|
4515
5477
|
text: string;
|
|
4516
5478
|
} | {
|
|
@@ -4524,6 +5486,23 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
4524
5486
|
toolCallId: string;
|
|
4525
5487
|
toolName: string;
|
|
4526
5488
|
args: any;
|
|
5489
|
+
} | {
|
|
5490
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5491
|
+
args?: any;
|
|
5492
|
+
providerExecuted?: boolean | undefined;
|
|
5493
|
+
isError?: boolean | undefined;
|
|
5494
|
+
experimental_content?: ({
|
|
5495
|
+
type: "text";
|
|
5496
|
+
text: string;
|
|
5497
|
+
} | {
|
|
5498
|
+
mimeType?: string | undefined;
|
|
5499
|
+
type: "image";
|
|
5500
|
+
data: string;
|
|
5501
|
+
})[] | undefined;
|
|
5502
|
+
type: "tool-result";
|
|
5503
|
+
toolCallId: string;
|
|
5504
|
+
toolName: string;
|
|
5505
|
+
result: any;
|
|
4527
5506
|
})[];
|
|
4528
5507
|
}, {
|
|
4529
5508
|
role: import("convex/values").VLiteral<"assistant", "required">;
|
|
@@ -4540,7 +5519,6 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
4540
5519
|
} | {
|
|
4541
5520
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4542
5521
|
signature?: string | undefined;
|
|
4543
|
-
state?: "streaming" | "done" | undefined;
|
|
4544
5522
|
type: "reasoning";
|
|
4545
5523
|
text: string;
|
|
4546
5524
|
} | {
|
|
@@ -4554,6 +5532,23 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
4554
5532
|
toolCallId: string;
|
|
4555
5533
|
toolName: string;
|
|
4556
5534
|
args: any;
|
|
5535
|
+
} | {
|
|
5536
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5537
|
+
args?: any;
|
|
5538
|
+
providerExecuted?: boolean | undefined;
|
|
5539
|
+
isError?: boolean | undefined;
|
|
5540
|
+
experimental_content?: ({
|
|
5541
|
+
type: "text";
|
|
5542
|
+
text: string;
|
|
5543
|
+
} | {
|
|
5544
|
+
mimeType?: string | undefined;
|
|
5545
|
+
type: "image";
|
|
5546
|
+
data: string;
|
|
5547
|
+
})[] | undefined;
|
|
5548
|
+
type: "tool-result";
|
|
5549
|
+
toolCallId: string;
|
|
5550
|
+
toolName: string;
|
|
5551
|
+
result: any;
|
|
4557
5552
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
4558
5553
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4559
5554
|
type: "text";
|
|
@@ -4567,7 +5562,6 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
4567
5562
|
} | {
|
|
4568
5563
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4569
5564
|
signature?: string | undefined;
|
|
4570
|
-
state?: "streaming" | "done" | undefined;
|
|
4571
5565
|
type: "reasoning";
|
|
4572
5566
|
text: string;
|
|
4573
5567
|
} | {
|
|
@@ -4581,6 +5575,23 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
4581
5575
|
toolCallId: string;
|
|
4582
5576
|
toolName: string;
|
|
4583
5577
|
args: any;
|
|
5578
|
+
} | {
|
|
5579
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5580
|
+
args?: any;
|
|
5581
|
+
providerExecuted?: boolean | undefined;
|
|
5582
|
+
isError?: boolean | undefined;
|
|
5583
|
+
experimental_content?: ({
|
|
5584
|
+
type: "text";
|
|
5585
|
+
text: string;
|
|
5586
|
+
} | {
|
|
5587
|
+
mimeType?: string | undefined;
|
|
5588
|
+
type: "image";
|
|
5589
|
+
data: string;
|
|
5590
|
+
})[] | undefined;
|
|
5591
|
+
type: "tool-result";
|
|
5592
|
+
toolCallId: string;
|
|
5593
|
+
toolName: string;
|
|
5594
|
+
result: any;
|
|
4584
5595
|
})[], import("convex/values").VUnion<{
|
|
4585
5596
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4586
5597
|
type: "text";
|
|
@@ -4594,7 +5605,6 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
4594
5605
|
} | {
|
|
4595
5606
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4596
5607
|
signature?: string | undefined;
|
|
4597
|
-
state?: "streaming" | "done" | undefined;
|
|
4598
5608
|
type: "reasoning";
|
|
4599
5609
|
text: string;
|
|
4600
5610
|
} | {
|
|
@@ -4608,6 +5618,23 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
4608
5618
|
toolCallId: string;
|
|
4609
5619
|
toolName: string;
|
|
4610
5620
|
args: any;
|
|
5621
|
+
} | {
|
|
5622
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5623
|
+
args?: any;
|
|
5624
|
+
providerExecuted?: boolean | undefined;
|
|
5625
|
+
isError?: boolean | undefined;
|
|
5626
|
+
experimental_content?: ({
|
|
5627
|
+
type: "text";
|
|
5628
|
+
text: string;
|
|
5629
|
+
} | {
|
|
5630
|
+
mimeType?: string | undefined;
|
|
5631
|
+
type: "image";
|
|
5632
|
+
data: string;
|
|
5633
|
+
})[] | undefined;
|
|
5634
|
+
type: "tool-result";
|
|
5635
|
+
toolCallId: string;
|
|
5636
|
+
toolName: string;
|
|
5637
|
+
result: any;
|
|
4611
5638
|
}, [import("convex/values").VObject<{
|
|
4612
5639
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4613
5640
|
type: "text";
|
|
@@ -4631,7 +5658,6 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
4631
5658
|
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mimeType" | "data" | "filename">, import("convex/values").VObject<{
|
|
4632
5659
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4633
5660
|
signature?: string | undefined;
|
|
4634
|
-
state?: "streaming" | "done" | undefined;
|
|
4635
5661
|
type: "reasoning";
|
|
4636
5662
|
text: string;
|
|
4637
5663
|
}, {
|
|
@@ -4639,8 +5665,7 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
4639
5665
|
text: import("convex/values").VString<string, "required">;
|
|
4640
5666
|
signature: import("convex/values").VString<string | undefined, "optional">;
|
|
4641
5667
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
4642
|
-
|
|
4643
|
-
}, "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "signature" | "state">, import("convex/values").VObject<{
|
|
5668
|
+
}, "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "signature">, import("convex/values").VObject<{
|
|
4644
5669
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4645
5670
|
type: "redacted-reasoning";
|
|
4646
5671
|
data: string;
|
|
@@ -4660,9 +5685,64 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
4660
5685
|
toolCallId: import("convex/values").VString<string, "required">;
|
|
4661
5686
|
toolName: import("convex/values").VString<string, "required">;
|
|
4662
5687
|
args: import("convex/values").VAny<any, "required", string>;
|
|
5688
|
+
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
5689
|
+
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
5690
|
+
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}`>, import("convex/values").VObject<{
|
|
5691
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5692
|
+
args?: any;
|
|
5693
|
+
providerExecuted?: boolean | undefined;
|
|
5694
|
+
isError?: boolean | undefined;
|
|
5695
|
+
experimental_content?: ({
|
|
5696
|
+
type: "text";
|
|
5697
|
+
text: string;
|
|
5698
|
+
} | {
|
|
5699
|
+
mimeType?: string | undefined;
|
|
5700
|
+
type: "image";
|
|
5701
|
+
data: string;
|
|
5702
|
+
})[] | undefined;
|
|
5703
|
+
type: "tool-result";
|
|
5704
|
+
toolCallId: string;
|
|
5705
|
+
toolName: string;
|
|
5706
|
+
result: any;
|
|
5707
|
+
}, {
|
|
5708
|
+
type: import("convex/values").VLiteral<"tool-result", "required">;
|
|
5709
|
+
toolCallId: import("convex/values").VString<string, "required">;
|
|
5710
|
+
toolName: import("convex/values").VString<string, "required">;
|
|
5711
|
+
result: import("convex/values").VAny<any, "required", string>;
|
|
4663
5712
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
4664
5713
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
4665
|
-
|
|
5714
|
+
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
5715
|
+
args: import("convex/values").VAny<any, "optional", string>;
|
|
5716
|
+
experimental_content: import("convex/values").VArray<({
|
|
5717
|
+
type: "text";
|
|
5718
|
+
text: string;
|
|
5719
|
+
} | {
|
|
5720
|
+
mimeType?: string | undefined;
|
|
5721
|
+
type: "image";
|
|
5722
|
+
data: string;
|
|
5723
|
+
})[] | undefined, import("convex/values").VUnion<{
|
|
5724
|
+
type: "text";
|
|
5725
|
+
text: string;
|
|
5726
|
+
} | {
|
|
5727
|
+
mimeType?: string | undefined;
|
|
5728
|
+
type: "image";
|
|
5729
|
+
data: string;
|
|
5730
|
+
}, [import("convex/values").VObject<{
|
|
5731
|
+
type: "text";
|
|
5732
|
+
text: string;
|
|
5733
|
+
}, {
|
|
5734
|
+
type: import("convex/values").VLiteral<"text", "required">;
|
|
5735
|
+
text: import("convex/values").VString<string, "required">;
|
|
5736
|
+
}, "required", "type" | "text">, import("convex/values").VObject<{
|
|
5737
|
+
mimeType?: string | undefined;
|
|
5738
|
+
type: "image";
|
|
5739
|
+
data: string;
|
|
5740
|
+
}, {
|
|
5741
|
+
type: import("convex/values").VLiteral<"image", "required">;
|
|
5742
|
+
data: import("convex/values").VString<string, "required">;
|
|
5743
|
+
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
5744
|
+
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
5745
|
+
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">], "required", never>;
|
|
4666
5746
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
4667
5747
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
4668
5748
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|