@adaline/vertex 1.10.2 → 1.10.4

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/index.d.mts CHANGED
@@ -165,7 +165,7 @@ declare const Gemini1_5Flash001Schema: {
165
165
  readonly maxOutputTokens: number;
166
166
  readonly name: string;
167
167
  readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
168
- readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
168
+ readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
169
169
  readonly maxInputTokens: number;
170
170
  readonly config: {
171
171
  def: Record<string, {
@@ -376,7 +376,7 @@ declare const Gemini1_5Flash002Schema: {
376
376
  maxOutputTokens: number;
377
377
  name: string;
378
378
  roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
379
- modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
379
+ modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
380
380
  maxInputTokens: number;
381
381
  config: {
382
382
  def: Record<string, {
@@ -706,7 +706,7 @@ declare const Gemini1_5Pro001Schema: {
706
706
  readonly maxOutputTokens: number;
707
707
  readonly name: string;
708
708
  readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
709
- readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
709
+ readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
710
710
  readonly maxInputTokens: number;
711
711
  readonly config: {
712
712
  def: Record<string, {
@@ -917,7 +917,7 @@ declare const Gemini1_5Pro002Schema: {
917
917
  readonly maxOutputTokens: number;
918
918
  readonly name: string;
919
919
  readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
920
- readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
920
+ readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
921
921
  readonly maxInputTokens: number;
922
922
  readonly config: {
923
923
  def: Record<string, {
@@ -1128,7 +1128,7 @@ declare const Gemini1_5ProSchema: {
1128
1128
  readonly maxOutputTokens: number;
1129
1129
  readonly name: string;
1130
1130
  readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
1131
- readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
1131
+ readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
1132
1132
  readonly maxInputTokens: number;
1133
1133
  readonly config: {
1134
1134
  def: Record<string, {
@@ -1339,7 +1339,7 @@ declare const Gemini1_5FlashLatestSchema: {
1339
1339
  readonly maxOutputTokens: number;
1340
1340
  readonly name: string;
1341
1341
  readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
1342
- readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
1342
+ readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
1343
1343
  readonly maxInputTokens: number;
1344
1344
  readonly config: {
1345
1345
  def: Record<string, {
@@ -1550,7 +1550,7 @@ declare const Gemini1_5ProLatestSchema: {
1550
1550
  readonly maxOutputTokens: number;
1551
1551
  readonly name: string;
1552
1552
  readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
1553
- readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
1553
+ readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
1554
1554
  readonly maxInputTokens: number;
1555
1555
  readonly config: {
1556
1556
  def: Record<string, {
@@ -1752,7 +1752,7 @@ declare const Gemini2_0FlashExpSchema: {
1752
1752
  readonly maxOutputTokens: number;
1753
1753
  readonly name: string;
1754
1754
  readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
1755
- readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
1755
+ readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
1756
1756
  readonly maxInputTokens: number;
1757
1757
  readonly config: {
1758
1758
  def: Record<string, {
@@ -2192,7 +2192,7 @@ declare const Gemini2_5FlashPreview0417Schema: {
2192
2192
  readonly maxOutputTokens: number;
2193
2193
  readonly name: string;
2194
2194
  readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
2195
- readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
2195
+ readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
2196
2196
  readonly maxInputTokens: number;
2197
2197
  readonly config: {
2198
2198
  def: Record<string, {
@@ -2394,7 +2394,7 @@ declare const Gemini2_5FlashSchema: {
2394
2394
  readonly maxOutputTokens: number;
2395
2395
  readonly name: string;
2396
2396
  readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
2397
- readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
2397
+ readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
2398
2398
  readonly maxInputTokens: number;
2399
2399
  readonly config: {
2400
2400
  def: Record<string, {
@@ -2605,7 +2605,7 @@ declare const Gemini2_5ProPreview0325Schema: {
2605
2605
  readonly maxOutputTokens: number;
2606
2606
  readonly name: string;
2607
2607
  readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
2608
- readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
2608
+ readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
2609
2609
  readonly maxInputTokens: number;
2610
2610
  readonly config: {
2611
2611
  def: Record<string, {
@@ -2816,7 +2816,7 @@ declare const Gemini2_5ProSchema: {
2816
2816
  readonly maxOutputTokens: number;
2817
2817
  readonly name: string;
2818
2818
  readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
2819
- readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
2819
+ readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
2820
2820
  readonly maxInputTokens: number;
2821
2821
  readonly config: {
2822
2822
  def: Record<string, {
@@ -3018,7 +3018,7 @@ declare const Gemini3FlashPreviewSchema: {
3018
3018
  readonly maxOutputTokens: number;
3019
3019
  readonly name: string;
3020
3020
  readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
3021
- readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
3021
+ readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
3022
3022
  readonly maxInputTokens: number;
3023
3023
  readonly config: {
3024
3024
  def: Record<string, {
@@ -3229,7 +3229,7 @@ declare const Gemini3ProPreviewSchema: {
3229
3229
  readonly maxOutputTokens: number;
3230
3230
  readonly name: string;
3231
3231
  readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
3232
- readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
3232
+ readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
3233
3233
  readonly maxInputTokens: number;
3234
3234
  readonly config: {
3235
3235
  def: Record<string, {
package/dist/index.d.ts CHANGED
@@ -165,7 +165,7 @@ declare const Gemini1_5Flash001Schema: {
165
165
  readonly maxOutputTokens: number;
166
166
  readonly name: string;
167
167
  readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
168
- readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
168
+ readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
169
169
  readonly maxInputTokens: number;
170
170
  readonly config: {
171
171
  def: Record<string, {
@@ -376,7 +376,7 @@ declare const Gemini1_5Flash002Schema: {
376
376
  maxOutputTokens: number;
377
377
  name: string;
378
378
  roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
379
- modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
379
+ modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
380
380
  maxInputTokens: number;
381
381
  config: {
382
382
  def: Record<string, {
@@ -706,7 +706,7 @@ declare const Gemini1_5Pro001Schema: {
706
706
  readonly maxOutputTokens: number;
707
707
  readonly name: string;
708
708
  readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
709
- readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
709
+ readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
710
710
  readonly maxInputTokens: number;
711
711
  readonly config: {
712
712
  def: Record<string, {
@@ -917,7 +917,7 @@ declare const Gemini1_5Pro002Schema: {
917
917
  readonly maxOutputTokens: number;
918
918
  readonly name: string;
919
919
  readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
920
- readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
920
+ readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
921
921
  readonly maxInputTokens: number;
922
922
  readonly config: {
923
923
  def: Record<string, {
@@ -1128,7 +1128,7 @@ declare const Gemini1_5ProSchema: {
1128
1128
  readonly maxOutputTokens: number;
1129
1129
  readonly name: string;
1130
1130
  readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
1131
- readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
1131
+ readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
1132
1132
  readonly maxInputTokens: number;
1133
1133
  readonly config: {
1134
1134
  def: Record<string, {
@@ -1339,7 +1339,7 @@ declare const Gemini1_5FlashLatestSchema: {
1339
1339
  readonly maxOutputTokens: number;
1340
1340
  readonly name: string;
1341
1341
  readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
1342
- readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
1342
+ readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
1343
1343
  readonly maxInputTokens: number;
1344
1344
  readonly config: {
1345
1345
  def: Record<string, {
@@ -1550,7 +1550,7 @@ declare const Gemini1_5ProLatestSchema: {
1550
1550
  readonly maxOutputTokens: number;
1551
1551
  readonly name: string;
1552
1552
  readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
1553
- readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
1553
+ readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
1554
1554
  readonly maxInputTokens: number;
1555
1555
  readonly config: {
1556
1556
  def: Record<string, {
@@ -1752,7 +1752,7 @@ declare const Gemini2_0FlashExpSchema: {
1752
1752
  readonly maxOutputTokens: number;
1753
1753
  readonly name: string;
1754
1754
  readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
1755
- readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
1755
+ readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
1756
1756
  readonly maxInputTokens: number;
1757
1757
  readonly config: {
1758
1758
  def: Record<string, {
@@ -2192,7 +2192,7 @@ declare const Gemini2_5FlashPreview0417Schema: {
2192
2192
  readonly maxOutputTokens: number;
2193
2193
  readonly name: string;
2194
2194
  readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
2195
- readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
2195
+ readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
2196
2196
  readonly maxInputTokens: number;
2197
2197
  readonly config: {
2198
2198
  def: Record<string, {
@@ -2394,7 +2394,7 @@ declare const Gemini2_5FlashSchema: {
2394
2394
  readonly maxOutputTokens: number;
2395
2395
  readonly name: string;
2396
2396
  readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
2397
- readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
2397
+ readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
2398
2398
  readonly maxInputTokens: number;
2399
2399
  readonly config: {
2400
2400
  def: Record<string, {
@@ -2605,7 +2605,7 @@ declare const Gemini2_5ProPreview0325Schema: {
2605
2605
  readonly maxOutputTokens: number;
2606
2606
  readonly name: string;
2607
2607
  readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
2608
- readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
2608
+ readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
2609
2609
  readonly maxInputTokens: number;
2610
2610
  readonly config: {
2611
2611
  def: Record<string, {
@@ -2816,7 +2816,7 @@ declare const Gemini2_5ProSchema: {
2816
2816
  readonly maxOutputTokens: number;
2817
2817
  readonly name: string;
2818
2818
  readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
2819
- readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
2819
+ readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
2820
2820
  readonly maxInputTokens: number;
2821
2821
  readonly config: {
2822
2822
  def: Record<string, {
@@ -3018,7 +3018,7 @@ declare const Gemini3FlashPreviewSchema: {
3018
3018
  readonly maxOutputTokens: number;
3019
3019
  readonly name: string;
3020
3020
  readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
3021
- readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
3021
+ readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
3022
3022
  readonly maxInputTokens: number;
3023
3023
  readonly config: {
3024
3024
  def: Record<string, {
@@ -3229,7 +3229,7 @@ declare const Gemini3ProPreviewSchema: {
3229
3229
  readonly maxOutputTokens: number;
3230
3230
  readonly name: string;
3231
3231
  readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
3232
- readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
3232
+ readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
3233
3233
  readonly maxInputTokens: number;
3234
3234
  readonly config: {
3235
3235
  def: Record<string, {