@adaline/google 0.15.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 +15 -0
- package/dist/index.d.ts +15 -0
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -2002,6 +2002,7 @@ declare const Gemini1_0Pro_001Schema: {
|
|
|
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;
|
|
@@ -2073,6 +2074,7 @@ declare const Gemini1_0ProLatestSchema: {
|
|
|
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;
|
|
@@ -2144,6 +2146,7 @@ declare const Gemini1_0ProVisionSchema: {
|
|
|
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;
|
|
@@ -2215,6 +2218,7 @@ declare const Gemini1_0ProSchema: {
|
|
|
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;
|
|
@@ -2286,6 +2290,7 @@ declare const Gemini1_5Flash001Schema: {
|
|
|
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;
|
|
@@ -2357,6 +2362,7 @@ declare const Gemini1_5Flash002Schema: {
|
|
|
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;
|
|
@@ -2428,6 +2434,7 @@ declare const Gemini1_5FlashLatestSchema: {
|
|
|
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;
|
|
@@ -2499,6 +2506,7 @@ declare const Gemini1_5FlashSchema: {
|
|
|
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;
|
|
@@ -2570,6 +2578,7 @@ declare const Gemini1_5Pro001Schema: {
|
|
|
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;
|
|
@@ -2641,6 +2650,7 @@ declare const Gemini1_5Pro002Schema: {
|
|
|
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;
|
|
@@ -2712,6 +2722,7 @@ declare const Gemini1_5ProLatestSchema: {
|
|
|
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;
|
|
@@ -2783,6 +2794,7 @@ declare const Gemini1_5ProSchema: {
|
|
|
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;
|
|
@@ -2854,6 +2866,7 @@ declare const Gemini2_0FlashExpSchema: {
|
|
|
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;
|
|
@@ -2925,6 +2938,7 @@ declare const GeminiProVisionSchema: {
|
|
|
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;
|
|
@@ -2996,6 +3010,7 @@ declare const GeminiProSchema: {
|
|
|
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;
|
package/dist/index.d.ts
CHANGED
|
@@ -2002,6 +2002,7 @@ declare const Gemini1_0Pro_001Schema: {
|
|
|
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;
|
|
@@ -2073,6 +2074,7 @@ declare const Gemini1_0ProLatestSchema: {
|
|
|
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;
|
|
@@ -2144,6 +2146,7 @@ declare const Gemini1_0ProVisionSchema: {
|
|
|
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;
|
|
@@ -2215,6 +2218,7 @@ declare const Gemini1_0ProSchema: {
|
|
|
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;
|
|
@@ -2286,6 +2290,7 @@ declare const Gemini1_5Flash001Schema: {
|
|
|
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;
|
|
@@ -2357,6 +2362,7 @@ declare const Gemini1_5Flash002Schema: {
|
|
|
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;
|
|
@@ -2428,6 +2434,7 @@ declare const Gemini1_5FlashLatestSchema: {
|
|
|
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;
|
|
@@ -2499,6 +2506,7 @@ declare const Gemini1_5FlashSchema: {
|
|
|
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;
|
|
@@ -2570,6 +2578,7 @@ declare const Gemini1_5Pro001Schema: {
|
|
|
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;
|
|
@@ -2641,6 +2650,7 @@ declare const Gemini1_5Pro002Schema: {
|
|
|
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;
|
|
@@ -2712,6 +2722,7 @@ declare const Gemini1_5ProLatestSchema: {
|
|
|
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;
|
|
@@ -2783,6 +2794,7 @@ declare const Gemini1_5ProSchema: {
|
|
|
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;
|
|
@@ -2854,6 +2866,7 @@ declare const Gemini2_0FlashExpSchema: {
|
|
|
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;
|
|
@@ -2925,6 +2938,7 @@ declare const GeminiProVisionSchema: {
|
|
|
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;
|
|
@@ -2996,6 +3010,7 @@ declare const GeminiProSchema: {
|
|
|
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;
|
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
|
}
|