@convex-dev/agent 0.2.3-alpha.0 → 0.2.4-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 +59 -5
- package/dist/client/definePlaygroundAPI.d.ts.map +1 -1
- package/dist/client/files.d.ts +1 -1
- package/dist/client/files.d.ts.map +1 -1
- package/dist/client/files.js.map +1 -1
- package/dist/client/index.d.ts +46 -4
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +14 -13
- package/dist/client/index.js.map +1 -1
- package/dist/client/messages.d.ts +14 -2
- package/dist/client/messages.d.ts.map +1 -1
- package/dist/client/search.d.ts +14 -2
- package/dist/client/search.d.ts.map +1 -1
- package/dist/client/search.js +2 -4
- package/dist/client/search.js.map +1 -1
- package/dist/client/streaming.d.ts +132 -23
- package/dist/client/streaming.d.ts.map +1 -1
- package/dist/component/_generated/api.d.ts +189 -0
- package/dist/component/messages.d.ts +149 -20
- package/dist/component/messages.d.ts.map +1 -1
- package/dist/component/messages.js +4 -4
- package/dist/component/messages.js.map +1 -1
- package/dist/component/schema.d.ts +342 -63
- package/dist/component/schema.d.ts.map +1 -1
- package/dist/mapping.d.ts +4 -4
- package/dist/mapping.d.ts.map +1 -1
- package/dist/mapping.js +67 -36
- package/dist/mapping.js.map +1 -1
- package/dist/react/deltas.d.ts +3 -3
- package/dist/react/deltas.d.ts.map +1 -1
- package/dist/react/deltas.js +302 -30
- package/dist/react/deltas.js.map +1 -1
- package/dist/react/toUIMessages.d.ts.map +1 -1
- package/dist/react/toUIMessages.js +289 -180
- package/dist/react/toUIMessages.js.map +1 -1
- package/dist/react/useSmoothText.d.ts.map +1 -1
- package/dist/react/useSmoothText.js +15 -6
- package/dist/react/useSmoothText.js.map +1 -1
- package/dist/shared.d.ts +4 -0
- package/dist/shared.d.ts.map +1 -1
- package/dist/shared.js +8 -0
- package/dist/shared.js.map +1 -1
- package/dist/validators.d.ts +662 -104
- package/dist/validators.d.ts.map +1 -1
- package/dist/validators.js +8 -0
- package/dist/validators.js.map +1 -1
- package/package.json +1 -1
- package/src/client/files.ts +4 -4
- package/src/client/index.ts +21 -20
- package/src/client/search.ts +2 -6
- package/src/component/_generated/api.d.ts +189 -0
- package/src/component/messages.ts +4 -3
- package/src/mapping.ts +99 -51
- package/src/react/deltas.ts +368 -48
- package/src/react/toUIMessages.test.ts +186 -0
- package/src/react/toUIMessages.ts +366 -192
- package/src/react/useSmoothText.ts +25 -13
- package/src/shared.ts +14 -0
- package/src/validators.ts +8 -0
|
@@ -297,6 +297,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
297
297
|
role: "user";
|
|
298
298
|
content: string | ({
|
|
299
299
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
300
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
300
301
|
type: "text";
|
|
301
302
|
text: string;
|
|
302
303
|
} | {
|
|
@@ -306,6 +307,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
306
307
|
image: string | ArrayBuffer;
|
|
307
308
|
} | {
|
|
308
309
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
310
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
309
311
|
filename?: string | undefined;
|
|
310
312
|
type: "file";
|
|
311
313
|
mimeType: string;
|
|
@@ -316,25 +318,30 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
316
318
|
role: "assistant";
|
|
317
319
|
content: string | ({
|
|
318
320
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
321
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
319
322
|
type: "text";
|
|
320
323
|
text: string;
|
|
321
324
|
} | {
|
|
322
325
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
326
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
323
327
|
filename?: string | undefined;
|
|
324
328
|
type: "file";
|
|
325
329
|
mimeType: string;
|
|
326
330
|
data: string | ArrayBuffer;
|
|
327
331
|
} | {
|
|
328
332
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
333
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
329
334
|
signature?: string | undefined;
|
|
330
335
|
type: "reasoning";
|
|
331
336
|
text: string;
|
|
332
337
|
} | {
|
|
333
338
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
339
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
334
340
|
type: "redacted-reasoning";
|
|
335
341
|
data: string;
|
|
336
342
|
} | {
|
|
337
343
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
344
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
338
345
|
providerExecuted?: boolean | undefined;
|
|
339
346
|
type: "tool-call";
|
|
340
347
|
toolCallId: string;
|
|
@@ -342,6 +349,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
342
349
|
args: any;
|
|
343
350
|
} | {
|
|
344
351
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
352
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
345
353
|
args?: any;
|
|
346
354
|
providerExecuted?: boolean | undefined;
|
|
347
355
|
isError?: boolean | undefined;
|
|
@@ -363,6 +371,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
363
371
|
role: "tool";
|
|
364
372
|
content: {
|
|
365
373
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
374
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
366
375
|
args?: any;
|
|
367
376
|
providerExecuted?: boolean | undefined;
|
|
368
377
|
isError?: boolean | undefined;
|
|
@@ -385,6 +394,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
385
394
|
content: string;
|
|
386
395
|
} | undefined;
|
|
387
396
|
text?: string | undefined;
|
|
397
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
388
398
|
reasoning?: string | undefined;
|
|
389
399
|
usage?: {
|
|
390
400
|
reasoningTokens?: number | undefined;
|
|
@@ -393,17 +403,18 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
393
403
|
completionTokens: number;
|
|
394
404
|
totalTokens: number;
|
|
395
405
|
} | undefined;
|
|
396
|
-
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
397
406
|
sources?: ({
|
|
398
407
|
title?: string | undefined;
|
|
399
408
|
type?: "source" | undefined;
|
|
400
409
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
410
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
401
411
|
id: string;
|
|
402
412
|
sourceType: "url";
|
|
403
413
|
url: string;
|
|
404
414
|
} | {
|
|
405
|
-
|
|
415
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
406
416
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
417
|
+
filename?: string | undefined;
|
|
407
418
|
id: string;
|
|
408
419
|
title: string;
|
|
409
420
|
type: "source";
|
|
@@ -425,6 +436,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
425
436
|
finishReason?: "length" | "error" | "other" | "stop" | "content-filter" | "tool-calls" | "unknown" | undefined;
|
|
426
437
|
reasoningDetails?: ({
|
|
427
438
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
439
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
428
440
|
signature?: string | undefined;
|
|
429
441
|
type: "reasoning";
|
|
430
442
|
text: string;
|
|
@@ -461,6 +473,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
461
473
|
role: "user";
|
|
462
474
|
content: string | ({
|
|
463
475
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
476
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
464
477
|
type: "text";
|
|
465
478
|
text: string;
|
|
466
479
|
} | {
|
|
@@ -470,6 +483,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
470
483
|
image: string | ArrayBuffer;
|
|
471
484
|
} | {
|
|
472
485
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
486
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
473
487
|
filename?: string | undefined;
|
|
474
488
|
type: "file";
|
|
475
489
|
mimeType: string;
|
|
@@ -480,25 +494,30 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
480
494
|
role: "assistant";
|
|
481
495
|
content: string | ({
|
|
482
496
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
497
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
483
498
|
type: "text";
|
|
484
499
|
text: string;
|
|
485
500
|
} | {
|
|
486
501
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
502
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
487
503
|
filename?: string | undefined;
|
|
488
504
|
type: "file";
|
|
489
505
|
mimeType: string;
|
|
490
506
|
data: string | ArrayBuffer;
|
|
491
507
|
} | {
|
|
492
508
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
509
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
493
510
|
signature?: string | undefined;
|
|
494
511
|
type: "reasoning";
|
|
495
512
|
text: string;
|
|
496
513
|
} | {
|
|
497
514
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
515
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
498
516
|
type: "redacted-reasoning";
|
|
499
517
|
data: string;
|
|
500
518
|
} | {
|
|
501
519
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
520
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
502
521
|
providerExecuted?: boolean | undefined;
|
|
503
522
|
type: "tool-call";
|
|
504
523
|
toolCallId: string;
|
|
@@ -506,6 +525,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
506
525
|
args: any;
|
|
507
526
|
} | {
|
|
508
527
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
528
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
509
529
|
args?: any;
|
|
510
530
|
providerExecuted?: boolean | undefined;
|
|
511
531
|
isError?: boolean | undefined;
|
|
@@ -527,6 +547,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
527
547
|
role: "tool";
|
|
528
548
|
content: {
|
|
529
549
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
550
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
530
551
|
args?: any;
|
|
531
552
|
providerExecuted?: boolean | undefined;
|
|
532
553
|
isError?: boolean | undefined;
|
|
@@ -552,6 +573,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
552
573
|
role: "user";
|
|
553
574
|
content: string | ({
|
|
554
575
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
576
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
555
577
|
type: "text";
|
|
556
578
|
text: string;
|
|
557
579
|
} | {
|
|
@@ -561,6 +583,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
561
583
|
image: string | ArrayBuffer;
|
|
562
584
|
} | {
|
|
563
585
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
586
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
564
587
|
filename?: string | undefined;
|
|
565
588
|
type: "file";
|
|
566
589
|
mimeType: string;
|
|
@@ -570,6 +593,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
570
593
|
role: import("convex/values").VLiteral<"user", "required">;
|
|
571
594
|
content: import("convex/values").VUnion<string | ({
|
|
572
595
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
596
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
573
597
|
type: "text";
|
|
574
598
|
text: string;
|
|
575
599
|
} | {
|
|
@@ -579,12 +603,14 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
579
603
|
image: string | ArrayBuffer;
|
|
580
604
|
} | {
|
|
581
605
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
606
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
582
607
|
filename?: string | undefined;
|
|
583
608
|
type: "file";
|
|
584
609
|
mimeType: string;
|
|
585
610
|
data: string | ArrayBuffer;
|
|
586
611
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
587
612
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
613
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
588
614
|
type: "text";
|
|
589
615
|
text: string;
|
|
590
616
|
} | {
|
|
@@ -594,12 +620,14 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
594
620
|
image: string | ArrayBuffer;
|
|
595
621
|
} | {
|
|
596
622
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
623
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
597
624
|
filename?: string | undefined;
|
|
598
625
|
type: "file";
|
|
599
626
|
mimeType: string;
|
|
600
627
|
data: string | ArrayBuffer;
|
|
601
628
|
})[], import("convex/values").VUnion<{
|
|
602
629
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
630
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
603
631
|
type: "text";
|
|
604
632
|
text: string;
|
|
605
633
|
} | {
|
|
@@ -609,19 +637,22 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
609
637
|
image: string | ArrayBuffer;
|
|
610
638
|
} | {
|
|
611
639
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
640
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
612
641
|
filename?: string | undefined;
|
|
613
642
|
type: "file";
|
|
614
643
|
mimeType: string;
|
|
615
644
|
data: string | ArrayBuffer;
|
|
616
645
|
}, [import("convex/values").VObject<{
|
|
617
646
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
647
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
618
648
|
type: "text";
|
|
619
649
|
text: string;
|
|
620
650
|
}, {
|
|
621
651
|
type: import("convex/values").VLiteral<"text", "required">;
|
|
622
652
|
text: import("convex/values").VString<string, "required">;
|
|
623
653
|
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>;
|
|
624
|
-
|
|
654
|
+
providerMetadata: 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>;
|
|
655
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}`>, import("convex/values").VObject<{
|
|
625
656
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
626
657
|
mimeType?: string | undefined;
|
|
627
658
|
type: "image";
|
|
@@ -633,6 +664,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
633
664
|
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>;
|
|
634
665
|
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "image" | "mimeType">, import("convex/values").VObject<{
|
|
635
666
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
667
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
636
668
|
filename?: string | undefined;
|
|
637
669
|
type: "file";
|
|
638
670
|
mimeType: string;
|
|
@@ -643,32 +675,38 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
643
675
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
644
676
|
mimeType: import("convex/values").VString<string, "required">;
|
|
645
677
|
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>;
|
|
646
|
-
|
|
678
|
+
providerMetadata: 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>;
|
|
679
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename">], "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "image" | "mimeType" | "data" | "filename">, "required">], "required", never>;
|
|
647
680
|
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>;
|
|
648
681
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
649
682
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
650
683
|
role: "assistant";
|
|
651
684
|
content: string | ({
|
|
652
685
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
686
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
653
687
|
type: "text";
|
|
654
688
|
text: string;
|
|
655
689
|
} | {
|
|
656
690
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
691
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
657
692
|
filename?: string | undefined;
|
|
658
693
|
type: "file";
|
|
659
694
|
mimeType: string;
|
|
660
695
|
data: string | ArrayBuffer;
|
|
661
696
|
} | {
|
|
662
697
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
698
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
663
699
|
signature?: string | undefined;
|
|
664
700
|
type: "reasoning";
|
|
665
701
|
text: string;
|
|
666
702
|
} | {
|
|
667
703
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
704
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
668
705
|
type: "redacted-reasoning";
|
|
669
706
|
data: string;
|
|
670
707
|
} | {
|
|
671
708
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
709
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
672
710
|
providerExecuted?: boolean | undefined;
|
|
673
711
|
type: "tool-call";
|
|
674
712
|
toolCallId: string;
|
|
@@ -676,6 +714,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
676
714
|
args: any;
|
|
677
715
|
} | {
|
|
678
716
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
717
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
679
718
|
args?: any;
|
|
680
719
|
providerExecuted?: boolean | undefined;
|
|
681
720
|
isError?: boolean | undefined;
|
|
@@ -696,25 +735,30 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
696
735
|
role: import("convex/values").VLiteral<"assistant", "required">;
|
|
697
736
|
content: import("convex/values").VUnion<string | ({
|
|
698
737
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
738
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
699
739
|
type: "text";
|
|
700
740
|
text: string;
|
|
701
741
|
} | {
|
|
702
742
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
743
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
703
744
|
filename?: string | undefined;
|
|
704
745
|
type: "file";
|
|
705
746
|
mimeType: string;
|
|
706
747
|
data: string | ArrayBuffer;
|
|
707
748
|
} | {
|
|
708
749
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
750
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
709
751
|
signature?: string | undefined;
|
|
710
752
|
type: "reasoning";
|
|
711
753
|
text: string;
|
|
712
754
|
} | {
|
|
713
755
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
756
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
714
757
|
type: "redacted-reasoning";
|
|
715
758
|
data: string;
|
|
716
759
|
} | {
|
|
717
760
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
761
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
718
762
|
providerExecuted?: boolean | undefined;
|
|
719
763
|
type: "tool-call";
|
|
720
764
|
toolCallId: string;
|
|
@@ -722,6 +766,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
722
766
|
args: any;
|
|
723
767
|
} | {
|
|
724
768
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
769
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
725
770
|
args?: any;
|
|
726
771
|
providerExecuted?: boolean | undefined;
|
|
727
772
|
isError?: boolean | undefined;
|
|
@@ -739,25 +784,30 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
739
784
|
result: any;
|
|
740
785
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
741
786
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
787
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
742
788
|
type: "text";
|
|
743
789
|
text: string;
|
|
744
790
|
} | {
|
|
745
791
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
792
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
746
793
|
filename?: string | undefined;
|
|
747
794
|
type: "file";
|
|
748
795
|
mimeType: string;
|
|
749
796
|
data: string | ArrayBuffer;
|
|
750
797
|
} | {
|
|
751
798
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
799
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
752
800
|
signature?: string | undefined;
|
|
753
801
|
type: "reasoning";
|
|
754
802
|
text: string;
|
|
755
803
|
} | {
|
|
756
804
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
805
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
757
806
|
type: "redacted-reasoning";
|
|
758
807
|
data: string;
|
|
759
808
|
} | {
|
|
760
809
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
810
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
761
811
|
providerExecuted?: boolean | undefined;
|
|
762
812
|
type: "tool-call";
|
|
763
813
|
toolCallId: string;
|
|
@@ -765,6 +815,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
765
815
|
args: any;
|
|
766
816
|
} | {
|
|
767
817
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
818
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
768
819
|
args?: any;
|
|
769
820
|
providerExecuted?: boolean | undefined;
|
|
770
821
|
isError?: boolean | undefined;
|
|
@@ -782,25 +833,30 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
782
833
|
result: any;
|
|
783
834
|
})[], import("convex/values").VUnion<{
|
|
784
835
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
836
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
785
837
|
type: "text";
|
|
786
838
|
text: string;
|
|
787
839
|
} | {
|
|
788
840
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
841
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
789
842
|
filename?: string | undefined;
|
|
790
843
|
type: "file";
|
|
791
844
|
mimeType: string;
|
|
792
845
|
data: string | ArrayBuffer;
|
|
793
846
|
} | {
|
|
794
847
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
848
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
795
849
|
signature?: string | undefined;
|
|
796
850
|
type: "reasoning";
|
|
797
851
|
text: string;
|
|
798
852
|
} | {
|
|
799
853
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
854
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
800
855
|
type: "redacted-reasoning";
|
|
801
856
|
data: string;
|
|
802
857
|
} | {
|
|
803
858
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
859
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
804
860
|
providerExecuted?: boolean | undefined;
|
|
805
861
|
type: "tool-call";
|
|
806
862
|
toolCallId: string;
|
|
@@ -808,6 +864,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
808
864
|
args: any;
|
|
809
865
|
} | {
|
|
810
866
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
867
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
811
868
|
args?: any;
|
|
812
869
|
providerExecuted?: boolean | undefined;
|
|
813
870
|
isError?: boolean | undefined;
|
|
@@ -825,14 +882,17 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
825
882
|
result: any;
|
|
826
883
|
}, [import("convex/values").VObject<{
|
|
827
884
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
885
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
828
886
|
type: "text";
|
|
829
887
|
text: string;
|
|
830
888
|
}, {
|
|
831
889
|
type: import("convex/values").VLiteral<"text", "required">;
|
|
832
890
|
text: import("convex/values").VString<string, "required">;
|
|
833
891
|
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>;
|
|
834
|
-
|
|
892
|
+
providerMetadata: 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>;
|
|
893
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}`>, import("convex/values").VObject<{
|
|
835
894
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
895
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
836
896
|
filename?: string | undefined;
|
|
837
897
|
type: "file";
|
|
838
898
|
mimeType: string;
|
|
@@ -843,8 +903,10 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
843
903
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
844
904
|
mimeType: import("convex/values").VString<string, "required">;
|
|
845
905
|
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>;
|
|
846
|
-
|
|
906
|
+
providerMetadata: 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>;
|
|
907
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename">, import("convex/values").VObject<{
|
|
847
908
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
909
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
848
910
|
signature?: string | undefined;
|
|
849
911
|
type: "reasoning";
|
|
850
912
|
text: string;
|
|
@@ -853,16 +915,20 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
853
915
|
text: import("convex/values").VString<string, "required">;
|
|
854
916
|
signature: import("convex/values").VString<string | undefined, "optional">;
|
|
855
917
|
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>;
|
|
856
|
-
|
|
918
|
+
providerMetadata: 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>;
|
|
919
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "signature">, import("convex/values").VObject<{
|
|
857
920
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
921
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
858
922
|
type: "redacted-reasoning";
|
|
859
923
|
data: string;
|
|
860
924
|
}, {
|
|
861
925
|
type: import("convex/values").VLiteral<"redacted-reasoning", "required">;
|
|
862
926
|
data: import("convex/values").VString<string, "required">;
|
|
863
927
|
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>;
|
|
864
|
-
|
|
928
|
+
providerMetadata: 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>;
|
|
929
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "data">, import("convex/values").VObject<{
|
|
865
930
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
931
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
866
932
|
providerExecuted?: boolean | undefined;
|
|
867
933
|
type: "tool-call";
|
|
868
934
|
toolCallId: string;
|
|
@@ -875,8 +941,10 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
875
941
|
args: import("convex/values").VAny<any, "required", string>;
|
|
876
942
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
877
943
|
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>;
|
|
878
|
-
|
|
944
|
+
providerMetadata: 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>;
|
|
945
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}`>, import("convex/values").VObject<{
|
|
879
946
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
947
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
880
948
|
args?: any;
|
|
881
949
|
providerExecuted?: boolean | undefined;
|
|
882
950
|
isError?: boolean | undefined;
|
|
@@ -898,6 +966,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
898
966
|
toolName: import("convex/values").VString<string, "required">;
|
|
899
967
|
result: import("convex/values").VAny<any, "required", string>;
|
|
900
968
|
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>;
|
|
969
|
+
providerMetadata: 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>;
|
|
901
970
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
902
971
|
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
903
972
|
args: import("convex/values").VAny<any, "optional", string>;
|
|
@@ -930,13 +999,14 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
930
999
|
data: import("convex/values").VString<string, "required">;
|
|
931
1000
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
932
1001
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
933
|
-
}, "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>;
|
|
1002
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>], "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">], "required", never>;
|
|
934
1003
|
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>;
|
|
935
1004
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
936
1005
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
937
1006
|
role: "tool";
|
|
938
1007
|
content: {
|
|
939
1008
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1009
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
940
1010
|
args?: any;
|
|
941
1011
|
providerExecuted?: boolean | undefined;
|
|
942
1012
|
isError?: boolean | undefined;
|
|
@@ -957,6 +1027,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
957
1027
|
role: import("convex/values").VLiteral<"tool", "required">;
|
|
958
1028
|
content: import("convex/values").VArray<{
|
|
959
1029
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1030
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
960
1031
|
args?: any;
|
|
961
1032
|
providerExecuted?: boolean | undefined;
|
|
962
1033
|
isError?: boolean | undefined;
|
|
@@ -974,6 +1045,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
974
1045
|
result: any;
|
|
975
1046
|
}[], import("convex/values").VObject<{
|
|
976
1047
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1048
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
977
1049
|
args?: any;
|
|
978
1050
|
providerExecuted?: boolean | undefined;
|
|
979
1051
|
isError?: boolean | undefined;
|
|
@@ -995,6 +1067,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
995
1067
|
toolName: import("convex/values").VString<string, "required">;
|
|
996
1068
|
result: import("convex/values").VAny<any, "required", string>;
|
|
997
1069
|
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>;
|
|
1070
|
+
providerMetadata: 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>;
|
|
998
1071
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
999
1072
|
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
1000
1073
|
args: import("convex/values").VAny<any, "optional", string>;
|
|
@@ -1027,7 +1100,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
1027
1100
|
data: import("convex/values").VString<string, "required">;
|
|
1028
1101
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
1029
1102
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
1030
|
-
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">;
|
|
1103
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">;
|
|
1031
1104
|
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>;
|
|
1032
1105
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
1033
1106
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -1058,12 +1131,14 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
1058
1131
|
title?: string | undefined;
|
|
1059
1132
|
type?: "source" | undefined;
|
|
1060
1133
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1134
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1061
1135
|
id: string;
|
|
1062
1136
|
sourceType: "url";
|
|
1063
1137
|
url: string;
|
|
1064
1138
|
} | {
|
|
1065
|
-
|
|
1139
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1066
1140
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1141
|
+
filename?: string | undefined;
|
|
1067
1142
|
id: string;
|
|
1068
1143
|
title: string;
|
|
1069
1144
|
type: "source";
|
|
@@ -1073,12 +1148,14 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
1073
1148
|
title?: string | undefined;
|
|
1074
1149
|
type?: "source" | undefined;
|
|
1075
1150
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1151
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1076
1152
|
id: string;
|
|
1077
1153
|
sourceType: "url";
|
|
1078
1154
|
url: string;
|
|
1079
1155
|
} | {
|
|
1080
|
-
|
|
1156
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1081
1157
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1158
|
+
filename?: string | undefined;
|
|
1082
1159
|
id: string;
|
|
1083
1160
|
title: string;
|
|
1084
1161
|
type: "source";
|
|
@@ -1088,6 +1165,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
1088
1165
|
title?: string | undefined;
|
|
1089
1166
|
type?: "source" | undefined;
|
|
1090
1167
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1168
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1091
1169
|
id: string;
|
|
1092
1170
|
sourceType: "url";
|
|
1093
1171
|
url: string;
|
|
@@ -1098,9 +1176,11 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
1098
1176
|
url: import("convex/values").VString<string, "required">;
|
|
1099
1177
|
title: import("convex/values").VString<string | undefined, "optional">;
|
|
1100
1178
|
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>;
|
|
1101
|
-
|
|
1102
|
-
|
|
1179
|
+
providerMetadata: 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>;
|
|
1180
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "sourceType" | "url">, import("convex/values").VObject<{
|
|
1181
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1103
1182
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1183
|
+
filename?: string | undefined;
|
|
1104
1184
|
id: string;
|
|
1105
1185
|
title: string;
|
|
1106
1186
|
type: "source";
|
|
@@ -1113,8 +1193,9 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
1113
1193
|
mediaType: import("convex/values").VString<string, "required">;
|
|
1114
1194
|
title: import("convex/values").VString<string, "required">;
|
|
1115
1195
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
1196
|
+
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>;
|
|
1116
1197
|
providerMetadata: 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>;
|
|
1117
|
-
}, "required", "id" | "title" | "type" | "
|
|
1198
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "sourceType" | "mediaType">], "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "sourceType" | "url" | "mediaType">, "optional">;
|
|
1118
1199
|
warnings: import("convex/values").VArray<({
|
|
1119
1200
|
details?: string | undefined;
|
|
1120
1201
|
type: "unsupported-setting";
|
|
@@ -1164,6 +1245,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
1164
1245
|
reasoning: import("convex/values").VString<string | undefined, "optional">;
|
|
1165
1246
|
reasoningDetails: import("convex/values").VArray<({
|
|
1166
1247
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1248
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1167
1249
|
signature?: string | undefined;
|
|
1168
1250
|
type: "reasoning";
|
|
1169
1251
|
text: string;
|
|
@@ -1176,6 +1258,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
1176
1258
|
data: string;
|
|
1177
1259
|
})[] | undefined, import("convex/values").VUnion<{
|
|
1178
1260
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1261
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1179
1262
|
signature?: string | undefined;
|
|
1180
1263
|
type: "reasoning";
|
|
1181
1264
|
text: string;
|
|
@@ -1188,6 +1271,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
1188
1271
|
data: string;
|
|
1189
1272
|
}, [import("convex/values").VObject<{
|
|
1190
1273
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1274
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1191
1275
|
signature?: string | undefined;
|
|
1192
1276
|
type: "reasoning";
|
|
1193
1277
|
text: string;
|
|
@@ -1196,7 +1280,8 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
1196
1280
|
text: import("convex/values").VString<string, "required">;
|
|
1197
1281
|
signature: import("convex/values").VString<string | undefined, "optional">;
|
|
1198
1282
|
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>;
|
|
1199
|
-
|
|
1283
|
+
providerMetadata: 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>;
|
|
1284
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "signature">, import("convex/values").VObject<{
|
|
1200
1285
|
signature?: string | undefined;
|
|
1201
1286
|
type: "text";
|
|
1202
1287
|
text: string;
|
|
@@ -1210,12 +1295,12 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
1210
1295
|
}, {
|
|
1211
1296
|
type: import("convex/values").VLiteral<"redacted", "required">;
|
|
1212
1297
|
data: import("convex/values").VString<string, "required">;
|
|
1213
|
-
}, "required", "type" | "data">], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "data" | "signature">, "optional">;
|
|
1298
|
+
}, "required", "type" | "data">], "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "data" | "signature">, "optional">;
|
|
1214
1299
|
id: import("convex/values").VString<string | undefined, "optional">;
|
|
1215
1300
|
parentMessageId: import("convex/values").VId<import("convex/values").GenericId<"messages"> | undefined, "optional">;
|
|
1216
1301
|
stepId: import("convex/values").VString<string | undefined, "optional">;
|
|
1217
1302
|
files: import("convex/values").VArray<any[] | undefined, import("convex/values").VAny<any, "required", string>, "optional">;
|
|
1218
|
-
}, "required", "id" | "status" | "userId" | "order" | "threadId" | "stepOrder" | "embeddingId" | "fileIds" | "files" | "error" | "agentName" | "model" | "provider" | "providerOptions" | "message" | "text" | `providerOptions.${string}` | "reasoning" | "tool" | "usage" | "
|
|
1303
|
+
}, "required", "id" | "status" | "userId" | "order" | "threadId" | "stepOrder" | "embeddingId" | "fileIds" | "files" | "error" | "agentName" | "model" | "provider" | "providerOptions" | "message" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "reasoning" | "tool" | "usage" | "sources" | "warnings" | "finishReason" | "reasoningDetails" | "parentMessageId" | "stepId" | "message.providerOptions" | "message.role" | `message.providerOptions.${string}` | "message.content" | "usage.promptTokens" | "usage.completionTokens" | "usage.totalTokens" | "usage.reasoningTokens" | "usage.cachedInputTokens">, {
|
|
1219
1304
|
threadId_status_tool_order_stepOrder: ["threadId", "status", "tool", "order", "stepOrder", "_creationTime"];
|
|
1220
1305
|
embeddingId_threadId: ["embeddingId", "threadId", "_creationTime"];
|
|
1221
1306
|
}, {
|
|
@@ -1681,6 +1766,7 @@ export declare const vv: {
|
|
|
1681
1766
|
role: "user";
|
|
1682
1767
|
content: string | ({
|
|
1683
1768
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1769
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1684
1770
|
type: "text";
|
|
1685
1771
|
text: string;
|
|
1686
1772
|
} | {
|
|
@@ -1690,6 +1776,7 @@ export declare const vv: {
|
|
|
1690
1776
|
image: string | ArrayBuffer;
|
|
1691
1777
|
} | {
|
|
1692
1778
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1779
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1693
1780
|
filename?: string | undefined;
|
|
1694
1781
|
type: "file";
|
|
1695
1782
|
mimeType: string;
|
|
@@ -1700,25 +1787,30 @@ export declare const vv: {
|
|
|
1700
1787
|
role: "assistant";
|
|
1701
1788
|
content: string | ({
|
|
1702
1789
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1790
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1703
1791
|
type: "text";
|
|
1704
1792
|
text: string;
|
|
1705
1793
|
} | {
|
|
1706
1794
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1795
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1707
1796
|
filename?: string | undefined;
|
|
1708
1797
|
type: "file";
|
|
1709
1798
|
mimeType: string;
|
|
1710
1799
|
data: string | ArrayBuffer;
|
|
1711
1800
|
} | {
|
|
1712
1801
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1802
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1713
1803
|
signature?: string | undefined;
|
|
1714
1804
|
type: "reasoning";
|
|
1715
1805
|
text: string;
|
|
1716
1806
|
} | {
|
|
1717
1807
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1808
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1718
1809
|
type: "redacted-reasoning";
|
|
1719
1810
|
data: string;
|
|
1720
1811
|
} | {
|
|
1721
1812
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1813
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1722
1814
|
providerExecuted?: boolean | undefined;
|
|
1723
1815
|
type: "tool-call";
|
|
1724
1816
|
toolCallId: string;
|
|
@@ -1726,6 +1818,7 @@ export declare const vv: {
|
|
|
1726
1818
|
args: any;
|
|
1727
1819
|
} | {
|
|
1728
1820
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1821
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1729
1822
|
args?: any;
|
|
1730
1823
|
providerExecuted?: boolean | undefined;
|
|
1731
1824
|
isError?: boolean | undefined;
|
|
@@ -1747,6 +1840,7 @@ export declare const vv: {
|
|
|
1747
1840
|
role: "tool";
|
|
1748
1841
|
content: {
|
|
1749
1842
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1843
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1750
1844
|
args?: any;
|
|
1751
1845
|
providerExecuted?: boolean | undefined;
|
|
1752
1846
|
isError?: boolean | undefined;
|
|
@@ -1769,6 +1863,7 @@ export declare const vv: {
|
|
|
1769
1863
|
content: string;
|
|
1770
1864
|
} | undefined;
|
|
1771
1865
|
text?: string | undefined;
|
|
1866
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1772
1867
|
reasoning?: string | undefined;
|
|
1773
1868
|
usage?: {
|
|
1774
1869
|
reasoningTokens?: number | undefined;
|
|
@@ -1777,17 +1872,18 @@ export declare const vv: {
|
|
|
1777
1872
|
completionTokens: number;
|
|
1778
1873
|
totalTokens: number;
|
|
1779
1874
|
} | undefined;
|
|
1780
|
-
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1781
1875
|
sources?: ({
|
|
1782
1876
|
title?: string | undefined;
|
|
1783
1877
|
type?: "source" | undefined;
|
|
1784
1878
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1879
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1785
1880
|
id: string;
|
|
1786
1881
|
sourceType: "url";
|
|
1787
1882
|
url: string;
|
|
1788
1883
|
} | {
|
|
1789
|
-
|
|
1884
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1790
1885
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1886
|
+
filename?: string | undefined;
|
|
1791
1887
|
id: string;
|
|
1792
1888
|
title: string;
|
|
1793
1889
|
type: "source";
|
|
@@ -1809,6 +1905,7 @@ export declare const vv: {
|
|
|
1809
1905
|
finishReason?: "length" | "error" | "other" | "stop" | "content-filter" | "tool-calls" | "unknown" | undefined;
|
|
1810
1906
|
reasoningDetails?: ({
|
|
1811
1907
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1908
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1812
1909
|
signature?: string | undefined;
|
|
1813
1910
|
type: "reasoning";
|
|
1814
1911
|
text: string;
|
|
@@ -1828,7 +1925,7 @@ export declare const vv: {
|
|
|
1828
1925
|
stepOrder: number;
|
|
1829
1926
|
tool: boolean;
|
|
1830
1927
|
};
|
|
1831
|
-
fieldPaths: "_id" | ("_creationTime" | "id" | "status" | "userId" | "order" | "threadId" | "stepOrder" | "embeddingId" | "fileIds" | "files" | "error" | "agentName" | "model" | "provider" | "providerOptions" | "message" | "text" | `providerOptions.${string}` | "reasoning" | "tool" | "usage" | "
|
|
1928
|
+
fieldPaths: "_id" | ("_creationTime" | "id" | "status" | "userId" | "order" | "threadId" | "stepOrder" | "embeddingId" | "fileIds" | "files" | "error" | "agentName" | "model" | "provider" | "providerOptions" | "message" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "reasoning" | "tool" | "usage" | "sources" | "warnings" | "finishReason" | "reasoningDetails" | "parentMessageId" | "stepId" | "message.providerOptions" | "message.role" | `message.providerOptions.${string}` | "message.content" | "usage.promptTokens" | "usage.completionTokens" | "usage.totalTokens" | "usage.reasoningTokens" | "usage.cachedInputTokens");
|
|
1832
1929
|
indexes: {
|
|
1833
1930
|
threadId_status_tool_order_stepOrder: ["threadId", "status", "tool", "order", "stepOrder", "_creationTime"];
|
|
1834
1931
|
embeddingId_threadId: ["embeddingId", "threadId", "_creationTime"];
|
|
@@ -2268,6 +2365,7 @@ export declare const vv: {
|
|
|
2268
2365
|
role: "user";
|
|
2269
2366
|
content: string | ({
|
|
2270
2367
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2368
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2271
2369
|
type: "text";
|
|
2272
2370
|
text: string;
|
|
2273
2371
|
} | {
|
|
@@ -2277,6 +2375,7 @@ export declare const vv: {
|
|
|
2277
2375
|
image: string | ArrayBuffer;
|
|
2278
2376
|
} | {
|
|
2279
2377
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2378
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2280
2379
|
filename?: string | undefined;
|
|
2281
2380
|
type: "file";
|
|
2282
2381
|
mimeType: string;
|
|
@@ -2287,25 +2386,30 @@ export declare const vv: {
|
|
|
2287
2386
|
role: "assistant";
|
|
2288
2387
|
content: string | ({
|
|
2289
2388
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2389
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2290
2390
|
type: "text";
|
|
2291
2391
|
text: string;
|
|
2292
2392
|
} | {
|
|
2293
2393
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2394
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2294
2395
|
filename?: string | undefined;
|
|
2295
2396
|
type: "file";
|
|
2296
2397
|
mimeType: string;
|
|
2297
2398
|
data: string | ArrayBuffer;
|
|
2298
2399
|
} | {
|
|
2299
2400
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2401
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2300
2402
|
signature?: string | undefined;
|
|
2301
2403
|
type: "reasoning";
|
|
2302
2404
|
text: string;
|
|
2303
2405
|
} | {
|
|
2304
2406
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2407
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2305
2408
|
type: "redacted-reasoning";
|
|
2306
2409
|
data: string;
|
|
2307
2410
|
} | {
|
|
2308
2411
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2412
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2309
2413
|
providerExecuted?: boolean | undefined;
|
|
2310
2414
|
type: "tool-call";
|
|
2311
2415
|
toolCallId: string;
|
|
@@ -2313,6 +2417,7 @@ export declare const vv: {
|
|
|
2313
2417
|
args: any;
|
|
2314
2418
|
} | {
|
|
2315
2419
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2420
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2316
2421
|
args?: any;
|
|
2317
2422
|
providerExecuted?: boolean | undefined;
|
|
2318
2423
|
isError?: boolean | undefined;
|
|
@@ -2334,6 +2439,7 @@ export declare const vv: {
|
|
|
2334
2439
|
role: "tool";
|
|
2335
2440
|
content: {
|
|
2336
2441
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2442
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2337
2443
|
args?: any;
|
|
2338
2444
|
providerExecuted?: boolean | undefined;
|
|
2339
2445
|
isError?: boolean | undefined;
|
|
@@ -2356,6 +2462,7 @@ export declare const vv: {
|
|
|
2356
2462
|
content: string;
|
|
2357
2463
|
} | undefined;
|
|
2358
2464
|
text?: string | undefined;
|
|
2465
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2359
2466
|
reasoning?: string | undefined;
|
|
2360
2467
|
usage?: {
|
|
2361
2468
|
reasoningTokens?: number | undefined;
|
|
@@ -2364,17 +2471,18 @@ export declare const vv: {
|
|
|
2364
2471
|
completionTokens: number;
|
|
2365
2472
|
totalTokens: number;
|
|
2366
2473
|
} | undefined;
|
|
2367
|
-
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2368
2474
|
sources?: ({
|
|
2369
2475
|
title?: string | undefined;
|
|
2370
2476
|
type?: "source" | undefined;
|
|
2371
2477
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2478
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2372
2479
|
id: string;
|
|
2373
2480
|
sourceType: "url";
|
|
2374
2481
|
url: string;
|
|
2375
2482
|
} | {
|
|
2376
|
-
|
|
2483
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2377
2484
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2485
|
+
filename?: string | undefined;
|
|
2378
2486
|
id: string;
|
|
2379
2487
|
title: string;
|
|
2380
2488
|
type: "source";
|
|
@@ -2396,6 +2504,7 @@ export declare const vv: {
|
|
|
2396
2504
|
finishReason?: "length" | "error" | "other" | "stop" | "content-filter" | "tool-calls" | "unknown" | undefined;
|
|
2397
2505
|
reasoningDetails?: ({
|
|
2398
2506
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2507
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2399
2508
|
signature?: string | undefined;
|
|
2400
2509
|
type: "reasoning";
|
|
2401
2510
|
text: string;
|
|
@@ -2415,7 +2524,7 @@ export declare const vv: {
|
|
|
2415
2524
|
stepOrder: number;
|
|
2416
2525
|
tool: boolean;
|
|
2417
2526
|
};
|
|
2418
|
-
fieldPaths: "_id" | ("_creationTime" | "id" | "status" | "userId" | "order" | "threadId" | "stepOrder" | "embeddingId" | "fileIds" | "files" | "error" | "agentName" | "model" | "provider" | "providerOptions" | "message" | "text" | `providerOptions.${string}` | "reasoning" | "tool" | "usage" | "
|
|
2527
|
+
fieldPaths: "_id" | ("_creationTime" | "id" | "status" | "userId" | "order" | "threadId" | "stepOrder" | "embeddingId" | "fileIds" | "files" | "error" | "agentName" | "model" | "provider" | "providerOptions" | "message" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "reasoning" | "tool" | "usage" | "sources" | "warnings" | "finishReason" | "reasoningDetails" | "parentMessageId" | "stepId" | "message.providerOptions" | "message.role" | `message.providerOptions.${string}` | "message.content" | "usage.promptTokens" | "usage.completionTokens" | "usage.totalTokens" | "usage.reasoningTokens" | "usage.cachedInputTokens");
|
|
2419
2528
|
indexes: {
|
|
2420
2529
|
threadId_status_tool_order_stepOrder: ["threadId", "status", "tool", "order", "stepOrder", "_creationTime"];
|
|
2421
2530
|
embeddingId_threadId: ["embeddingId", "threadId", "_creationTime"];
|
|
@@ -2815,6 +2924,7 @@ export declare const vv: {
|
|
|
2815
2924
|
role: "user";
|
|
2816
2925
|
content: string | ({
|
|
2817
2926
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2927
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2818
2928
|
type: "text";
|
|
2819
2929
|
text: string;
|
|
2820
2930
|
} | {
|
|
@@ -2824,6 +2934,7 @@ export declare const vv: {
|
|
|
2824
2934
|
image: string | ArrayBuffer;
|
|
2825
2935
|
} | {
|
|
2826
2936
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2937
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2827
2938
|
filename?: string | undefined;
|
|
2828
2939
|
type: "file";
|
|
2829
2940
|
mimeType: string;
|
|
@@ -2834,25 +2945,30 @@ export declare const vv: {
|
|
|
2834
2945
|
role: "assistant";
|
|
2835
2946
|
content: string | ({
|
|
2836
2947
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2948
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2837
2949
|
type: "text";
|
|
2838
2950
|
text: string;
|
|
2839
2951
|
} | {
|
|
2840
2952
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2953
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2841
2954
|
filename?: string | undefined;
|
|
2842
2955
|
type: "file";
|
|
2843
2956
|
mimeType: string;
|
|
2844
2957
|
data: string | ArrayBuffer;
|
|
2845
2958
|
} | {
|
|
2846
2959
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2960
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2847
2961
|
signature?: string | undefined;
|
|
2848
2962
|
type: "reasoning";
|
|
2849
2963
|
text: string;
|
|
2850
2964
|
} | {
|
|
2851
2965
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2966
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2852
2967
|
type: "redacted-reasoning";
|
|
2853
2968
|
data: string;
|
|
2854
2969
|
} | {
|
|
2855
2970
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2971
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2856
2972
|
providerExecuted?: boolean | undefined;
|
|
2857
2973
|
type: "tool-call";
|
|
2858
2974
|
toolCallId: string;
|
|
@@ -2860,6 +2976,7 @@ export declare const vv: {
|
|
|
2860
2976
|
args: any;
|
|
2861
2977
|
} | {
|
|
2862
2978
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2979
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2863
2980
|
args?: any;
|
|
2864
2981
|
providerExecuted?: boolean | undefined;
|
|
2865
2982
|
isError?: boolean | undefined;
|
|
@@ -2881,6 +2998,7 @@ export declare const vv: {
|
|
|
2881
2998
|
role: "tool";
|
|
2882
2999
|
content: {
|
|
2883
3000
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3001
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2884
3002
|
args?: any;
|
|
2885
3003
|
providerExecuted?: boolean | undefined;
|
|
2886
3004
|
isError?: boolean | undefined;
|
|
@@ -2903,6 +3021,7 @@ export declare const vv: {
|
|
|
2903
3021
|
content: string;
|
|
2904
3022
|
} | undefined;
|
|
2905
3023
|
text?: string | undefined;
|
|
3024
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2906
3025
|
reasoning?: string | undefined;
|
|
2907
3026
|
usage?: {
|
|
2908
3027
|
reasoningTokens?: number | undefined;
|
|
@@ -2911,17 +3030,18 @@ export declare const vv: {
|
|
|
2911
3030
|
completionTokens: number;
|
|
2912
3031
|
totalTokens: number;
|
|
2913
3032
|
} | undefined;
|
|
2914
|
-
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2915
3033
|
sources?: ({
|
|
2916
3034
|
title?: string | undefined;
|
|
2917
3035
|
type?: "source" | undefined;
|
|
2918
3036
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3037
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2919
3038
|
id: string;
|
|
2920
3039
|
sourceType: "url";
|
|
2921
3040
|
url: string;
|
|
2922
3041
|
} | {
|
|
2923
|
-
|
|
3042
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2924
3043
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3044
|
+
filename?: string | undefined;
|
|
2925
3045
|
id: string;
|
|
2926
3046
|
title: string;
|
|
2927
3047
|
type: "source";
|
|
@@ -2943,6 +3063,7 @@ export declare const vv: {
|
|
|
2943
3063
|
finishReason?: "length" | "error" | "other" | "stop" | "content-filter" | "tool-calls" | "unknown" | undefined;
|
|
2944
3064
|
reasoningDetails?: ({
|
|
2945
3065
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3066
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2946
3067
|
signature?: string | undefined;
|
|
2947
3068
|
type: "reasoning";
|
|
2948
3069
|
text: string;
|
|
@@ -2979,6 +3100,7 @@ export declare const vv: {
|
|
|
2979
3100
|
role: "user";
|
|
2980
3101
|
content: string | ({
|
|
2981
3102
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3103
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2982
3104
|
type: "text";
|
|
2983
3105
|
text: string;
|
|
2984
3106
|
} | {
|
|
@@ -2988,6 +3110,7 @@ export declare const vv: {
|
|
|
2988
3110
|
image: string | ArrayBuffer;
|
|
2989
3111
|
} | {
|
|
2990
3112
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3113
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2991
3114
|
filename?: string | undefined;
|
|
2992
3115
|
type: "file";
|
|
2993
3116
|
mimeType: string;
|
|
@@ -2998,25 +3121,30 @@ export declare const vv: {
|
|
|
2998
3121
|
role: "assistant";
|
|
2999
3122
|
content: string | ({
|
|
3000
3123
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3124
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3001
3125
|
type: "text";
|
|
3002
3126
|
text: string;
|
|
3003
3127
|
} | {
|
|
3004
3128
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3129
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3005
3130
|
filename?: string | undefined;
|
|
3006
3131
|
type: "file";
|
|
3007
3132
|
mimeType: string;
|
|
3008
3133
|
data: string | ArrayBuffer;
|
|
3009
3134
|
} | {
|
|
3010
3135
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3136
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3011
3137
|
signature?: string | undefined;
|
|
3012
3138
|
type: "reasoning";
|
|
3013
3139
|
text: string;
|
|
3014
3140
|
} | {
|
|
3015
3141
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3142
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3016
3143
|
type: "redacted-reasoning";
|
|
3017
3144
|
data: string;
|
|
3018
3145
|
} | {
|
|
3019
3146
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3147
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3020
3148
|
providerExecuted?: boolean | undefined;
|
|
3021
3149
|
type: "tool-call";
|
|
3022
3150
|
toolCallId: string;
|
|
@@ -3024,6 +3152,7 @@ export declare const vv: {
|
|
|
3024
3152
|
args: any;
|
|
3025
3153
|
} | {
|
|
3026
3154
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3155
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3027
3156
|
args?: any;
|
|
3028
3157
|
providerExecuted?: boolean | undefined;
|
|
3029
3158
|
isError?: boolean | undefined;
|
|
@@ -3045,6 +3174,7 @@ export declare const vv: {
|
|
|
3045
3174
|
role: "tool";
|
|
3046
3175
|
content: {
|
|
3047
3176
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3177
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3048
3178
|
args?: any;
|
|
3049
3179
|
providerExecuted?: boolean | undefined;
|
|
3050
3180
|
isError?: boolean | undefined;
|
|
@@ -3070,6 +3200,7 @@ export declare const vv: {
|
|
|
3070
3200
|
role: "user";
|
|
3071
3201
|
content: string | ({
|
|
3072
3202
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3203
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3073
3204
|
type: "text";
|
|
3074
3205
|
text: string;
|
|
3075
3206
|
} | {
|
|
@@ -3079,6 +3210,7 @@ export declare const vv: {
|
|
|
3079
3210
|
image: string | ArrayBuffer;
|
|
3080
3211
|
} | {
|
|
3081
3212
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3213
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3082
3214
|
filename?: string | undefined;
|
|
3083
3215
|
type: "file";
|
|
3084
3216
|
mimeType: string;
|
|
@@ -3088,6 +3220,7 @@ export declare const vv: {
|
|
|
3088
3220
|
role: import("convex/values").VLiteral<"user", "required">;
|
|
3089
3221
|
content: import("convex/values").VUnion<string | ({
|
|
3090
3222
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3223
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3091
3224
|
type: "text";
|
|
3092
3225
|
text: string;
|
|
3093
3226
|
} | {
|
|
@@ -3097,12 +3230,14 @@ export declare const vv: {
|
|
|
3097
3230
|
image: string | ArrayBuffer;
|
|
3098
3231
|
} | {
|
|
3099
3232
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3233
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3100
3234
|
filename?: string | undefined;
|
|
3101
3235
|
type: "file";
|
|
3102
3236
|
mimeType: string;
|
|
3103
3237
|
data: string | ArrayBuffer;
|
|
3104
3238
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
3105
3239
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3240
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3106
3241
|
type: "text";
|
|
3107
3242
|
text: string;
|
|
3108
3243
|
} | {
|
|
@@ -3112,12 +3247,14 @@ export declare const vv: {
|
|
|
3112
3247
|
image: string | ArrayBuffer;
|
|
3113
3248
|
} | {
|
|
3114
3249
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3250
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3115
3251
|
filename?: string | undefined;
|
|
3116
3252
|
type: "file";
|
|
3117
3253
|
mimeType: string;
|
|
3118
3254
|
data: string | ArrayBuffer;
|
|
3119
3255
|
})[], import("convex/values").VUnion<{
|
|
3120
3256
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3257
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3121
3258
|
type: "text";
|
|
3122
3259
|
text: string;
|
|
3123
3260
|
} | {
|
|
@@ -3127,19 +3264,22 @@ export declare const vv: {
|
|
|
3127
3264
|
image: string | ArrayBuffer;
|
|
3128
3265
|
} | {
|
|
3129
3266
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3267
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3130
3268
|
filename?: string | undefined;
|
|
3131
3269
|
type: "file";
|
|
3132
3270
|
mimeType: string;
|
|
3133
3271
|
data: string | ArrayBuffer;
|
|
3134
3272
|
}, [import("convex/values").VObject<{
|
|
3135
3273
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3274
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3136
3275
|
type: "text";
|
|
3137
3276
|
text: string;
|
|
3138
3277
|
}, {
|
|
3139
3278
|
type: import("convex/values").VLiteral<"text", "required">;
|
|
3140
3279
|
text: import("convex/values").VString<string, "required">;
|
|
3141
3280
|
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>;
|
|
3142
|
-
|
|
3281
|
+
providerMetadata: 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>;
|
|
3282
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}`>, import("convex/values").VObject<{
|
|
3143
3283
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3144
3284
|
mimeType?: string | undefined;
|
|
3145
3285
|
type: "image";
|
|
@@ -3151,6 +3291,7 @@ export declare const vv: {
|
|
|
3151
3291
|
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>;
|
|
3152
3292
|
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "image" | "mimeType">, import("convex/values").VObject<{
|
|
3153
3293
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3294
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3154
3295
|
filename?: string | undefined;
|
|
3155
3296
|
type: "file";
|
|
3156
3297
|
mimeType: string;
|
|
@@ -3161,32 +3302,38 @@ export declare const vv: {
|
|
|
3161
3302
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
3162
3303
|
mimeType: import("convex/values").VString<string, "required">;
|
|
3163
3304
|
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>;
|
|
3164
|
-
|
|
3305
|
+
providerMetadata: 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>;
|
|
3306
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename">], "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "image" | "mimeType" | "data" | "filename">, "required">], "required", never>;
|
|
3165
3307
|
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>;
|
|
3166
3308
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
3167
3309
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3168
3310
|
role: "assistant";
|
|
3169
3311
|
content: string | ({
|
|
3170
3312
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3313
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3171
3314
|
type: "text";
|
|
3172
3315
|
text: string;
|
|
3173
3316
|
} | {
|
|
3174
3317
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3318
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3175
3319
|
filename?: string | undefined;
|
|
3176
3320
|
type: "file";
|
|
3177
3321
|
mimeType: string;
|
|
3178
3322
|
data: string | ArrayBuffer;
|
|
3179
3323
|
} | {
|
|
3180
3324
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3325
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3181
3326
|
signature?: string | undefined;
|
|
3182
3327
|
type: "reasoning";
|
|
3183
3328
|
text: string;
|
|
3184
3329
|
} | {
|
|
3185
3330
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3331
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3186
3332
|
type: "redacted-reasoning";
|
|
3187
3333
|
data: string;
|
|
3188
3334
|
} | {
|
|
3189
3335
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3336
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3190
3337
|
providerExecuted?: boolean | undefined;
|
|
3191
3338
|
type: "tool-call";
|
|
3192
3339
|
toolCallId: string;
|
|
@@ -3194,6 +3341,7 @@ export declare const vv: {
|
|
|
3194
3341
|
args: any;
|
|
3195
3342
|
} | {
|
|
3196
3343
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3344
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3197
3345
|
args?: any;
|
|
3198
3346
|
providerExecuted?: boolean | undefined;
|
|
3199
3347
|
isError?: boolean | undefined;
|
|
@@ -3214,25 +3362,30 @@ export declare const vv: {
|
|
|
3214
3362
|
role: import("convex/values").VLiteral<"assistant", "required">;
|
|
3215
3363
|
content: import("convex/values").VUnion<string | ({
|
|
3216
3364
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3365
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3217
3366
|
type: "text";
|
|
3218
3367
|
text: string;
|
|
3219
3368
|
} | {
|
|
3220
3369
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3370
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3221
3371
|
filename?: string | undefined;
|
|
3222
3372
|
type: "file";
|
|
3223
3373
|
mimeType: string;
|
|
3224
3374
|
data: string | ArrayBuffer;
|
|
3225
3375
|
} | {
|
|
3226
3376
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3377
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3227
3378
|
signature?: string | undefined;
|
|
3228
3379
|
type: "reasoning";
|
|
3229
3380
|
text: string;
|
|
3230
3381
|
} | {
|
|
3231
3382
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3383
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3232
3384
|
type: "redacted-reasoning";
|
|
3233
3385
|
data: string;
|
|
3234
3386
|
} | {
|
|
3235
3387
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3388
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3236
3389
|
providerExecuted?: boolean | undefined;
|
|
3237
3390
|
type: "tool-call";
|
|
3238
3391
|
toolCallId: string;
|
|
@@ -3240,6 +3393,7 @@ export declare const vv: {
|
|
|
3240
3393
|
args: any;
|
|
3241
3394
|
} | {
|
|
3242
3395
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3396
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3243
3397
|
args?: any;
|
|
3244
3398
|
providerExecuted?: boolean | undefined;
|
|
3245
3399
|
isError?: boolean | undefined;
|
|
@@ -3257,25 +3411,30 @@ export declare const vv: {
|
|
|
3257
3411
|
result: any;
|
|
3258
3412
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
3259
3413
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3414
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3260
3415
|
type: "text";
|
|
3261
3416
|
text: string;
|
|
3262
3417
|
} | {
|
|
3263
3418
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3419
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3264
3420
|
filename?: string | undefined;
|
|
3265
3421
|
type: "file";
|
|
3266
3422
|
mimeType: string;
|
|
3267
3423
|
data: string | ArrayBuffer;
|
|
3268
3424
|
} | {
|
|
3269
3425
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3426
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3270
3427
|
signature?: string | undefined;
|
|
3271
3428
|
type: "reasoning";
|
|
3272
3429
|
text: string;
|
|
3273
3430
|
} | {
|
|
3274
3431
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3432
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3275
3433
|
type: "redacted-reasoning";
|
|
3276
3434
|
data: string;
|
|
3277
3435
|
} | {
|
|
3278
3436
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3437
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3279
3438
|
providerExecuted?: boolean | undefined;
|
|
3280
3439
|
type: "tool-call";
|
|
3281
3440
|
toolCallId: string;
|
|
@@ -3283,6 +3442,7 @@ export declare const vv: {
|
|
|
3283
3442
|
args: any;
|
|
3284
3443
|
} | {
|
|
3285
3444
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3445
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3286
3446
|
args?: any;
|
|
3287
3447
|
providerExecuted?: boolean | undefined;
|
|
3288
3448
|
isError?: boolean | undefined;
|
|
@@ -3300,25 +3460,30 @@ export declare const vv: {
|
|
|
3300
3460
|
result: any;
|
|
3301
3461
|
})[], import("convex/values").VUnion<{
|
|
3302
3462
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3463
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3303
3464
|
type: "text";
|
|
3304
3465
|
text: string;
|
|
3305
3466
|
} | {
|
|
3306
3467
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3468
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3307
3469
|
filename?: string | undefined;
|
|
3308
3470
|
type: "file";
|
|
3309
3471
|
mimeType: string;
|
|
3310
3472
|
data: string | ArrayBuffer;
|
|
3311
3473
|
} | {
|
|
3312
3474
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3475
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3313
3476
|
signature?: string | undefined;
|
|
3314
3477
|
type: "reasoning";
|
|
3315
3478
|
text: string;
|
|
3316
3479
|
} | {
|
|
3317
3480
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3481
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3318
3482
|
type: "redacted-reasoning";
|
|
3319
3483
|
data: string;
|
|
3320
3484
|
} | {
|
|
3321
3485
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3486
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3322
3487
|
providerExecuted?: boolean | undefined;
|
|
3323
3488
|
type: "tool-call";
|
|
3324
3489
|
toolCallId: string;
|
|
@@ -3326,6 +3491,7 @@ export declare const vv: {
|
|
|
3326
3491
|
args: any;
|
|
3327
3492
|
} | {
|
|
3328
3493
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3494
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3329
3495
|
args?: any;
|
|
3330
3496
|
providerExecuted?: boolean | undefined;
|
|
3331
3497
|
isError?: boolean | undefined;
|
|
@@ -3343,14 +3509,17 @@ export declare const vv: {
|
|
|
3343
3509
|
result: any;
|
|
3344
3510
|
}, [import("convex/values").VObject<{
|
|
3345
3511
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3512
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3346
3513
|
type: "text";
|
|
3347
3514
|
text: string;
|
|
3348
3515
|
}, {
|
|
3349
3516
|
type: import("convex/values").VLiteral<"text", "required">;
|
|
3350
3517
|
text: import("convex/values").VString<string, "required">;
|
|
3351
3518
|
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>;
|
|
3352
|
-
|
|
3519
|
+
providerMetadata: 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>;
|
|
3520
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}`>, import("convex/values").VObject<{
|
|
3353
3521
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3522
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3354
3523
|
filename?: string | undefined;
|
|
3355
3524
|
type: "file";
|
|
3356
3525
|
mimeType: string;
|
|
@@ -3361,8 +3530,10 @@ export declare const vv: {
|
|
|
3361
3530
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
3362
3531
|
mimeType: import("convex/values").VString<string, "required">;
|
|
3363
3532
|
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>;
|
|
3364
|
-
|
|
3533
|
+
providerMetadata: 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>;
|
|
3534
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename">, import("convex/values").VObject<{
|
|
3365
3535
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3536
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3366
3537
|
signature?: string | undefined;
|
|
3367
3538
|
type: "reasoning";
|
|
3368
3539
|
text: string;
|
|
@@ -3371,16 +3542,20 @@ export declare const vv: {
|
|
|
3371
3542
|
text: import("convex/values").VString<string, "required">;
|
|
3372
3543
|
signature: import("convex/values").VString<string | undefined, "optional">;
|
|
3373
3544
|
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>;
|
|
3374
|
-
|
|
3545
|
+
providerMetadata: 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>;
|
|
3546
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "signature">, import("convex/values").VObject<{
|
|
3375
3547
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3548
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3376
3549
|
type: "redacted-reasoning";
|
|
3377
3550
|
data: string;
|
|
3378
3551
|
}, {
|
|
3379
3552
|
type: import("convex/values").VLiteral<"redacted-reasoning", "required">;
|
|
3380
3553
|
data: import("convex/values").VString<string, "required">;
|
|
3381
3554
|
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>;
|
|
3382
|
-
|
|
3555
|
+
providerMetadata: 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>;
|
|
3556
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "data">, import("convex/values").VObject<{
|
|
3383
3557
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3558
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3384
3559
|
providerExecuted?: boolean | undefined;
|
|
3385
3560
|
type: "tool-call";
|
|
3386
3561
|
toolCallId: string;
|
|
@@ -3393,8 +3568,10 @@ export declare const vv: {
|
|
|
3393
3568
|
args: import("convex/values").VAny<any, "required", string>;
|
|
3394
3569
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
3395
3570
|
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>;
|
|
3396
|
-
|
|
3571
|
+
providerMetadata: 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>;
|
|
3572
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}`>, import("convex/values").VObject<{
|
|
3397
3573
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3574
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3398
3575
|
args?: any;
|
|
3399
3576
|
providerExecuted?: boolean | undefined;
|
|
3400
3577
|
isError?: boolean | undefined;
|
|
@@ -3416,6 +3593,7 @@ export declare const vv: {
|
|
|
3416
3593
|
toolName: import("convex/values").VString<string, "required">;
|
|
3417
3594
|
result: import("convex/values").VAny<any, "required", string>;
|
|
3418
3595
|
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>;
|
|
3596
|
+
providerMetadata: 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>;
|
|
3419
3597
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
3420
3598
|
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
3421
3599
|
args: import("convex/values").VAny<any, "optional", string>;
|
|
@@ -3448,13 +3626,14 @@ export declare const vv: {
|
|
|
3448
3626
|
data: import("convex/values").VString<string, "required">;
|
|
3449
3627
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
3450
3628
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
3451
|
-
}, "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>;
|
|
3629
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>], "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">], "required", never>;
|
|
3452
3630
|
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>;
|
|
3453
3631
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
3454
3632
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3455
3633
|
role: "tool";
|
|
3456
3634
|
content: {
|
|
3457
3635
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3636
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3458
3637
|
args?: any;
|
|
3459
3638
|
providerExecuted?: boolean | undefined;
|
|
3460
3639
|
isError?: boolean | undefined;
|
|
@@ -3475,6 +3654,7 @@ export declare const vv: {
|
|
|
3475
3654
|
role: import("convex/values").VLiteral<"tool", "required">;
|
|
3476
3655
|
content: import("convex/values").VArray<{
|
|
3477
3656
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3657
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3478
3658
|
args?: any;
|
|
3479
3659
|
providerExecuted?: boolean | undefined;
|
|
3480
3660
|
isError?: boolean | undefined;
|
|
@@ -3492,6 +3672,7 @@ export declare const vv: {
|
|
|
3492
3672
|
result: any;
|
|
3493
3673
|
}[], import("convex/values").VObject<{
|
|
3494
3674
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3675
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3495
3676
|
args?: any;
|
|
3496
3677
|
providerExecuted?: boolean | undefined;
|
|
3497
3678
|
isError?: boolean | undefined;
|
|
@@ -3513,6 +3694,7 @@ export declare const vv: {
|
|
|
3513
3694
|
toolName: import("convex/values").VString<string, "required">;
|
|
3514
3695
|
result: import("convex/values").VAny<any, "required", string>;
|
|
3515
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
|
+
providerMetadata: 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>;
|
|
3516
3698
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
3517
3699
|
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
3518
3700
|
args: import("convex/values").VAny<any, "optional", string>;
|
|
@@ -3545,7 +3727,7 @@ export declare const vv: {
|
|
|
3545
3727
|
data: import("convex/values").VString<string, "required">;
|
|
3546
3728
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
3547
3729
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
3548
|
-
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">;
|
|
3730
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">;
|
|
3549
3731
|
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>;
|
|
3550
3732
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
3551
3733
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -3576,12 +3758,14 @@ export declare const vv: {
|
|
|
3576
3758
|
title?: string | undefined;
|
|
3577
3759
|
type?: "source" | undefined;
|
|
3578
3760
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3761
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3579
3762
|
id: string;
|
|
3580
3763
|
sourceType: "url";
|
|
3581
3764
|
url: string;
|
|
3582
3765
|
} | {
|
|
3583
|
-
|
|
3766
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3584
3767
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3768
|
+
filename?: string | undefined;
|
|
3585
3769
|
id: string;
|
|
3586
3770
|
title: string;
|
|
3587
3771
|
type: "source";
|
|
@@ -3591,12 +3775,14 @@ export declare const vv: {
|
|
|
3591
3775
|
title?: string | undefined;
|
|
3592
3776
|
type?: "source" | undefined;
|
|
3593
3777
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3778
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3594
3779
|
id: string;
|
|
3595
3780
|
sourceType: "url";
|
|
3596
3781
|
url: string;
|
|
3597
3782
|
} | {
|
|
3598
|
-
|
|
3783
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3599
3784
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3785
|
+
filename?: string | undefined;
|
|
3600
3786
|
id: string;
|
|
3601
3787
|
title: string;
|
|
3602
3788
|
type: "source";
|
|
@@ -3606,6 +3792,7 @@ export declare const vv: {
|
|
|
3606
3792
|
title?: string | undefined;
|
|
3607
3793
|
type?: "source" | undefined;
|
|
3608
3794
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3795
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3609
3796
|
id: string;
|
|
3610
3797
|
sourceType: "url";
|
|
3611
3798
|
url: string;
|
|
@@ -3616,9 +3803,11 @@ export declare const vv: {
|
|
|
3616
3803
|
url: import("convex/values").VString<string, "required">;
|
|
3617
3804
|
title: import("convex/values").VString<string | undefined, "optional">;
|
|
3618
3805
|
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>;
|
|
3619
|
-
|
|
3620
|
-
|
|
3806
|
+
providerMetadata: 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>;
|
|
3807
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "sourceType" | "url">, import("convex/values").VObject<{
|
|
3808
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3621
3809
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3810
|
+
filename?: string | undefined;
|
|
3622
3811
|
id: string;
|
|
3623
3812
|
title: string;
|
|
3624
3813
|
type: "source";
|
|
@@ -3631,8 +3820,9 @@ export declare const vv: {
|
|
|
3631
3820
|
mediaType: import("convex/values").VString<string, "required">;
|
|
3632
3821
|
title: import("convex/values").VString<string, "required">;
|
|
3633
3822
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
3823
|
+
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>;
|
|
3634
3824
|
providerMetadata: 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>;
|
|
3635
|
-
}, "required", "id" | "title" | "type" | "
|
|
3825
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "sourceType" | "mediaType">], "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "sourceType" | "url" | "mediaType">, "optional">;
|
|
3636
3826
|
warnings: import("convex/values").VArray<({
|
|
3637
3827
|
details?: string | undefined;
|
|
3638
3828
|
type: "unsupported-setting";
|
|
@@ -3682,6 +3872,7 @@ export declare const vv: {
|
|
|
3682
3872
|
reasoning: import("convex/values").VString<string | undefined, "optional">;
|
|
3683
3873
|
reasoningDetails: import("convex/values").VArray<({
|
|
3684
3874
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3875
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3685
3876
|
signature?: string | undefined;
|
|
3686
3877
|
type: "reasoning";
|
|
3687
3878
|
text: string;
|
|
@@ -3694,6 +3885,7 @@ export declare const vv: {
|
|
|
3694
3885
|
data: string;
|
|
3695
3886
|
})[] | undefined, import("convex/values").VUnion<{
|
|
3696
3887
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3888
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3697
3889
|
signature?: string | undefined;
|
|
3698
3890
|
type: "reasoning";
|
|
3699
3891
|
text: string;
|
|
@@ -3706,6 +3898,7 @@ export declare const vv: {
|
|
|
3706
3898
|
data: string;
|
|
3707
3899
|
}, [import("convex/values").VObject<{
|
|
3708
3900
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3901
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3709
3902
|
signature?: string | undefined;
|
|
3710
3903
|
type: "reasoning";
|
|
3711
3904
|
text: string;
|
|
@@ -3714,7 +3907,8 @@ export declare const vv: {
|
|
|
3714
3907
|
text: import("convex/values").VString<string, "required">;
|
|
3715
3908
|
signature: import("convex/values").VString<string | undefined, "optional">;
|
|
3716
3909
|
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>;
|
|
3717
|
-
|
|
3910
|
+
providerMetadata: 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>;
|
|
3911
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "signature">, import("convex/values").VObject<{
|
|
3718
3912
|
signature?: string | undefined;
|
|
3719
3913
|
type: "text";
|
|
3720
3914
|
text: string;
|
|
@@ -3728,12 +3922,12 @@ export declare const vv: {
|
|
|
3728
3922
|
}, {
|
|
3729
3923
|
type: import("convex/values").VLiteral<"redacted", "required">;
|
|
3730
3924
|
data: import("convex/values").VString<string, "required">;
|
|
3731
|
-
}, "required", "type" | "data">], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "data" | "signature">, "optional">;
|
|
3925
|
+
}, "required", "type" | "data">], "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "data" | "signature">, "optional">;
|
|
3732
3926
|
id: import("convex/values").VString<string | undefined, "optional">;
|
|
3733
3927
|
parentMessageId: import("convex/values").VId<import("convex/values").GenericId<"messages"> | undefined, "optional">;
|
|
3734
3928
|
stepId: import("convex/values").VString<string | undefined, "optional">;
|
|
3735
3929
|
files: import("convex/values").VArray<any[] | undefined, import("convex/values").VAny<any, "required", string>, "optional">;
|
|
3736
|
-
}, "required", "id" | "status" | "userId" | "order" | "threadId" | "stepOrder" | "embeddingId" | "fileIds" | "files" | "error" | "agentName" | "model" | "provider" | "providerOptions" | "message" | "text" | `providerOptions.${string}` | "reasoning" | "tool" | "usage" | "
|
|
3930
|
+
}, "required", "id" | "status" | "userId" | "order" | "threadId" | "stepOrder" | "embeddingId" | "fileIds" | "files" | "error" | "agentName" | "model" | "provider" | "providerOptions" | "message" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "reasoning" | "tool" | "usage" | "sources" | "warnings" | "finishReason" | "reasoningDetails" | "parentMessageId" | "stepId" | "message.providerOptions" | "message.role" | `message.providerOptions.${string}` | "message.content" | "usage.promptTokens" | "usage.completionTokens" | "usage.totalTokens" | "usage.reasoningTokens" | "usage.cachedInputTokens">, {
|
|
3737
3931
|
threadId_status_tool_order_stepOrder: ["threadId", "status", "tool", "order", "stepOrder", "_creationTime"];
|
|
3738
3932
|
embeddingId_threadId: ["embeddingId", "threadId", "_creationTime"];
|
|
3739
3933
|
}, {
|
|
@@ -3912,6 +4106,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
3912
4106
|
role: "user";
|
|
3913
4107
|
content: string | ({
|
|
3914
4108
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4109
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3915
4110
|
type: "text";
|
|
3916
4111
|
text: string;
|
|
3917
4112
|
} | {
|
|
@@ -3921,6 +4116,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
3921
4116
|
image: string | ArrayBuffer;
|
|
3922
4117
|
} | {
|
|
3923
4118
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4119
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3924
4120
|
filename?: string | undefined;
|
|
3925
4121
|
type: "file";
|
|
3926
4122
|
mimeType: string;
|
|
@@ -3931,25 +4127,30 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
3931
4127
|
role: "assistant";
|
|
3932
4128
|
content: string | ({
|
|
3933
4129
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4130
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3934
4131
|
type: "text";
|
|
3935
4132
|
text: string;
|
|
3936
4133
|
} | {
|
|
3937
4134
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4135
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3938
4136
|
filename?: string | undefined;
|
|
3939
4137
|
type: "file";
|
|
3940
4138
|
mimeType: string;
|
|
3941
4139
|
data: string | ArrayBuffer;
|
|
3942
4140
|
} | {
|
|
3943
4141
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4142
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3944
4143
|
signature?: string | undefined;
|
|
3945
4144
|
type: "reasoning";
|
|
3946
4145
|
text: string;
|
|
3947
4146
|
} | {
|
|
3948
4147
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4148
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3949
4149
|
type: "redacted-reasoning";
|
|
3950
4150
|
data: string;
|
|
3951
4151
|
} | {
|
|
3952
4152
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4153
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3953
4154
|
providerExecuted?: boolean | undefined;
|
|
3954
4155
|
type: "tool-call";
|
|
3955
4156
|
toolCallId: string;
|
|
@@ -3957,6 +4158,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
3957
4158
|
args: any;
|
|
3958
4159
|
} | {
|
|
3959
4160
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4161
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3960
4162
|
args?: any;
|
|
3961
4163
|
providerExecuted?: boolean | undefined;
|
|
3962
4164
|
isError?: boolean | undefined;
|
|
@@ -3978,6 +4180,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
3978
4180
|
role: "tool";
|
|
3979
4181
|
content: {
|
|
3980
4182
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4183
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3981
4184
|
args?: any;
|
|
3982
4185
|
providerExecuted?: boolean | undefined;
|
|
3983
4186
|
isError?: boolean | undefined;
|
|
@@ -4000,6 +4203,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4000
4203
|
content: string;
|
|
4001
4204
|
} | undefined;
|
|
4002
4205
|
text?: string | undefined;
|
|
4206
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4003
4207
|
reasoning?: string | undefined;
|
|
4004
4208
|
usage?: {
|
|
4005
4209
|
reasoningTokens?: number | undefined;
|
|
@@ -4008,17 +4212,18 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4008
4212
|
completionTokens: number;
|
|
4009
4213
|
totalTokens: number;
|
|
4010
4214
|
} | undefined;
|
|
4011
|
-
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4012
4215
|
sources?: ({
|
|
4013
4216
|
title?: string | undefined;
|
|
4014
4217
|
type?: "source" | undefined;
|
|
4015
4218
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4219
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4016
4220
|
id: string;
|
|
4017
4221
|
sourceType: "url";
|
|
4018
4222
|
url: string;
|
|
4019
4223
|
} | {
|
|
4020
|
-
|
|
4224
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4021
4225
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4226
|
+
filename?: string | undefined;
|
|
4022
4227
|
id: string;
|
|
4023
4228
|
title: string;
|
|
4024
4229
|
type: "source";
|
|
@@ -4040,6 +4245,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4040
4245
|
finishReason?: "length" | "error" | "other" | "stop" | "content-filter" | "tool-calls" | "unknown" | undefined;
|
|
4041
4246
|
reasoningDetails?: ({
|
|
4042
4247
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4248
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4043
4249
|
signature?: string | undefined;
|
|
4044
4250
|
type: "reasoning";
|
|
4045
4251
|
text: string;
|
|
@@ -4076,6 +4282,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4076
4282
|
role: "user";
|
|
4077
4283
|
content: string | ({
|
|
4078
4284
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4285
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4079
4286
|
type: "text";
|
|
4080
4287
|
text: string;
|
|
4081
4288
|
} | {
|
|
@@ -4085,6 +4292,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4085
4292
|
image: string | ArrayBuffer;
|
|
4086
4293
|
} | {
|
|
4087
4294
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4295
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4088
4296
|
filename?: string | undefined;
|
|
4089
4297
|
type: "file";
|
|
4090
4298
|
mimeType: string;
|
|
@@ -4095,25 +4303,30 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4095
4303
|
role: "assistant";
|
|
4096
4304
|
content: string | ({
|
|
4097
4305
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4306
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4098
4307
|
type: "text";
|
|
4099
4308
|
text: string;
|
|
4100
4309
|
} | {
|
|
4101
4310
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4311
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4102
4312
|
filename?: string | undefined;
|
|
4103
4313
|
type: "file";
|
|
4104
4314
|
mimeType: string;
|
|
4105
4315
|
data: string | ArrayBuffer;
|
|
4106
4316
|
} | {
|
|
4107
4317
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4318
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4108
4319
|
signature?: string | undefined;
|
|
4109
4320
|
type: "reasoning";
|
|
4110
4321
|
text: string;
|
|
4111
4322
|
} | {
|
|
4112
4323
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4324
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4113
4325
|
type: "redacted-reasoning";
|
|
4114
4326
|
data: string;
|
|
4115
4327
|
} | {
|
|
4116
4328
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4329
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4117
4330
|
providerExecuted?: boolean | undefined;
|
|
4118
4331
|
type: "tool-call";
|
|
4119
4332
|
toolCallId: string;
|
|
@@ -4121,6 +4334,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4121
4334
|
args: any;
|
|
4122
4335
|
} | {
|
|
4123
4336
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4337
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4124
4338
|
args?: any;
|
|
4125
4339
|
providerExecuted?: boolean | undefined;
|
|
4126
4340
|
isError?: boolean | undefined;
|
|
@@ -4142,6 +4356,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4142
4356
|
role: "tool";
|
|
4143
4357
|
content: {
|
|
4144
4358
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4359
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4145
4360
|
args?: any;
|
|
4146
4361
|
providerExecuted?: boolean | undefined;
|
|
4147
4362
|
isError?: boolean | undefined;
|
|
@@ -4167,6 +4382,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4167
4382
|
role: "user";
|
|
4168
4383
|
content: string | ({
|
|
4169
4384
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4385
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4170
4386
|
type: "text";
|
|
4171
4387
|
text: string;
|
|
4172
4388
|
} | {
|
|
@@ -4176,6 +4392,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4176
4392
|
image: string | ArrayBuffer;
|
|
4177
4393
|
} | {
|
|
4178
4394
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4395
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4179
4396
|
filename?: string | undefined;
|
|
4180
4397
|
type: "file";
|
|
4181
4398
|
mimeType: string;
|
|
@@ -4185,6 +4402,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4185
4402
|
role: import("convex/values").VLiteral<"user", "required">;
|
|
4186
4403
|
content: import("convex/values").VUnion<string | ({
|
|
4187
4404
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4405
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4188
4406
|
type: "text";
|
|
4189
4407
|
text: string;
|
|
4190
4408
|
} | {
|
|
@@ -4194,12 +4412,14 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4194
4412
|
image: string | ArrayBuffer;
|
|
4195
4413
|
} | {
|
|
4196
4414
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4415
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4197
4416
|
filename?: string | undefined;
|
|
4198
4417
|
type: "file";
|
|
4199
4418
|
mimeType: string;
|
|
4200
4419
|
data: string | ArrayBuffer;
|
|
4201
4420
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
4202
4421
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4422
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4203
4423
|
type: "text";
|
|
4204
4424
|
text: string;
|
|
4205
4425
|
} | {
|
|
@@ -4209,12 +4429,14 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4209
4429
|
image: string | ArrayBuffer;
|
|
4210
4430
|
} | {
|
|
4211
4431
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4432
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4212
4433
|
filename?: string | undefined;
|
|
4213
4434
|
type: "file";
|
|
4214
4435
|
mimeType: string;
|
|
4215
4436
|
data: string | ArrayBuffer;
|
|
4216
4437
|
})[], import("convex/values").VUnion<{
|
|
4217
4438
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4439
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4218
4440
|
type: "text";
|
|
4219
4441
|
text: string;
|
|
4220
4442
|
} | {
|
|
@@ -4224,19 +4446,22 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4224
4446
|
image: string | ArrayBuffer;
|
|
4225
4447
|
} | {
|
|
4226
4448
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4449
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4227
4450
|
filename?: string | undefined;
|
|
4228
4451
|
type: "file";
|
|
4229
4452
|
mimeType: string;
|
|
4230
4453
|
data: string | ArrayBuffer;
|
|
4231
4454
|
}, [import("convex/values").VObject<{
|
|
4232
4455
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4456
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4233
4457
|
type: "text";
|
|
4234
4458
|
text: string;
|
|
4235
4459
|
}, {
|
|
4236
4460
|
type: import("convex/values").VLiteral<"text", "required">;
|
|
4237
4461
|
text: import("convex/values").VString<string, "required">;
|
|
4238
4462
|
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>;
|
|
4239
|
-
|
|
4463
|
+
providerMetadata: 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>;
|
|
4464
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}`>, import("convex/values").VObject<{
|
|
4240
4465
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4241
4466
|
mimeType?: string | undefined;
|
|
4242
4467
|
type: "image";
|
|
@@ -4248,6 +4473,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4248
4473
|
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>;
|
|
4249
4474
|
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "image" | "mimeType">, import("convex/values").VObject<{
|
|
4250
4475
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4476
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4251
4477
|
filename?: string | undefined;
|
|
4252
4478
|
type: "file";
|
|
4253
4479
|
mimeType: string;
|
|
@@ -4258,32 +4484,38 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4258
4484
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
4259
4485
|
mimeType: import("convex/values").VString<string, "required">;
|
|
4260
4486
|
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>;
|
|
4261
|
-
|
|
4487
|
+
providerMetadata: 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>;
|
|
4488
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename">], "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "image" | "mimeType" | "data" | "filename">, "required">], "required", never>;
|
|
4262
4489
|
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>;
|
|
4263
4490
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
4264
4491
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4265
4492
|
role: "assistant";
|
|
4266
4493
|
content: string | ({
|
|
4267
4494
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4495
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4268
4496
|
type: "text";
|
|
4269
4497
|
text: string;
|
|
4270
4498
|
} | {
|
|
4271
4499
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4500
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4272
4501
|
filename?: string | undefined;
|
|
4273
4502
|
type: "file";
|
|
4274
4503
|
mimeType: string;
|
|
4275
4504
|
data: string | ArrayBuffer;
|
|
4276
4505
|
} | {
|
|
4277
4506
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4507
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4278
4508
|
signature?: string | undefined;
|
|
4279
4509
|
type: "reasoning";
|
|
4280
4510
|
text: string;
|
|
4281
4511
|
} | {
|
|
4282
4512
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4513
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4283
4514
|
type: "redacted-reasoning";
|
|
4284
4515
|
data: string;
|
|
4285
4516
|
} | {
|
|
4286
4517
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4518
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4287
4519
|
providerExecuted?: boolean | undefined;
|
|
4288
4520
|
type: "tool-call";
|
|
4289
4521
|
toolCallId: string;
|
|
@@ -4291,6 +4523,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4291
4523
|
args: any;
|
|
4292
4524
|
} | {
|
|
4293
4525
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4526
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4294
4527
|
args?: any;
|
|
4295
4528
|
providerExecuted?: boolean | undefined;
|
|
4296
4529
|
isError?: boolean | undefined;
|
|
@@ -4311,25 +4544,30 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4311
4544
|
role: import("convex/values").VLiteral<"assistant", "required">;
|
|
4312
4545
|
content: import("convex/values").VUnion<string | ({
|
|
4313
4546
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4547
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4314
4548
|
type: "text";
|
|
4315
4549
|
text: string;
|
|
4316
4550
|
} | {
|
|
4317
4551
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4552
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4318
4553
|
filename?: string | undefined;
|
|
4319
4554
|
type: "file";
|
|
4320
4555
|
mimeType: string;
|
|
4321
4556
|
data: string | ArrayBuffer;
|
|
4322
4557
|
} | {
|
|
4323
4558
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4559
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4324
4560
|
signature?: string | undefined;
|
|
4325
4561
|
type: "reasoning";
|
|
4326
4562
|
text: string;
|
|
4327
4563
|
} | {
|
|
4328
4564
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4565
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4329
4566
|
type: "redacted-reasoning";
|
|
4330
4567
|
data: string;
|
|
4331
4568
|
} | {
|
|
4332
4569
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4570
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4333
4571
|
providerExecuted?: boolean | undefined;
|
|
4334
4572
|
type: "tool-call";
|
|
4335
4573
|
toolCallId: string;
|
|
@@ -4337,6 +4575,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4337
4575
|
args: any;
|
|
4338
4576
|
} | {
|
|
4339
4577
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4578
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4340
4579
|
args?: any;
|
|
4341
4580
|
providerExecuted?: boolean | undefined;
|
|
4342
4581
|
isError?: boolean | undefined;
|
|
@@ -4354,25 +4593,30 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4354
4593
|
result: any;
|
|
4355
4594
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
4356
4595
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4596
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4357
4597
|
type: "text";
|
|
4358
4598
|
text: string;
|
|
4359
4599
|
} | {
|
|
4360
4600
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4601
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4361
4602
|
filename?: string | undefined;
|
|
4362
4603
|
type: "file";
|
|
4363
4604
|
mimeType: string;
|
|
4364
4605
|
data: string | ArrayBuffer;
|
|
4365
4606
|
} | {
|
|
4366
4607
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4608
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4367
4609
|
signature?: string | undefined;
|
|
4368
4610
|
type: "reasoning";
|
|
4369
4611
|
text: string;
|
|
4370
4612
|
} | {
|
|
4371
4613
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4614
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4372
4615
|
type: "redacted-reasoning";
|
|
4373
4616
|
data: string;
|
|
4374
4617
|
} | {
|
|
4375
4618
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4619
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4376
4620
|
providerExecuted?: boolean | undefined;
|
|
4377
4621
|
type: "tool-call";
|
|
4378
4622
|
toolCallId: string;
|
|
@@ -4380,6 +4624,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4380
4624
|
args: any;
|
|
4381
4625
|
} | {
|
|
4382
4626
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4627
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4383
4628
|
args?: any;
|
|
4384
4629
|
providerExecuted?: boolean | undefined;
|
|
4385
4630
|
isError?: boolean | undefined;
|
|
@@ -4397,25 +4642,30 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4397
4642
|
result: any;
|
|
4398
4643
|
})[], import("convex/values").VUnion<{
|
|
4399
4644
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4645
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4400
4646
|
type: "text";
|
|
4401
4647
|
text: string;
|
|
4402
4648
|
} | {
|
|
4403
4649
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4650
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4404
4651
|
filename?: string | undefined;
|
|
4405
4652
|
type: "file";
|
|
4406
4653
|
mimeType: string;
|
|
4407
4654
|
data: string | ArrayBuffer;
|
|
4408
4655
|
} | {
|
|
4409
4656
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4657
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4410
4658
|
signature?: string | undefined;
|
|
4411
4659
|
type: "reasoning";
|
|
4412
4660
|
text: string;
|
|
4413
4661
|
} | {
|
|
4414
4662
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4663
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4415
4664
|
type: "redacted-reasoning";
|
|
4416
4665
|
data: string;
|
|
4417
4666
|
} | {
|
|
4418
4667
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4668
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4419
4669
|
providerExecuted?: boolean | undefined;
|
|
4420
4670
|
type: "tool-call";
|
|
4421
4671
|
toolCallId: string;
|
|
@@ -4423,6 +4673,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4423
4673
|
args: any;
|
|
4424
4674
|
} | {
|
|
4425
4675
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4676
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4426
4677
|
args?: any;
|
|
4427
4678
|
providerExecuted?: boolean | undefined;
|
|
4428
4679
|
isError?: boolean | undefined;
|
|
@@ -4440,14 +4691,17 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4440
4691
|
result: any;
|
|
4441
4692
|
}, [import("convex/values").VObject<{
|
|
4442
4693
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4694
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4443
4695
|
type: "text";
|
|
4444
4696
|
text: string;
|
|
4445
4697
|
}, {
|
|
4446
4698
|
type: import("convex/values").VLiteral<"text", "required">;
|
|
4447
4699
|
text: import("convex/values").VString<string, "required">;
|
|
4448
4700
|
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>;
|
|
4449
|
-
|
|
4701
|
+
providerMetadata: 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>;
|
|
4702
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}`>, import("convex/values").VObject<{
|
|
4450
4703
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4704
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4451
4705
|
filename?: string | undefined;
|
|
4452
4706
|
type: "file";
|
|
4453
4707
|
mimeType: string;
|
|
@@ -4458,8 +4712,10 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4458
4712
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
4459
4713
|
mimeType: import("convex/values").VString<string, "required">;
|
|
4460
4714
|
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>;
|
|
4461
|
-
|
|
4715
|
+
providerMetadata: 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>;
|
|
4716
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename">, import("convex/values").VObject<{
|
|
4462
4717
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4718
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4463
4719
|
signature?: string | undefined;
|
|
4464
4720
|
type: "reasoning";
|
|
4465
4721
|
text: string;
|
|
@@ -4468,16 +4724,20 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4468
4724
|
text: import("convex/values").VString<string, "required">;
|
|
4469
4725
|
signature: import("convex/values").VString<string | undefined, "optional">;
|
|
4470
4726
|
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>;
|
|
4471
|
-
|
|
4727
|
+
providerMetadata: 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>;
|
|
4728
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "signature">, import("convex/values").VObject<{
|
|
4472
4729
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4730
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4473
4731
|
type: "redacted-reasoning";
|
|
4474
4732
|
data: string;
|
|
4475
4733
|
}, {
|
|
4476
4734
|
type: import("convex/values").VLiteral<"redacted-reasoning", "required">;
|
|
4477
4735
|
data: import("convex/values").VString<string, "required">;
|
|
4478
4736
|
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>;
|
|
4479
|
-
|
|
4737
|
+
providerMetadata: 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>;
|
|
4738
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "data">, import("convex/values").VObject<{
|
|
4480
4739
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4740
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4481
4741
|
providerExecuted?: boolean | undefined;
|
|
4482
4742
|
type: "tool-call";
|
|
4483
4743
|
toolCallId: string;
|
|
@@ -4490,8 +4750,10 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4490
4750
|
args: import("convex/values").VAny<any, "required", string>;
|
|
4491
4751
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
4492
4752
|
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>;
|
|
4493
|
-
|
|
4753
|
+
providerMetadata: 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>;
|
|
4754
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}`>, import("convex/values").VObject<{
|
|
4494
4755
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4756
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4495
4757
|
args?: any;
|
|
4496
4758
|
providerExecuted?: boolean | undefined;
|
|
4497
4759
|
isError?: boolean | undefined;
|
|
@@ -4513,6 +4775,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4513
4775
|
toolName: import("convex/values").VString<string, "required">;
|
|
4514
4776
|
result: import("convex/values").VAny<any, "required", string>;
|
|
4515
4777
|
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>;
|
|
4778
|
+
providerMetadata: 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>;
|
|
4516
4779
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
4517
4780
|
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
4518
4781
|
args: import("convex/values").VAny<any, "optional", string>;
|
|
@@ -4545,13 +4808,14 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4545
4808
|
data: import("convex/values").VString<string, "required">;
|
|
4546
4809
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
4547
4810
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
4548
|
-
}, "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>;
|
|
4811
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>], "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">], "required", never>;
|
|
4549
4812
|
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>;
|
|
4550
4813
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
4551
4814
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4552
4815
|
role: "tool";
|
|
4553
4816
|
content: {
|
|
4554
4817
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4818
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4555
4819
|
args?: any;
|
|
4556
4820
|
providerExecuted?: boolean | undefined;
|
|
4557
4821
|
isError?: boolean | undefined;
|
|
@@ -4572,6 +4836,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4572
4836
|
role: import("convex/values").VLiteral<"tool", "required">;
|
|
4573
4837
|
content: import("convex/values").VArray<{
|
|
4574
4838
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4839
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4575
4840
|
args?: any;
|
|
4576
4841
|
providerExecuted?: boolean | undefined;
|
|
4577
4842
|
isError?: boolean | undefined;
|
|
@@ -4589,6 +4854,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4589
4854
|
result: any;
|
|
4590
4855
|
}[], import("convex/values").VObject<{
|
|
4591
4856
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4857
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4592
4858
|
args?: any;
|
|
4593
4859
|
providerExecuted?: boolean | undefined;
|
|
4594
4860
|
isError?: boolean | undefined;
|
|
@@ -4610,6 +4876,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4610
4876
|
toolName: import("convex/values").VString<string, "required">;
|
|
4611
4877
|
result: import("convex/values").VAny<any, "required", string>;
|
|
4612
4878
|
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>;
|
|
4879
|
+
providerMetadata: 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>;
|
|
4613
4880
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
4614
4881
|
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
4615
4882
|
args: import("convex/values").VAny<any, "optional", string>;
|
|
@@ -4642,7 +4909,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4642
4909
|
data: import("convex/values").VString<string, "required">;
|
|
4643
4910
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
4644
4911
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
4645
|
-
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">;
|
|
4912
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">;
|
|
4646
4913
|
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>;
|
|
4647
4914
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
4648
4915
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -4673,12 +4940,14 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4673
4940
|
title?: string | undefined;
|
|
4674
4941
|
type?: "source" | undefined;
|
|
4675
4942
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4943
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4676
4944
|
id: string;
|
|
4677
4945
|
sourceType: "url";
|
|
4678
4946
|
url: string;
|
|
4679
4947
|
} | {
|
|
4680
|
-
|
|
4948
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4681
4949
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4950
|
+
filename?: string | undefined;
|
|
4682
4951
|
id: string;
|
|
4683
4952
|
title: string;
|
|
4684
4953
|
type: "source";
|
|
@@ -4688,12 +4957,14 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4688
4957
|
title?: string | undefined;
|
|
4689
4958
|
type?: "source" | undefined;
|
|
4690
4959
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4960
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4691
4961
|
id: string;
|
|
4692
4962
|
sourceType: "url";
|
|
4693
4963
|
url: string;
|
|
4694
4964
|
} | {
|
|
4695
|
-
|
|
4965
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4696
4966
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4967
|
+
filename?: string | undefined;
|
|
4697
4968
|
id: string;
|
|
4698
4969
|
title: string;
|
|
4699
4970
|
type: "source";
|
|
@@ -4703,6 +4974,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4703
4974
|
title?: string | undefined;
|
|
4704
4975
|
type?: "source" | undefined;
|
|
4705
4976
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4977
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4706
4978
|
id: string;
|
|
4707
4979
|
sourceType: "url";
|
|
4708
4980
|
url: string;
|
|
@@ -4713,9 +4985,11 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4713
4985
|
url: import("convex/values").VString<string, "required">;
|
|
4714
4986
|
title: import("convex/values").VString<string | undefined, "optional">;
|
|
4715
4987
|
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>;
|
|
4716
|
-
|
|
4717
|
-
|
|
4988
|
+
providerMetadata: 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>;
|
|
4989
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "sourceType" | "url">, import("convex/values").VObject<{
|
|
4990
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4718
4991
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4992
|
+
filename?: string | undefined;
|
|
4719
4993
|
id: string;
|
|
4720
4994
|
title: string;
|
|
4721
4995
|
type: "source";
|
|
@@ -4728,8 +5002,9 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4728
5002
|
mediaType: import("convex/values").VString<string, "required">;
|
|
4729
5003
|
title: import("convex/values").VString<string, "required">;
|
|
4730
5004
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
5005
|
+
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>;
|
|
4731
5006
|
providerMetadata: 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>;
|
|
4732
|
-
}, "required", "id" | "title" | "type" | "
|
|
5007
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "sourceType" | "mediaType">], "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "sourceType" | "url" | "mediaType">, "optional">;
|
|
4733
5008
|
warnings: import("convex/values").VArray<({
|
|
4734
5009
|
details?: string | undefined;
|
|
4735
5010
|
type: "unsupported-setting";
|
|
@@ -4779,6 +5054,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4779
5054
|
reasoning: import("convex/values").VString<string | undefined, "optional">;
|
|
4780
5055
|
reasoningDetails: import("convex/values").VArray<({
|
|
4781
5056
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5057
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4782
5058
|
signature?: string | undefined;
|
|
4783
5059
|
type: "reasoning";
|
|
4784
5060
|
text: string;
|
|
@@ -4791,6 +5067,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4791
5067
|
data: string;
|
|
4792
5068
|
})[] | undefined, import("convex/values").VUnion<{
|
|
4793
5069
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5070
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4794
5071
|
signature?: string | undefined;
|
|
4795
5072
|
type: "reasoning";
|
|
4796
5073
|
text: string;
|
|
@@ -4803,6 +5080,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4803
5080
|
data: string;
|
|
4804
5081
|
}, [import("convex/values").VObject<{
|
|
4805
5082
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5083
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4806
5084
|
signature?: string | undefined;
|
|
4807
5085
|
type: "reasoning";
|
|
4808
5086
|
text: string;
|
|
@@ -4811,7 +5089,8 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4811
5089
|
text: import("convex/values").VString<string, "required">;
|
|
4812
5090
|
signature: import("convex/values").VString<string | undefined, "optional">;
|
|
4813
5091
|
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>;
|
|
4814
|
-
|
|
5092
|
+
providerMetadata: 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>;
|
|
5093
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "signature">, import("convex/values").VObject<{
|
|
4815
5094
|
signature?: string | undefined;
|
|
4816
5095
|
type: "text";
|
|
4817
5096
|
text: string;
|
|
@@ -4825,11 +5104,11 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4825
5104
|
}, {
|
|
4826
5105
|
type: import("convex/values").VLiteral<"redacted", "required">;
|
|
4827
5106
|
data: import("convex/values").VString<string, "required">;
|
|
4828
|
-
}, "required", "type" | "data">], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "data" | "signature">, "optional">;
|
|
5107
|
+
}, "required", "type" | "data">], "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "data" | "signature">, "optional">;
|
|
4829
5108
|
id: import("convex/values").VString<string | undefined, "optional">;
|
|
4830
5109
|
_id: import("convex/values").VString<string, "required">;
|
|
4831
5110
|
_creationTime: import("convex/values").VFloat64<number, "required">;
|
|
4832
|
-
}, "required", "_id" | "_creationTime" | "id" | "status" | "userId" | "order" | "threadId" | "stepOrder" | "embeddingId" | "fileIds" | "error" | "agentName" | "model" | "provider" | "providerOptions" | "message" | "text" | `providerOptions.${string}` | "reasoning" | "tool" | "usage" | "
|
|
5111
|
+
}, "required", "_id" | "_creationTime" | "id" | "status" | "userId" | "order" | "threadId" | "stepOrder" | "embeddingId" | "fileIds" | "error" | "agentName" | "model" | "provider" | "providerOptions" | "message" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "reasoning" | "tool" | "usage" | "sources" | "warnings" | "finishReason" | "reasoningDetails" | "message.providerOptions" | "message.role" | `message.providerOptions.${string}` | "message.content" | "usage.promptTokens" | "usage.completionTokens" | "usage.totalTokens" | "usage.reasoningTokens" | "usage.cachedInputTokens">;
|
|
4833
5112
|
export type MessageDoc = Infer<typeof vMessageDoc>;
|
|
4834
5113
|
export default schema;
|
|
4835
5114
|
//# sourceMappingURL=schema.d.ts.map
|