@adaline/vertex 0.14.0 → 0.16.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/index.d.mts +24 -14
- package/dist/index.d.ts +24 -14
- package/dist/index.js +52 -52
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -11
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -79,11 +79,12 @@ declare const Gemini1_0Pro001Schema: {
|
|
|
79
79
|
param: string;
|
|
80
80
|
title: string;
|
|
81
81
|
description: string;
|
|
82
|
-
default: string
|
|
82
|
+
default: string;
|
|
83
83
|
choices: string[];
|
|
84
84
|
}>;
|
|
85
85
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
86
86
|
};
|
|
87
|
+
maxReasoningTokens?: number | undefined;
|
|
87
88
|
};
|
|
88
89
|
declare const Gemini1_0Pro001Options: z.ZodObject<{
|
|
89
90
|
accessToken: z.ZodString;
|
|
@@ -153,11 +154,12 @@ declare const Gemini1_0ProVisionSchema: {
|
|
|
153
154
|
param: string;
|
|
154
155
|
title: string;
|
|
155
156
|
description: string;
|
|
156
|
-
default: string
|
|
157
|
+
default: string;
|
|
157
158
|
choices: string[];
|
|
158
159
|
}>;
|
|
159
160
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
160
161
|
};
|
|
162
|
+
maxReasoningTokens?: number | undefined;
|
|
161
163
|
};
|
|
162
164
|
declare const Gemini1_0ProVisionOptions: z.ZodObject<{
|
|
163
165
|
accessToken: z.ZodString;
|
|
@@ -227,11 +229,12 @@ declare const Gemini1_0ProSchema: {
|
|
|
227
229
|
param: string;
|
|
228
230
|
title: string;
|
|
229
231
|
description: string;
|
|
230
|
-
default: string
|
|
232
|
+
default: string;
|
|
231
233
|
choices: string[];
|
|
232
234
|
}>;
|
|
233
235
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
234
236
|
};
|
|
237
|
+
maxReasoningTokens?: number | undefined;
|
|
235
238
|
};
|
|
236
239
|
declare const Gemini1_0ProOptions: z.ZodObject<{
|
|
237
240
|
accessToken: z.ZodString;
|
|
@@ -301,11 +304,12 @@ declare const Gemini1_5Flash001Schema: {
|
|
|
301
304
|
param: string;
|
|
302
305
|
title: string;
|
|
303
306
|
description: string;
|
|
304
|
-
default: string
|
|
307
|
+
default: string;
|
|
305
308
|
choices: string[];
|
|
306
309
|
}>;
|
|
307
310
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
308
311
|
};
|
|
312
|
+
maxReasoningTokens?: number | undefined;
|
|
309
313
|
};
|
|
310
314
|
declare const Gemini1_5Flash001Options: z.ZodObject<{
|
|
311
315
|
accessToken: z.ZodString;
|
|
@@ -375,11 +379,12 @@ declare const Gemini1_5Flash002Schema: {
|
|
|
375
379
|
param: string;
|
|
376
380
|
title: string;
|
|
377
381
|
description: string;
|
|
378
|
-
default: string
|
|
382
|
+
default: string;
|
|
379
383
|
choices: string[];
|
|
380
384
|
}>;
|
|
381
385
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
382
386
|
};
|
|
387
|
+
maxReasoningTokens?: number | undefined;
|
|
383
388
|
};
|
|
384
389
|
declare const Gemini1_5Flash002Options: z.ZodObject<{
|
|
385
390
|
accessToken: z.ZodString;
|
|
@@ -449,11 +454,12 @@ declare const Gemini1_5FlashSchema: {
|
|
|
449
454
|
param: string;
|
|
450
455
|
title: string;
|
|
451
456
|
description: string;
|
|
452
|
-
default: string
|
|
457
|
+
default: string;
|
|
453
458
|
choices: string[];
|
|
454
459
|
}>;
|
|
455
460
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
456
461
|
};
|
|
462
|
+
maxReasoningTokens?: number | undefined;
|
|
457
463
|
};
|
|
458
464
|
declare const Gemini1_5FlashOptions: z.ZodObject<{
|
|
459
465
|
accessToken: z.ZodString;
|
|
@@ -523,11 +529,12 @@ declare const Gemini1_5Pro001Schema: {
|
|
|
523
529
|
param: string;
|
|
524
530
|
title: string;
|
|
525
531
|
description: string;
|
|
526
|
-
default: string
|
|
532
|
+
default: string;
|
|
527
533
|
choices: string[];
|
|
528
534
|
}>;
|
|
529
535
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
530
536
|
};
|
|
537
|
+
maxReasoningTokens?: number | undefined;
|
|
531
538
|
};
|
|
532
539
|
declare const Gemini1_5Pro001Options: z.ZodObject<{
|
|
533
540
|
accessToken: z.ZodString;
|
|
@@ -597,11 +604,12 @@ declare const Gemini1_5Pro002Schema: {
|
|
|
597
604
|
param: string;
|
|
598
605
|
title: string;
|
|
599
606
|
description: string;
|
|
600
|
-
default: string
|
|
607
|
+
default: string;
|
|
601
608
|
choices: string[];
|
|
602
609
|
}>;
|
|
603
610
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
604
611
|
};
|
|
612
|
+
maxReasoningTokens?: number | undefined;
|
|
605
613
|
};
|
|
606
614
|
declare const Gemini1_5Pro002Options: z.ZodObject<{
|
|
607
615
|
accessToken: z.ZodString;
|
|
@@ -671,11 +679,12 @@ declare const Gemini1_5ProSchema: {
|
|
|
671
679
|
param: string;
|
|
672
680
|
title: string;
|
|
673
681
|
description: string;
|
|
674
|
-
default: string
|
|
682
|
+
default: string;
|
|
675
683
|
choices: string[];
|
|
676
684
|
}>;
|
|
677
685
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
678
686
|
};
|
|
687
|
+
maxReasoningTokens?: number | undefined;
|
|
679
688
|
};
|
|
680
689
|
declare const Gemini1_5ProOptions: z.ZodObject<{
|
|
681
690
|
accessToken: z.ZodString;
|
|
@@ -745,11 +754,12 @@ declare const Gemini2_0FlashExpSchema: {
|
|
|
745
754
|
param: string;
|
|
746
755
|
title: string;
|
|
747
756
|
description: string;
|
|
748
|
-
default: string
|
|
757
|
+
default: string;
|
|
749
758
|
choices: string[];
|
|
750
759
|
}>;
|
|
751
760
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
752
761
|
};
|
|
762
|
+
maxReasoningTokens?: number | undefined;
|
|
753
763
|
};
|
|
754
764
|
declare const Gemini2_0FlashExpOptions: z.ZodObject<{
|
|
755
765
|
accessToken: z.ZodString;
|
|
@@ -873,7 +883,7 @@ declare const Text_Embedding_004Schema: {
|
|
|
873
883
|
param: string;
|
|
874
884
|
title: string;
|
|
875
885
|
description: string;
|
|
876
|
-
default: string
|
|
886
|
+
default: string;
|
|
877
887
|
choices: string[];
|
|
878
888
|
}>;
|
|
879
889
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -946,7 +956,7 @@ declare const Text_Multilingual_Embedding_002Schema: {
|
|
|
946
956
|
param: string;
|
|
947
957
|
title: string;
|
|
948
958
|
description: string;
|
|
949
|
-
default: string
|
|
959
|
+
default: string;
|
|
950
960
|
choices: string[];
|
|
951
961
|
}>;
|
|
952
962
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -1019,7 +1029,7 @@ declare const Text_Embedding_Gecko_Multilingual_001Schema: {
|
|
|
1019
1029
|
param: string;
|
|
1020
1030
|
title: string;
|
|
1021
1031
|
description: string;
|
|
1022
|
-
default: string
|
|
1032
|
+
default: string;
|
|
1023
1033
|
choices: string[];
|
|
1024
1034
|
}>;
|
|
1025
1035
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -1092,7 +1102,7 @@ declare const Text_Embedding_Gecko_003Schema: {
|
|
|
1092
1102
|
param: string;
|
|
1093
1103
|
title: string;
|
|
1094
1104
|
description: string;
|
|
1095
|
-
default: string
|
|
1105
|
+
default: string;
|
|
1096
1106
|
choices: string[];
|
|
1097
1107
|
}>;
|
|
1098
1108
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
package/dist/index.d.ts
CHANGED
|
@@ -79,11 +79,12 @@ declare const Gemini1_0Pro001Schema: {
|
|
|
79
79
|
param: string;
|
|
80
80
|
title: string;
|
|
81
81
|
description: string;
|
|
82
|
-
default: string
|
|
82
|
+
default: string;
|
|
83
83
|
choices: string[];
|
|
84
84
|
}>;
|
|
85
85
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
86
86
|
};
|
|
87
|
+
maxReasoningTokens?: number | undefined;
|
|
87
88
|
};
|
|
88
89
|
declare const Gemini1_0Pro001Options: z.ZodObject<{
|
|
89
90
|
accessToken: z.ZodString;
|
|
@@ -153,11 +154,12 @@ declare const Gemini1_0ProVisionSchema: {
|
|
|
153
154
|
param: string;
|
|
154
155
|
title: string;
|
|
155
156
|
description: string;
|
|
156
|
-
default: string
|
|
157
|
+
default: string;
|
|
157
158
|
choices: string[];
|
|
158
159
|
}>;
|
|
159
160
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
160
161
|
};
|
|
162
|
+
maxReasoningTokens?: number | undefined;
|
|
161
163
|
};
|
|
162
164
|
declare const Gemini1_0ProVisionOptions: z.ZodObject<{
|
|
163
165
|
accessToken: z.ZodString;
|
|
@@ -227,11 +229,12 @@ declare const Gemini1_0ProSchema: {
|
|
|
227
229
|
param: string;
|
|
228
230
|
title: string;
|
|
229
231
|
description: string;
|
|
230
|
-
default: string
|
|
232
|
+
default: string;
|
|
231
233
|
choices: string[];
|
|
232
234
|
}>;
|
|
233
235
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
234
236
|
};
|
|
237
|
+
maxReasoningTokens?: number | undefined;
|
|
235
238
|
};
|
|
236
239
|
declare const Gemini1_0ProOptions: z.ZodObject<{
|
|
237
240
|
accessToken: z.ZodString;
|
|
@@ -301,11 +304,12 @@ declare const Gemini1_5Flash001Schema: {
|
|
|
301
304
|
param: string;
|
|
302
305
|
title: string;
|
|
303
306
|
description: string;
|
|
304
|
-
default: string
|
|
307
|
+
default: string;
|
|
305
308
|
choices: string[];
|
|
306
309
|
}>;
|
|
307
310
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
308
311
|
};
|
|
312
|
+
maxReasoningTokens?: number | undefined;
|
|
309
313
|
};
|
|
310
314
|
declare const Gemini1_5Flash001Options: z.ZodObject<{
|
|
311
315
|
accessToken: z.ZodString;
|
|
@@ -375,11 +379,12 @@ declare const Gemini1_5Flash002Schema: {
|
|
|
375
379
|
param: string;
|
|
376
380
|
title: string;
|
|
377
381
|
description: string;
|
|
378
|
-
default: string
|
|
382
|
+
default: string;
|
|
379
383
|
choices: string[];
|
|
380
384
|
}>;
|
|
381
385
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
382
386
|
};
|
|
387
|
+
maxReasoningTokens?: number | undefined;
|
|
383
388
|
};
|
|
384
389
|
declare const Gemini1_5Flash002Options: z.ZodObject<{
|
|
385
390
|
accessToken: z.ZodString;
|
|
@@ -449,11 +454,12 @@ declare const Gemini1_5FlashSchema: {
|
|
|
449
454
|
param: string;
|
|
450
455
|
title: string;
|
|
451
456
|
description: string;
|
|
452
|
-
default: string
|
|
457
|
+
default: string;
|
|
453
458
|
choices: string[];
|
|
454
459
|
}>;
|
|
455
460
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
456
461
|
};
|
|
462
|
+
maxReasoningTokens?: number | undefined;
|
|
457
463
|
};
|
|
458
464
|
declare const Gemini1_5FlashOptions: z.ZodObject<{
|
|
459
465
|
accessToken: z.ZodString;
|
|
@@ -523,11 +529,12 @@ declare const Gemini1_5Pro001Schema: {
|
|
|
523
529
|
param: string;
|
|
524
530
|
title: string;
|
|
525
531
|
description: string;
|
|
526
|
-
default: string
|
|
532
|
+
default: string;
|
|
527
533
|
choices: string[];
|
|
528
534
|
}>;
|
|
529
535
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
530
536
|
};
|
|
537
|
+
maxReasoningTokens?: number | undefined;
|
|
531
538
|
};
|
|
532
539
|
declare const Gemini1_5Pro001Options: z.ZodObject<{
|
|
533
540
|
accessToken: z.ZodString;
|
|
@@ -597,11 +604,12 @@ declare const Gemini1_5Pro002Schema: {
|
|
|
597
604
|
param: string;
|
|
598
605
|
title: string;
|
|
599
606
|
description: string;
|
|
600
|
-
default: string
|
|
607
|
+
default: string;
|
|
601
608
|
choices: string[];
|
|
602
609
|
}>;
|
|
603
610
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
604
611
|
};
|
|
612
|
+
maxReasoningTokens?: number | undefined;
|
|
605
613
|
};
|
|
606
614
|
declare const Gemini1_5Pro002Options: z.ZodObject<{
|
|
607
615
|
accessToken: z.ZodString;
|
|
@@ -671,11 +679,12 @@ declare const Gemini1_5ProSchema: {
|
|
|
671
679
|
param: string;
|
|
672
680
|
title: string;
|
|
673
681
|
description: string;
|
|
674
|
-
default: string
|
|
682
|
+
default: string;
|
|
675
683
|
choices: string[];
|
|
676
684
|
}>;
|
|
677
685
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
678
686
|
};
|
|
687
|
+
maxReasoningTokens?: number | undefined;
|
|
679
688
|
};
|
|
680
689
|
declare const Gemini1_5ProOptions: z.ZodObject<{
|
|
681
690
|
accessToken: z.ZodString;
|
|
@@ -745,11 +754,12 @@ declare const Gemini2_0FlashExpSchema: {
|
|
|
745
754
|
param: string;
|
|
746
755
|
title: string;
|
|
747
756
|
description: string;
|
|
748
|
-
default: string
|
|
757
|
+
default: string;
|
|
749
758
|
choices: string[];
|
|
750
759
|
}>;
|
|
751
760
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
752
761
|
};
|
|
762
|
+
maxReasoningTokens?: number | undefined;
|
|
753
763
|
};
|
|
754
764
|
declare const Gemini2_0FlashExpOptions: z.ZodObject<{
|
|
755
765
|
accessToken: z.ZodString;
|
|
@@ -873,7 +883,7 @@ declare const Text_Embedding_004Schema: {
|
|
|
873
883
|
param: string;
|
|
874
884
|
title: string;
|
|
875
885
|
description: string;
|
|
876
|
-
default: string
|
|
886
|
+
default: string;
|
|
877
887
|
choices: string[];
|
|
878
888
|
}>;
|
|
879
889
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -946,7 +956,7 @@ declare const Text_Multilingual_Embedding_002Schema: {
|
|
|
946
956
|
param: string;
|
|
947
957
|
title: string;
|
|
948
958
|
description: string;
|
|
949
|
-
default: string
|
|
959
|
+
default: string;
|
|
950
960
|
choices: string[];
|
|
951
961
|
}>;
|
|
952
962
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -1019,7 +1029,7 @@ declare const Text_Embedding_Gecko_Multilingual_001Schema: {
|
|
|
1019
1029
|
param: string;
|
|
1020
1030
|
title: string;
|
|
1021
1031
|
description: string;
|
|
1022
|
-
default: string
|
|
1032
|
+
default: string;
|
|
1023
1033
|
choices: string[];
|
|
1024
1034
|
}>;
|
|
1025
1035
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -1092,7 +1102,7 @@ declare const Text_Embedding_Gecko_003Schema: {
|
|
|
1092
1102
|
param: string;
|
|
1093
1103
|
title: string;
|
|
1094
1104
|
description: string;
|
|
1095
|
-
default: string
|
|
1105
|
+
default: string;
|
|
1096
1106
|
choices: string[];
|
|
1097
1107
|
}>;
|
|
1098
1108
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|