@adaline/google 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 +37 -22
- package/dist/index.d.ts +37 -22
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -48,7 +48,7 @@ declare const GoogleChatModelConfigs: {
|
|
|
48
48
|
param: string;
|
|
49
49
|
title: string;
|
|
50
50
|
description: string;
|
|
51
|
-
default: string
|
|
51
|
+
default: string;
|
|
52
52
|
choices: string[];
|
|
53
53
|
};
|
|
54
54
|
readonly safetySettings: {
|
|
@@ -174,7 +174,7 @@ declare const GoogleChatModelConfigs: {
|
|
|
174
174
|
param: string;
|
|
175
175
|
title: string;
|
|
176
176
|
description: string;
|
|
177
|
-
default: string
|
|
177
|
+
default: string;
|
|
178
178
|
choices: string[];
|
|
179
179
|
};
|
|
180
180
|
readonly safetySettings: {
|
|
@@ -360,7 +360,7 @@ declare const toolChoice: {
|
|
|
360
360
|
param: string;
|
|
361
361
|
title: string;
|
|
362
362
|
description: string;
|
|
363
|
-
default: string
|
|
363
|
+
default: string;
|
|
364
364
|
choices: string[];
|
|
365
365
|
};
|
|
366
366
|
schema: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEnum<[string, ...string[]]>>>>;
|
|
@@ -453,7 +453,7 @@ declare const ChatModelBaseConfigDef: (maxTemperature: number, defaultTemperatur
|
|
|
453
453
|
param: string;
|
|
454
454
|
title: string;
|
|
455
455
|
description: string;
|
|
456
|
-
default: string
|
|
456
|
+
default: string;
|
|
457
457
|
choices: string[];
|
|
458
458
|
};
|
|
459
459
|
readonly safetySettings: {
|
|
@@ -590,7 +590,7 @@ declare const ChatModelC1ConfigDef: (maxTemperature: number, defaultTemperature:
|
|
|
590
590
|
param: string;
|
|
591
591
|
title: string;
|
|
592
592
|
description: string;
|
|
593
|
-
default: string
|
|
593
|
+
default: string;
|
|
594
594
|
choices: string[];
|
|
595
595
|
};
|
|
596
596
|
readonly safetySettings: {
|
|
@@ -1997,11 +1997,12 @@ declare const Gemini1_0Pro_001Schema: {
|
|
|
1997
1997
|
param: string;
|
|
1998
1998
|
title: string;
|
|
1999
1999
|
description: string;
|
|
2000
|
-
default: string
|
|
2000
|
+
default: string;
|
|
2001
2001
|
choices: string[];
|
|
2002
2002
|
}>;
|
|
2003
2003
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2004
2004
|
};
|
|
2005
|
+
maxReasoningTokens?: number | undefined;
|
|
2005
2006
|
};
|
|
2006
2007
|
declare const Gemini1_0Pro_001Options: z.ZodObject<{
|
|
2007
2008
|
modelName: z.ZodString;
|
|
@@ -2068,11 +2069,12 @@ declare const Gemini1_0ProLatestSchema: {
|
|
|
2068
2069
|
param: string;
|
|
2069
2070
|
title: string;
|
|
2070
2071
|
description: string;
|
|
2071
|
-
default: string
|
|
2072
|
+
default: string;
|
|
2072
2073
|
choices: string[];
|
|
2073
2074
|
}>;
|
|
2074
2075
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2075
2076
|
};
|
|
2077
|
+
maxReasoningTokens?: number | undefined;
|
|
2076
2078
|
};
|
|
2077
2079
|
declare const Gemini1_0ProLatestOptions: z.ZodObject<{
|
|
2078
2080
|
modelName: z.ZodString;
|
|
@@ -2139,11 +2141,12 @@ declare const Gemini1_0ProVisionSchema: {
|
|
|
2139
2141
|
param: string;
|
|
2140
2142
|
title: string;
|
|
2141
2143
|
description: string;
|
|
2142
|
-
default: string
|
|
2144
|
+
default: string;
|
|
2143
2145
|
choices: string[];
|
|
2144
2146
|
}>;
|
|
2145
2147
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2146
2148
|
};
|
|
2149
|
+
maxReasoningTokens?: number | undefined;
|
|
2147
2150
|
};
|
|
2148
2151
|
declare const Gemini1_0ProVisionOptions: z.ZodObject<{
|
|
2149
2152
|
modelName: z.ZodString;
|
|
@@ -2210,11 +2213,12 @@ declare const Gemini1_0ProSchema: {
|
|
|
2210
2213
|
param: string;
|
|
2211
2214
|
title: string;
|
|
2212
2215
|
description: string;
|
|
2213
|
-
default: string
|
|
2216
|
+
default: string;
|
|
2214
2217
|
choices: string[];
|
|
2215
2218
|
}>;
|
|
2216
2219
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2217
2220
|
};
|
|
2221
|
+
maxReasoningTokens?: number | undefined;
|
|
2218
2222
|
};
|
|
2219
2223
|
declare const Gemini1_0ProOptions: z.ZodObject<{
|
|
2220
2224
|
modelName: z.ZodString;
|
|
@@ -2281,11 +2285,12 @@ declare const Gemini1_5Flash001Schema: {
|
|
|
2281
2285
|
param: string;
|
|
2282
2286
|
title: string;
|
|
2283
2287
|
description: string;
|
|
2284
|
-
default: string
|
|
2288
|
+
default: string;
|
|
2285
2289
|
choices: string[];
|
|
2286
2290
|
}>;
|
|
2287
2291
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2288
2292
|
};
|
|
2293
|
+
maxReasoningTokens?: number | undefined;
|
|
2289
2294
|
};
|
|
2290
2295
|
declare const Gemini1_5Flash001Options: z.ZodObject<{
|
|
2291
2296
|
modelName: z.ZodString;
|
|
@@ -2352,11 +2357,12 @@ declare const Gemini1_5Flash002Schema: {
|
|
|
2352
2357
|
param: string;
|
|
2353
2358
|
title: string;
|
|
2354
2359
|
description: string;
|
|
2355
|
-
default: string
|
|
2360
|
+
default: string;
|
|
2356
2361
|
choices: string[];
|
|
2357
2362
|
}>;
|
|
2358
2363
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2359
2364
|
};
|
|
2365
|
+
maxReasoningTokens?: number | undefined;
|
|
2360
2366
|
};
|
|
2361
2367
|
declare const Gemini1_5Flash002Options: z.ZodObject<{
|
|
2362
2368
|
modelName: z.ZodString;
|
|
@@ -2423,11 +2429,12 @@ declare const Gemini1_5FlashLatestSchema: {
|
|
|
2423
2429
|
param: string;
|
|
2424
2430
|
title: string;
|
|
2425
2431
|
description: string;
|
|
2426
|
-
default: string
|
|
2432
|
+
default: string;
|
|
2427
2433
|
choices: string[];
|
|
2428
2434
|
}>;
|
|
2429
2435
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2430
2436
|
};
|
|
2437
|
+
maxReasoningTokens?: number | undefined;
|
|
2431
2438
|
};
|
|
2432
2439
|
declare const Gemini1_5FlashLatestOptions: z.ZodObject<{
|
|
2433
2440
|
modelName: z.ZodString;
|
|
@@ -2494,11 +2501,12 @@ declare const Gemini1_5FlashSchema: {
|
|
|
2494
2501
|
param: string;
|
|
2495
2502
|
title: string;
|
|
2496
2503
|
description: string;
|
|
2497
|
-
default: string
|
|
2504
|
+
default: string;
|
|
2498
2505
|
choices: string[];
|
|
2499
2506
|
}>;
|
|
2500
2507
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2501
2508
|
};
|
|
2509
|
+
maxReasoningTokens?: number | undefined;
|
|
2502
2510
|
};
|
|
2503
2511
|
declare const Gemini1_5FlashOptions: z.ZodObject<{
|
|
2504
2512
|
modelName: z.ZodString;
|
|
@@ -2565,11 +2573,12 @@ declare const Gemini1_5Pro001Schema: {
|
|
|
2565
2573
|
param: string;
|
|
2566
2574
|
title: string;
|
|
2567
2575
|
description: string;
|
|
2568
|
-
default: string
|
|
2576
|
+
default: string;
|
|
2569
2577
|
choices: string[];
|
|
2570
2578
|
}>;
|
|
2571
2579
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2572
2580
|
};
|
|
2581
|
+
maxReasoningTokens?: number | undefined;
|
|
2573
2582
|
};
|
|
2574
2583
|
declare const Gemini1_5Pro001Options: z.ZodObject<{
|
|
2575
2584
|
modelName: z.ZodString;
|
|
@@ -2636,11 +2645,12 @@ declare const Gemini1_5Pro002Schema: {
|
|
|
2636
2645
|
param: string;
|
|
2637
2646
|
title: string;
|
|
2638
2647
|
description: string;
|
|
2639
|
-
default: string
|
|
2648
|
+
default: string;
|
|
2640
2649
|
choices: string[];
|
|
2641
2650
|
}>;
|
|
2642
2651
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2643
2652
|
};
|
|
2653
|
+
maxReasoningTokens?: number | undefined;
|
|
2644
2654
|
};
|
|
2645
2655
|
declare const Gemini1_5Pro002Options: z.ZodObject<{
|
|
2646
2656
|
modelName: z.ZodString;
|
|
@@ -2707,11 +2717,12 @@ declare const Gemini1_5ProLatestSchema: {
|
|
|
2707
2717
|
param: string;
|
|
2708
2718
|
title: string;
|
|
2709
2719
|
description: string;
|
|
2710
|
-
default: string
|
|
2720
|
+
default: string;
|
|
2711
2721
|
choices: string[];
|
|
2712
2722
|
}>;
|
|
2713
2723
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2714
2724
|
};
|
|
2725
|
+
maxReasoningTokens?: number | undefined;
|
|
2715
2726
|
};
|
|
2716
2727
|
declare const Gemini1_5ProLatestOptions: z.ZodObject<{
|
|
2717
2728
|
modelName: z.ZodString;
|
|
@@ -2778,11 +2789,12 @@ declare const Gemini1_5ProSchema: {
|
|
|
2778
2789
|
param: string;
|
|
2779
2790
|
title: string;
|
|
2780
2791
|
description: string;
|
|
2781
|
-
default: string
|
|
2792
|
+
default: string;
|
|
2782
2793
|
choices: string[];
|
|
2783
2794
|
}>;
|
|
2784
2795
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2785
2796
|
};
|
|
2797
|
+
maxReasoningTokens?: number | undefined;
|
|
2786
2798
|
};
|
|
2787
2799
|
declare const Gemini1_5ProOptions: z.ZodObject<{
|
|
2788
2800
|
modelName: z.ZodString;
|
|
@@ -2849,11 +2861,12 @@ declare const Gemini2_0FlashExpSchema: {
|
|
|
2849
2861
|
param: string;
|
|
2850
2862
|
title: string;
|
|
2851
2863
|
description: string;
|
|
2852
|
-
default: string
|
|
2864
|
+
default: string;
|
|
2853
2865
|
choices: string[];
|
|
2854
2866
|
}>;
|
|
2855
2867
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2856
2868
|
};
|
|
2869
|
+
maxReasoningTokens?: number | undefined;
|
|
2857
2870
|
};
|
|
2858
2871
|
declare const Gemini2_0FlashExpOptions: z.ZodObject<{
|
|
2859
2872
|
modelName: z.ZodString;
|
|
@@ -2920,11 +2933,12 @@ declare const GeminiProVisionSchema: {
|
|
|
2920
2933
|
param: string;
|
|
2921
2934
|
title: string;
|
|
2922
2935
|
description: string;
|
|
2923
|
-
default: string
|
|
2936
|
+
default: string;
|
|
2924
2937
|
choices: string[];
|
|
2925
2938
|
}>;
|
|
2926
2939
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2927
2940
|
};
|
|
2941
|
+
maxReasoningTokens?: number | undefined;
|
|
2928
2942
|
};
|
|
2929
2943
|
declare const GeminiProVisionOptions: z.ZodObject<{
|
|
2930
2944
|
modelName: z.ZodString;
|
|
@@ -2991,11 +3005,12 @@ declare const GeminiProSchema: {
|
|
|
2991
3005
|
param: string;
|
|
2992
3006
|
title: string;
|
|
2993
3007
|
description: string;
|
|
2994
|
-
default: string
|
|
3008
|
+
default: string;
|
|
2995
3009
|
choices: string[];
|
|
2996
3010
|
}>;
|
|
2997
3011
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2998
3012
|
};
|
|
3013
|
+
maxReasoningTokens?: number | undefined;
|
|
2999
3014
|
};
|
|
3000
3015
|
declare const GeminiProOptions: z.ZodObject<{
|
|
3001
3016
|
modelName: z.ZodString;
|
|
@@ -3226,7 +3241,7 @@ declare const Text_Embedding_001Schema: {
|
|
|
3226
3241
|
param: string;
|
|
3227
3242
|
title: string;
|
|
3228
3243
|
description: string;
|
|
3229
|
-
default: string
|
|
3244
|
+
default: string;
|
|
3230
3245
|
choices: string[];
|
|
3231
3246
|
}>;
|
|
3232
3247
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -3293,7 +3308,7 @@ declare const Text_Embedding_004Schema: {
|
|
|
3293
3308
|
param: string;
|
|
3294
3309
|
title: string;
|
|
3295
3310
|
description: string;
|
|
3296
|
-
default: string
|
|
3311
|
+
default: string;
|
|
3297
3312
|
choices: string[];
|
|
3298
3313
|
}>;
|
|
3299
3314
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
package/dist/index.d.ts
CHANGED
|
@@ -48,7 +48,7 @@ declare const GoogleChatModelConfigs: {
|
|
|
48
48
|
param: string;
|
|
49
49
|
title: string;
|
|
50
50
|
description: string;
|
|
51
|
-
default: string
|
|
51
|
+
default: string;
|
|
52
52
|
choices: string[];
|
|
53
53
|
};
|
|
54
54
|
readonly safetySettings: {
|
|
@@ -174,7 +174,7 @@ declare const GoogleChatModelConfigs: {
|
|
|
174
174
|
param: string;
|
|
175
175
|
title: string;
|
|
176
176
|
description: string;
|
|
177
|
-
default: string
|
|
177
|
+
default: string;
|
|
178
178
|
choices: string[];
|
|
179
179
|
};
|
|
180
180
|
readonly safetySettings: {
|
|
@@ -360,7 +360,7 @@ declare const toolChoice: {
|
|
|
360
360
|
param: string;
|
|
361
361
|
title: string;
|
|
362
362
|
description: string;
|
|
363
|
-
default: string
|
|
363
|
+
default: string;
|
|
364
364
|
choices: string[];
|
|
365
365
|
};
|
|
366
366
|
schema: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEnum<[string, ...string[]]>>>>;
|
|
@@ -453,7 +453,7 @@ declare const ChatModelBaseConfigDef: (maxTemperature: number, defaultTemperatur
|
|
|
453
453
|
param: string;
|
|
454
454
|
title: string;
|
|
455
455
|
description: string;
|
|
456
|
-
default: string
|
|
456
|
+
default: string;
|
|
457
457
|
choices: string[];
|
|
458
458
|
};
|
|
459
459
|
readonly safetySettings: {
|
|
@@ -590,7 +590,7 @@ declare const ChatModelC1ConfigDef: (maxTemperature: number, defaultTemperature:
|
|
|
590
590
|
param: string;
|
|
591
591
|
title: string;
|
|
592
592
|
description: string;
|
|
593
|
-
default: string
|
|
593
|
+
default: string;
|
|
594
594
|
choices: string[];
|
|
595
595
|
};
|
|
596
596
|
readonly safetySettings: {
|
|
@@ -1997,11 +1997,12 @@ declare const Gemini1_0Pro_001Schema: {
|
|
|
1997
1997
|
param: string;
|
|
1998
1998
|
title: string;
|
|
1999
1999
|
description: string;
|
|
2000
|
-
default: string
|
|
2000
|
+
default: string;
|
|
2001
2001
|
choices: string[];
|
|
2002
2002
|
}>;
|
|
2003
2003
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2004
2004
|
};
|
|
2005
|
+
maxReasoningTokens?: number | undefined;
|
|
2005
2006
|
};
|
|
2006
2007
|
declare const Gemini1_0Pro_001Options: z.ZodObject<{
|
|
2007
2008
|
modelName: z.ZodString;
|
|
@@ -2068,11 +2069,12 @@ declare const Gemini1_0ProLatestSchema: {
|
|
|
2068
2069
|
param: string;
|
|
2069
2070
|
title: string;
|
|
2070
2071
|
description: string;
|
|
2071
|
-
default: string
|
|
2072
|
+
default: string;
|
|
2072
2073
|
choices: string[];
|
|
2073
2074
|
}>;
|
|
2074
2075
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2075
2076
|
};
|
|
2077
|
+
maxReasoningTokens?: number | undefined;
|
|
2076
2078
|
};
|
|
2077
2079
|
declare const Gemini1_0ProLatestOptions: z.ZodObject<{
|
|
2078
2080
|
modelName: z.ZodString;
|
|
@@ -2139,11 +2141,12 @@ declare const Gemini1_0ProVisionSchema: {
|
|
|
2139
2141
|
param: string;
|
|
2140
2142
|
title: string;
|
|
2141
2143
|
description: string;
|
|
2142
|
-
default: string
|
|
2144
|
+
default: string;
|
|
2143
2145
|
choices: string[];
|
|
2144
2146
|
}>;
|
|
2145
2147
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2146
2148
|
};
|
|
2149
|
+
maxReasoningTokens?: number | undefined;
|
|
2147
2150
|
};
|
|
2148
2151
|
declare const Gemini1_0ProVisionOptions: z.ZodObject<{
|
|
2149
2152
|
modelName: z.ZodString;
|
|
@@ -2210,11 +2213,12 @@ declare const Gemini1_0ProSchema: {
|
|
|
2210
2213
|
param: string;
|
|
2211
2214
|
title: string;
|
|
2212
2215
|
description: string;
|
|
2213
|
-
default: string
|
|
2216
|
+
default: string;
|
|
2214
2217
|
choices: string[];
|
|
2215
2218
|
}>;
|
|
2216
2219
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2217
2220
|
};
|
|
2221
|
+
maxReasoningTokens?: number | undefined;
|
|
2218
2222
|
};
|
|
2219
2223
|
declare const Gemini1_0ProOptions: z.ZodObject<{
|
|
2220
2224
|
modelName: z.ZodString;
|
|
@@ -2281,11 +2285,12 @@ declare const Gemini1_5Flash001Schema: {
|
|
|
2281
2285
|
param: string;
|
|
2282
2286
|
title: string;
|
|
2283
2287
|
description: string;
|
|
2284
|
-
default: string
|
|
2288
|
+
default: string;
|
|
2285
2289
|
choices: string[];
|
|
2286
2290
|
}>;
|
|
2287
2291
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2288
2292
|
};
|
|
2293
|
+
maxReasoningTokens?: number | undefined;
|
|
2289
2294
|
};
|
|
2290
2295
|
declare const Gemini1_5Flash001Options: z.ZodObject<{
|
|
2291
2296
|
modelName: z.ZodString;
|
|
@@ -2352,11 +2357,12 @@ declare const Gemini1_5Flash002Schema: {
|
|
|
2352
2357
|
param: string;
|
|
2353
2358
|
title: string;
|
|
2354
2359
|
description: string;
|
|
2355
|
-
default: string
|
|
2360
|
+
default: string;
|
|
2356
2361
|
choices: string[];
|
|
2357
2362
|
}>;
|
|
2358
2363
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2359
2364
|
};
|
|
2365
|
+
maxReasoningTokens?: number | undefined;
|
|
2360
2366
|
};
|
|
2361
2367
|
declare const Gemini1_5Flash002Options: z.ZodObject<{
|
|
2362
2368
|
modelName: z.ZodString;
|
|
@@ -2423,11 +2429,12 @@ declare const Gemini1_5FlashLatestSchema: {
|
|
|
2423
2429
|
param: string;
|
|
2424
2430
|
title: string;
|
|
2425
2431
|
description: string;
|
|
2426
|
-
default: string
|
|
2432
|
+
default: string;
|
|
2427
2433
|
choices: string[];
|
|
2428
2434
|
}>;
|
|
2429
2435
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2430
2436
|
};
|
|
2437
|
+
maxReasoningTokens?: number | undefined;
|
|
2431
2438
|
};
|
|
2432
2439
|
declare const Gemini1_5FlashLatestOptions: z.ZodObject<{
|
|
2433
2440
|
modelName: z.ZodString;
|
|
@@ -2494,11 +2501,12 @@ declare const Gemini1_5FlashSchema: {
|
|
|
2494
2501
|
param: string;
|
|
2495
2502
|
title: string;
|
|
2496
2503
|
description: string;
|
|
2497
|
-
default: string
|
|
2504
|
+
default: string;
|
|
2498
2505
|
choices: string[];
|
|
2499
2506
|
}>;
|
|
2500
2507
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2501
2508
|
};
|
|
2509
|
+
maxReasoningTokens?: number | undefined;
|
|
2502
2510
|
};
|
|
2503
2511
|
declare const Gemini1_5FlashOptions: z.ZodObject<{
|
|
2504
2512
|
modelName: z.ZodString;
|
|
@@ -2565,11 +2573,12 @@ declare const Gemini1_5Pro001Schema: {
|
|
|
2565
2573
|
param: string;
|
|
2566
2574
|
title: string;
|
|
2567
2575
|
description: string;
|
|
2568
|
-
default: string
|
|
2576
|
+
default: string;
|
|
2569
2577
|
choices: string[];
|
|
2570
2578
|
}>;
|
|
2571
2579
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2572
2580
|
};
|
|
2581
|
+
maxReasoningTokens?: number | undefined;
|
|
2573
2582
|
};
|
|
2574
2583
|
declare const Gemini1_5Pro001Options: z.ZodObject<{
|
|
2575
2584
|
modelName: z.ZodString;
|
|
@@ -2636,11 +2645,12 @@ declare const Gemini1_5Pro002Schema: {
|
|
|
2636
2645
|
param: string;
|
|
2637
2646
|
title: string;
|
|
2638
2647
|
description: string;
|
|
2639
|
-
default: string
|
|
2648
|
+
default: string;
|
|
2640
2649
|
choices: string[];
|
|
2641
2650
|
}>;
|
|
2642
2651
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2643
2652
|
};
|
|
2653
|
+
maxReasoningTokens?: number | undefined;
|
|
2644
2654
|
};
|
|
2645
2655
|
declare const Gemini1_5Pro002Options: z.ZodObject<{
|
|
2646
2656
|
modelName: z.ZodString;
|
|
@@ -2707,11 +2717,12 @@ declare const Gemini1_5ProLatestSchema: {
|
|
|
2707
2717
|
param: string;
|
|
2708
2718
|
title: string;
|
|
2709
2719
|
description: string;
|
|
2710
|
-
default: string
|
|
2720
|
+
default: string;
|
|
2711
2721
|
choices: string[];
|
|
2712
2722
|
}>;
|
|
2713
2723
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2714
2724
|
};
|
|
2725
|
+
maxReasoningTokens?: number | undefined;
|
|
2715
2726
|
};
|
|
2716
2727
|
declare const Gemini1_5ProLatestOptions: z.ZodObject<{
|
|
2717
2728
|
modelName: z.ZodString;
|
|
@@ -2778,11 +2789,12 @@ declare const Gemini1_5ProSchema: {
|
|
|
2778
2789
|
param: string;
|
|
2779
2790
|
title: string;
|
|
2780
2791
|
description: string;
|
|
2781
|
-
default: string
|
|
2792
|
+
default: string;
|
|
2782
2793
|
choices: string[];
|
|
2783
2794
|
}>;
|
|
2784
2795
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2785
2796
|
};
|
|
2797
|
+
maxReasoningTokens?: number | undefined;
|
|
2786
2798
|
};
|
|
2787
2799
|
declare const Gemini1_5ProOptions: z.ZodObject<{
|
|
2788
2800
|
modelName: z.ZodString;
|
|
@@ -2849,11 +2861,12 @@ declare const Gemini2_0FlashExpSchema: {
|
|
|
2849
2861
|
param: string;
|
|
2850
2862
|
title: string;
|
|
2851
2863
|
description: string;
|
|
2852
|
-
default: string
|
|
2864
|
+
default: string;
|
|
2853
2865
|
choices: string[];
|
|
2854
2866
|
}>;
|
|
2855
2867
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2856
2868
|
};
|
|
2869
|
+
maxReasoningTokens?: number | undefined;
|
|
2857
2870
|
};
|
|
2858
2871
|
declare const Gemini2_0FlashExpOptions: z.ZodObject<{
|
|
2859
2872
|
modelName: z.ZodString;
|
|
@@ -2920,11 +2933,12 @@ declare const GeminiProVisionSchema: {
|
|
|
2920
2933
|
param: string;
|
|
2921
2934
|
title: string;
|
|
2922
2935
|
description: string;
|
|
2923
|
-
default: string
|
|
2936
|
+
default: string;
|
|
2924
2937
|
choices: string[];
|
|
2925
2938
|
}>;
|
|
2926
2939
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2927
2940
|
};
|
|
2941
|
+
maxReasoningTokens?: number | undefined;
|
|
2928
2942
|
};
|
|
2929
2943
|
declare const GeminiProVisionOptions: z.ZodObject<{
|
|
2930
2944
|
modelName: z.ZodString;
|
|
@@ -2991,11 +3005,12 @@ declare const GeminiProSchema: {
|
|
|
2991
3005
|
param: string;
|
|
2992
3006
|
title: string;
|
|
2993
3007
|
description: string;
|
|
2994
|
-
default: string
|
|
3008
|
+
default: string;
|
|
2995
3009
|
choices: string[];
|
|
2996
3010
|
}>;
|
|
2997
3011
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2998
3012
|
};
|
|
3013
|
+
maxReasoningTokens?: number | undefined;
|
|
2999
3014
|
};
|
|
3000
3015
|
declare const GeminiProOptions: z.ZodObject<{
|
|
3001
3016
|
modelName: z.ZodString;
|
|
@@ -3226,7 +3241,7 @@ declare const Text_Embedding_001Schema: {
|
|
|
3226
3241
|
param: string;
|
|
3227
3242
|
title: string;
|
|
3228
3243
|
description: string;
|
|
3229
|
-
default: string
|
|
3244
|
+
default: string;
|
|
3230
3245
|
choices: string[];
|
|
3231
3246
|
}>;
|
|
3232
3247
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -3293,7 +3308,7 @@ declare const Text_Embedding_004Schema: {
|
|
|
3293
3308
|
param: string;
|
|
3294
3309
|
title: string;
|
|
3295
3310
|
description: string;
|
|
3296
|
-
default: string
|
|
3311
|
+
default: string;
|
|
3297
3312
|
choices: string[];
|
|
3298
3313
|
}>;
|
|
3299
3314
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaline/google",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"private": false,
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"zod": "^3.23.8",
|
|
49
|
-
"@adaline/provider": "0.
|
|
50
|
-
"@adaline/types": "0.
|
|
49
|
+
"@adaline/provider": "0.24.0",
|
|
50
|
+
"@adaline/types": "0.22.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@adaline/tsconfig": "0.11.0",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"lint": "eslint . --ext js,jsx,ts,tsx",
|
|
60
60
|
"format": "prettier --write .",
|
|
61
61
|
"post": "npm publish --access public",
|
|
62
|
-
"test": "
|
|
63
|
-
"test:watch": "
|
|
62
|
+
"test": "vitest run",
|
|
63
|
+
"test:watch": "vitest watch"
|
|
64
64
|
}
|
|
65
65
|
}
|