You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: special-pages/pages/new-tab/messages/omnibar_submitChat.notify.json
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -15,12 +15,13 @@
15
15
"$ref": "./types/open-target.json"
16
16
},
17
17
"modelId": {
18
-
"description": "The selected AI model identifier",
18
+
"description": "The selected AI model identifier. Optional - if not provided, the backend will use the default model.",
19
19
"type": "string"
20
20
},
21
21
"images": {
22
-
"description": "Images to attach to the chat",
22
+
"description": "Images to attach to the chat. Optional - maximum 3 images, each up to 5MB. WebP images are converted to PNG.",
23
23
"type": "array",
24
+
"maxItems": 3,
24
25
"items": {
25
26
"type": "object",
26
27
"required": ["data", "format"],
@@ -30,8 +31,9 @@
30
31
"type": "string"
31
32
},
32
33
"format": {
33
-
"description": "Image format, e.g. jpeg, png, webp",
34
-
"type": "string"
34
+
"description": "Image format after processing. Only 'jpeg' or 'png' are sent. JPEG is preserved for .jpg/.jpeg files, all others (including WebP) are converted to PNG.",
* The selected AI model identifier. Optional - if not provided, the backend will use the default model.
612
612
*/
613
613
modelId?: string;
614
614
/**
615
-
* Images to attach to the chat
615
+
* Images to attach to the chat. Optional - maximum 3 images, each up to 5MB. WebP images are converted to PNG.
616
+
*
617
+
* @maxItems 3
616
618
*/
617
-
images?: {
618
-
/**
619
-
* Base64-encoded image data (without data URL prefix)
620
-
*/
621
-
data: string;
622
-
/**
623
-
* Image format, e.g. jpeg, png, webp
624
-
*/
625
-
format: string;
626
-
}[];
619
+
images?:
620
+
|[]
621
+
|[
622
+
{
623
+
/**
624
+
* Base64-encoded image data (without data URL prefix)
625
+
*/
626
+
data: string;
627
+
/**
628
+
* Image format after processing. Only 'jpeg' or 'png' are sent. JPEG is preserved for .jpg/.jpeg files, all others (including WebP) are converted to PNG.
629
+
*/
630
+
format: "jpeg"|"png";
631
+
}
632
+
]
633
+
|[
634
+
{
635
+
/**
636
+
* Base64-encoded image data (without data URL prefix)
637
+
*/
638
+
data: string;
639
+
/**
640
+
* Image format after processing. Only 'jpeg' or 'png' are sent. JPEG is preserved for .jpg/.jpeg files, all others (including WebP) are converted to PNG.
641
+
*/
642
+
format: "jpeg"|"png";
643
+
},
644
+
{
645
+
/**
646
+
* Base64-encoded image data (without data URL prefix)
647
+
*/
648
+
data: string;
649
+
/**
650
+
* Image format after processing. Only 'jpeg' or 'png' are sent. JPEG is preserved for .jpg/.jpeg files, all others (including WebP) are converted to PNG.
651
+
*/
652
+
format: "jpeg"|"png";
653
+
}
654
+
]
655
+
|[
656
+
{
657
+
/**
658
+
* Base64-encoded image data (without data URL prefix)
659
+
*/
660
+
data: string;
661
+
/**
662
+
* Image format after processing. Only 'jpeg' or 'png' are sent. JPEG is preserved for .jpg/.jpeg files, all others (including WebP) are converted to PNG.
663
+
*/
664
+
format: "jpeg"|"png";
665
+
},
666
+
{
667
+
/**
668
+
* Base64-encoded image data (without data URL prefix)
669
+
*/
670
+
data: string;
671
+
/**
672
+
* Image format after processing. Only 'jpeg' or 'png' are sent. JPEG is preserved for .jpg/.jpeg files, all others (including WebP) are converted to PNG.
673
+
*/
674
+
format: "jpeg"|"png";
675
+
},
676
+
{
677
+
/**
678
+
* Base64-encoded image data (without data URL prefix)
679
+
*/
680
+
data: string;
681
+
/**
682
+
* Image format after processing. Only 'jpeg' or 'png' are sent. JPEG is preserved for .jpg/.jpeg files, all others (including WebP) are converted to PNG.
683
+
*/
684
+
format: "jpeg"|"png";
685
+
}
686
+
];
627
687
}
628
688
/**
629
689
* Generated from @see "../messages/omnibar_submitSearch.notify.json"
0 commit comments