@adaline/google 1.14.2 → 1.15.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 +179 -4
- package/dist/index.d.ts +179 -4
- package/dist/index.js +112 -109
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -260,7 +260,7 @@ declare const GoogleChatModelConfigs: {
|
|
|
260
260
|
} | undefined;
|
|
261
261
|
}>;
|
|
262
262
|
};
|
|
263
|
-
readonly reasoning: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number) => {
|
|
263
|
+
readonly reasoning: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number, minReasoningToken: number, maxReasoningToken: number) => {
|
|
264
264
|
def: {
|
|
265
265
|
reasoningEnabled: {
|
|
266
266
|
type: "select-boolean";
|
|
@@ -269,6 +269,24 @@ declare const GoogleChatModelConfigs: {
|
|
|
269
269
|
description: string;
|
|
270
270
|
default: boolean | null;
|
|
271
271
|
};
|
|
272
|
+
maxReasoningTokens: {
|
|
273
|
+
type: "range";
|
|
274
|
+
param: string;
|
|
275
|
+
title: string;
|
|
276
|
+
description: string;
|
|
277
|
+
max: number;
|
|
278
|
+
default: number;
|
|
279
|
+
min: number;
|
|
280
|
+
step: number;
|
|
281
|
+
};
|
|
282
|
+
reasoningEffort: {
|
|
283
|
+
type: "select-string";
|
|
284
|
+
param: string;
|
|
285
|
+
title: string;
|
|
286
|
+
description: string;
|
|
287
|
+
default: string;
|
|
288
|
+
choices: string[];
|
|
289
|
+
};
|
|
272
290
|
responseFormat: {
|
|
273
291
|
type: "select-string";
|
|
274
292
|
param: string;
|
|
@@ -382,6 +400,8 @@ declare const GoogleChatModelConfigs: {
|
|
|
382
400
|
}>>;
|
|
383
401
|
}>, {
|
|
384
402
|
reasoningEnabled: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
|
|
403
|
+
maxReasoningTokens: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
|
|
404
|
+
reasoningEffort: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
|
|
385
405
|
}>, "strip", zod.ZodTypeAny, {
|
|
386
406
|
toolChoice?: string | null | undefined;
|
|
387
407
|
safetySettings?: {
|
|
@@ -397,6 +417,8 @@ declare const GoogleChatModelConfigs: {
|
|
|
397
417
|
responseSchema?: {
|
|
398
418
|
[x: string]: any;
|
|
399
419
|
} | undefined;
|
|
420
|
+
maxReasoningTokens?: number | undefined;
|
|
421
|
+
reasoningEffort?: string | null | undefined;
|
|
400
422
|
}, {
|
|
401
423
|
toolChoice?: string | null | undefined;
|
|
402
424
|
safetySettings?: {
|
|
@@ -412,6 +434,8 @@ declare const GoogleChatModelConfigs: {
|
|
|
412
434
|
responseSchema?: {
|
|
413
435
|
[x: string]: any;
|
|
414
436
|
} | undefined;
|
|
437
|
+
maxReasoningTokens?: number | undefined;
|
|
438
|
+
reasoningEffort?: string | null | undefined;
|
|
415
439
|
}>;
|
|
416
440
|
};
|
|
417
441
|
};
|
|
@@ -714,6 +738,30 @@ declare const reasoningEnabled: {
|
|
|
714
738
|
};
|
|
715
739
|
schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
|
|
716
740
|
};
|
|
741
|
+
declare const maxReasoningTokens: (minReasoningToken: number, maxReasoningToken: number) => {
|
|
742
|
+
def: {
|
|
743
|
+
type: "range";
|
|
744
|
+
param: string;
|
|
745
|
+
title: string;
|
|
746
|
+
description: string;
|
|
747
|
+
max: number;
|
|
748
|
+
default: number;
|
|
749
|
+
min: number;
|
|
750
|
+
step: number;
|
|
751
|
+
};
|
|
752
|
+
schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
|
|
753
|
+
};
|
|
754
|
+
declare const reasoningEffort: {
|
|
755
|
+
def: {
|
|
756
|
+
type: "select-string";
|
|
757
|
+
param: string;
|
|
758
|
+
title: string;
|
|
759
|
+
description: string;
|
|
760
|
+
default: string;
|
|
761
|
+
choices: string[];
|
|
762
|
+
};
|
|
763
|
+
schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
|
|
764
|
+
};
|
|
717
765
|
declare const googleSearchTool: {
|
|
718
766
|
def: {
|
|
719
767
|
type: "select-boolean";
|
|
@@ -725,7 +773,7 @@ declare const googleSearchTool: {
|
|
|
725
773
|
schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
|
|
726
774
|
};
|
|
727
775
|
|
|
728
|
-
declare const ChatModelReasoningConfigSchema: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number) => zod.ZodObject<zod.objectUtil.extendShape<zod.objectUtil.extendShape<{
|
|
776
|
+
declare const ChatModelReasoningConfigSchema: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number, minReasoningToken: number, maxReasoningToken: number) => zod.ZodObject<zod.objectUtil.extendShape<zod.objectUtil.extendShape<{
|
|
729
777
|
temperature: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
|
|
730
778
|
maxTokens: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
|
|
731
779
|
stop: zod.ZodOptional<zod.ZodDefault<zod.ZodArray<zod.ZodString, "many">>>;
|
|
@@ -746,6 +794,8 @@ declare const ChatModelReasoningConfigSchema: (maxTemperature: number, defaultTe
|
|
|
746
794
|
}>>;
|
|
747
795
|
}>, {
|
|
748
796
|
reasoningEnabled: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
|
|
797
|
+
maxReasoningTokens: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
|
|
798
|
+
reasoningEffort: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
|
|
749
799
|
}>, "strip", zod.ZodTypeAny, {
|
|
750
800
|
toolChoice?: string | null | undefined;
|
|
751
801
|
safetySettings?: {
|
|
@@ -761,6 +811,8 @@ declare const ChatModelReasoningConfigSchema: (maxTemperature: number, defaultTe
|
|
|
761
811
|
responseSchema?: {
|
|
762
812
|
[x: string]: any;
|
|
763
813
|
} | undefined;
|
|
814
|
+
maxReasoningTokens?: number | undefined;
|
|
815
|
+
reasoningEffort?: string | null | undefined;
|
|
764
816
|
}, {
|
|
765
817
|
toolChoice?: string | null | undefined;
|
|
766
818
|
safetySettings?: {
|
|
@@ -776,8 +828,10 @@ declare const ChatModelReasoningConfigSchema: (maxTemperature: number, defaultTe
|
|
|
776
828
|
responseSchema?: {
|
|
777
829
|
[x: string]: any;
|
|
778
830
|
} | undefined;
|
|
831
|
+
maxReasoningTokens?: number | undefined;
|
|
832
|
+
reasoningEffort?: string | null | undefined;
|
|
779
833
|
}>;
|
|
780
|
-
declare const ChatModelReasoningConfigDef: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number) => {
|
|
834
|
+
declare const ChatModelReasoningConfigDef: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number, minReasoningToken: number, maxReasoningToken: number) => {
|
|
781
835
|
reasoningEnabled: {
|
|
782
836
|
type: "select-boolean";
|
|
783
837
|
param: string;
|
|
@@ -785,6 +839,24 @@ declare const ChatModelReasoningConfigDef: (maxTemperature: number, defaultTempe
|
|
|
785
839
|
description: string;
|
|
786
840
|
default: boolean | null;
|
|
787
841
|
};
|
|
842
|
+
maxReasoningTokens: {
|
|
843
|
+
type: "range";
|
|
844
|
+
param: string;
|
|
845
|
+
title: string;
|
|
846
|
+
description: string;
|
|
847
|
+
max: number;
|
|
848
|
+
default: number;
|
|
849
|
+
min: number;
|
|
850
|
+
step: number;
|
|
851
|
+
};
|
|
852
|
+
reasoningEffort: {
|
|
853
|
+
type: "select-string";
|
|
854
|
+
param: string;
|
|
855
|
+
title: string;
|
|
856
|
+
description: string;
|
|
857
|
+
default: string;
|
|
858
|
+
choices: string[];
|
|
859
|
+
};
|
|
788
860
|
responseFormat: {
|
|
789
861
|
type: "select-string";
|
|
790
862
|
param: string;
|
|
@@ -2525,6 +2597,20 @@ declare const GoogleChatToolConfig: z.ZodObject<{
|
|
|
2525
2597
|
};
|
|
2526
2598
|
}>;
|
|
2527
2599
|
type GoogleChatToolConfigType = z.infer<typeof GoogleChatToolConfig>;
|
|
2600
|
+
declare const GoogleChatThinkingConfig: z.ZodObject<{
|
|
2601
|
+
thinkingBudget: z.ZodOptional<z.ZodNumber>;
|
|
2602
|
+
includeThoughts: z.ZodOptional<z.ZodBoolean>;
|
|
2603
|
+
thinkingLevel: z.ZodOptional<z.ZodEnum<["LOW", "HIGH"]>>;
|
|
2604
|
+
}, "strip", z.ZodTypeAny, {
|
|
2605
|
+
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
2606
|
+
thinkingBudget?: number | undefined;
|
|
2607
|
+
includeThoughts?: boolean | undefined;
|
|
2608
|
+
}, {
|
|
2609
|
+
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
2610
|
+
thinkingBudget?: number | undefined;
|
|
2611
|
+
includeThoughts?: boolean | undefined;
|
|
2612
|
+
}>;
|
|
2613
|
+
type GoogleChatThinkingConfigType = z.infer<typeof GoogleChatThinkingConfig>;
|
|
2528
2614
|
declare const GoogleChatGenerationConfig: z.ZodObject<{
|
|
2529
2615
|
stopSequences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2530
2616
|
maxOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2534,6 +2620,19 @@ declare const GoogleChatGenerationConfig: z.ZodObject<{
|
|
|
2534
2620
|
presencePenalty: z.ZodOptional<z.ZodNumber>;
|
|
2535
2621
|
frequencyPenalty: z.ZodOptional<z.ZodNumber>;
|
|
2536
2622
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
2623
|
+
thinkingConfig: z.ZodOptional<z.ZodObject<{
|
|
2624
|
+
thinkingBudget: z.ZodOptional<z.ZodNumber>;
|
|
2625
|
+
includeThoughts: z.ZodOptional<z.ZodBoolean>;
|
|
2626
|
+
thinkingLevel: z.ZodOptional<z.ZodEnum<["LOW", "HIGH"]>>;
|
|
2627
|
+
}, "strip", z.ZodTypeAny, {
|
|
2628
|
+
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
2629
|
+
thinkingBudget?: number | undefined;
|
|
2630
|
+
includeThoughts?: boolean | undefined;
|
|
2631
|
+
}, {
|
|
2632
|
+
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
2633
|
+
thinkingBudget?: number | undefined;
|
|
2634
|
+
includeThoughts?: boolean | undefined;
|
|
2635
|
+
}>>;
|
|
2537
2636
|
}, "strip", z.ZodTypeAny, {
|
|
2538
2637
|
frequencyPenalty?: number | undefined;
|
|
2539
2638
|
presencePenalty?: number | undefined;
|
|
@@ -2543,6 +2642,11 @@ declare const GoogleChatGenerationConfig: z.ZodObject<{
|
|
|
2543
2642
|
stopSequences?: string[] | undefined;
|
|
2544
2643
|
topP?: number | undefined;
|
|
2545
2644
|
topK?: number | undefined;
|
|
2645
|
+
thinkingConfig?: {
|
|
2646
|
+
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
2647
|
+
thinkingBudget?: number | undefined;
|
|
2648
|
+
includeThoughts?: boolean | undefined;
|
|
2649
|
+
} | undefined;
|
|
2546
2650
|
}, {
|
|
2547
2651
|
frequencyPenalty?: number | undefined;
|
|
2548
2652
|
presencePenalty?: number | undefined;
|
|
@@ -2552,6 +2656,11 @@ declare const GoogleChatGenerationConfig: z.ZodObject<{
|
|
|
2552
2656
|
stopSequences?: string[] | undefined;
|
|
2553
2657
|
topP?: number | undefined;
|
|
2554
2658
|
topK?: number | undefined;
|
|
2659
|
+
thinkingConfig?: {
|
|
2660
|
+
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
2661
|
+
thinkingBudget?: number | undefined;
|
|
2662
|
+
includeThoughts?: boolean | undefined;
|
|
2663
|
+
} | undefined;
|
|
2555
2664
|
}>;
|
|
2556
2665
|
type GoogleChatGenerationConfigType = z.infer<typeof GoogleChatGenerationConfig>;
|
|
2557
2666
|
declare const GoogleChatSafetySettings: z.ZodObject<{
|
|
@@ -2786,6 +2895,19 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2786
2895
|
presencePenalty: z.ZodOptional<z.ZodNumber>;
|
|
2787
2896
|
frequencyPenalty: z.ZodOptional<z.ZodNumber>;
|
|
2788
2897
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
2898
|
+
thinkingConfig: z.ZodOptional<z.ZodObject<{
|
|
2899
|
+
thinkingBudget: z.ZodOptional<z.ZodNumber>;
|
|
2900
|
+
includeThoughts: z.ZodOptional<z.ZodBoolean>;
|
|
2901
|
+
thinkingLevel: z.ZodOptional<z.ZodEnum<["LOW", "HIGH"]>>;
|
|
2902
|
+
}, "strip", z.ZodTypeAny, {
|
|
2903
|
+
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
2904
|
+
thinkingBudget?: number | undefined;
|
|
2905
|
+
includeThoughts?: boolean | undefined;
|
|
2906
|
+
}, {
|
|
2907
|
+
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
2908
|
+
thinkingBudget?: number | undefined;
|
|
2909
|
+
includeThoughts?: boolean | undefined;
|
|
2910
|
+
}>>;
|
|
2789
2911
|
}, "strip", z.ZodTypeAny, {
|
|
2790
2912
|
frequencyPenalty?: number | undefined;
|
|
2791
2913
|
presencePenalty?: number | undefined;
|
|
@@ -2795,6 +2917,11 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2795
2917
|
stopSequences?: string[] | undefined;
|
|
2796
2918
|
topP?: number | undefined;
|
|
2797
2919
|
topK?: number | undefined;
|
|
2920
|
+
thinkingConfig?: {
|
|
2921
|
+
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
2922
|
+
thinkingBudget?: number | undefined;
|
|
2923
|
+
includeThoughts?: boolean | undefined;
|
|
2924
|
+
} | undefined;
|
|
2798
2925
|
}, {
|
|
2799
2926
|
frequencyPenalty?: number | undefined;
|
|
2800
2927
|
presencePenalty?: number | undefined;
|
|
@@ -2804,6 +2931,11 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2804
2931
|
stopSequences?: string[] | undefined;
|
|
2805
2932
|
topP?: number | undefined;
|
|
2806
2933
|
topK?: number | undefined;
|
|
2934
|
+
thinkingConfig?: {
|
|
2935
|
+
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
2936
|
+
thinkingBudget?: number | undefined;
|
|
2937
|
+
includeThoughts?: boolean | undefined;
|
|
2938
|
+
} | undefined;
|
|
2807
2939
|
}>>;
|
|
2808
2940
|
generation_config: z.ZodOptional<z.ZodObject<{
|
|
2809
2941
|
stopSequences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2814,6 +2946,19 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2814
2946
|
presencePenalty: z.ZodOptional<z.ZodNumber>;
|
|
2815
2947
|
frequencyPenalty: z.ZodOptional<z.ZodNumber>;
|
|
2816
2948
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
2949
|
+
thinkingConfig: z.ZodOptional<z.ZodObject<{
|
|
2950
|
+
thinkingBudget: z.ZodOptional<z.ZodNumber>;
|
|
2951
|
+
includeThoughts: z.ZodOptional<z.ZodBoolean>;
|
|
2952
|
+
thinkingLevel: z.ZodOptional<z.ZodEnum<["LOW", "HIGH"]>>;
|
|
2953
|
+
}, "strip", z.ZodTypeAny, {
|
|
2954
|
+
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
2955
|
+
thinkingBudget?: number | undefined;
|
|
2956
|
+
includeThoughts?: boolean | undefined;
|
|
2957
|
+
}, {
|
|
2958
|
+
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
2959
|
+
thinkingBudget?: number | undefined;
|
|
2960
|
+
includeThoughts?: boolean | undefined;
|
|
2961
|
+
}>>;
|
|
2817
2962
|
}, "strip", z.ZodTypeAny, {
|
|
2818
2963
|
frequencyPenalty?: number | undefined;
|
|
2819
2964
|
presencePenalty?: number | undefined;
|
|
@@ -2823,6 +2968,11 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2823
2968
|
stopSequences?: string[] | undefined;
|
|
2824
2969
|
topP?: number | undefined;
|
|
2825
2970
|
topK?: number | undefined;
|
|
2971
|
+
thinkingConfig?: {
|
|
2972
|
+
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
2973
|
+
thinkingBudget?: number | undefined;
|
|
2974
|
+
includeThoughts?: boolean | undefined;
|
|
2975
|
+
} | undefined;
|
|
2826
2976
|
}, {
|
|
2827
2977
|
frequencyPenalty?: number | undefined;
|
|
2828
2978
|
presencePenalty?: number | undefined;
|
|
@@ -2832,6 +2982,11 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2832
2982
|
stopSequences?: string[] | undefined;
|
|
2833
2983
|
topP?: number | undefined;
|
|
2834
2984
|
topK?: number | undefined;
|
|
2985
|
+
thinkingConfig?: {
|
|
2986
|
+
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
2987
|
+
thinkingBudget?: number | undefined;
|
|
2988
|
+
includeThoughts?: boolean | undefined;
|
|
2989
|
+
} | undefined;
|
|
2835
2990
|
}>>;
|
|
2836
2991
|
safetySettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2837
2992
|
category: z.ZodEnum<["HARM_CATEGORY_HARASSMENT", "HARM_CATEGORY_HATE_SPEECH", "HARM_CATEGORY_SEXUALLY_EXPLICIT", "HARM_CATEGORY_DANGEROUS_CONTENT", "HARM_CATEGORY_CIVIC_INTEGRITY"]>;
|
|
@@ -3013,6 +3168,11 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
3013
3168
|
stopSequences?: string[] | undefined;
|
|
3014
3169
|
topP?: number | undefined;
|
|
3015
3170
|
topK?: number | undefined;
|
|
3171
|
+
thinkingConfig?: {
|
|
3172
|
+
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
3173
|
+
thinkingBudget?: number | undefined;
|
|
3174
|
+
includeThoughts?: boolean | undefined;
|
|
3175
|
+
} | undefined;
|
|
3016
3176
|
} | undefined;
|
|
3017
3177
|
generation_config?: {
|
|
3018
3178
|
frequencyPenalty?: number | undefined;
|
|
@@ -3023,6 +3183,11 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
3023
3183
|
stopSequences?: string[] | undefined;
|
|
3024
3184
|
topP?: number | undefined;
|
|
3025
3185
|
topK?: number | undefined;
|
|
3186
|
+
thinkingConfig?: {
|
|
3187
|
+
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
3188
|
+
thinkingBudget?: number | undefined;
|
|
3189
|
+
includeThoughts?: boolean | undefined;
|
|
3190
|
+
} | undefined;
|
|
3026
3191
|
} | undefined;
|
|
3027
3192
|
safety_settings?: {
|
|
3028
3193
|
category: "HARM_CATEGORY_HARASSMENT" | "HARM_CATEGORY_HATE_SPEECH" | "HARM_CATEGORY_SEXUALLY_EXPLICIT" | "HARM_CATEGORY_DANGEROUS_CONTENT" | "HARM_CATEGORY_CIVIC_INTEGRITY";
|
|
@@ -3108,6 +3273,11 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
3108
3273
|
stopSequences?: string[] | undefined;
|
|
3109
3274
|
topP?: number | undefined;
|
|
3110
3275
|
topK?: number | undefined;
|
|
3276
|
+
thinkingConfig?: {
|
|
3277
|
+
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
3278
|
+
thinkingBudget?: number | undefined;
|
|
3279
|
+
includeThoughts?: boolean | undefined;
|
|
3280
|
+
} | undefined;
|
|
3111
3281
|
} | undefined;
|
|
3112
3282
|
generation_config?: {
|
|
3113
3283
|
frequencyPenalty?: number | undefined;
|
|
@@ -3118,6 +3288,11 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
3118
3288
|
stopSequences?: string[] | undefined;
|
|
3119
3289
|
topP?: number | undefined;
|
|
3120
3290
|
topK?: number | undefined;
|
|
3291
|
+
thinkingConfig?: {
|
|
3292
|
+
thinkingLevel?: "LOW" | "HIGH" | undefined;
|
|
3293
|
+
thinkingBudget?: number | undefined;
|
|
3294
|
+
includeThoughts?: boolean | undefined;
|
|
3295
|
+
} | undefined;
|
|
3121
3296
|
} | undefined;
|
|
3122
3297
|
safety_settings?: {
|
|
3123
3298
|
category: "HARM_CATEGORY_HARASSMENT" | "HARM_CATEGORY_HATE_SPEECH" | "HARM_CATEGORY_SEXUALLY_EXPLICIT" | "HARM_CATEGORY_DANGEROUS_CONTENT" | "HARM_CATEGORY_CIVIC_INTEGRITY";
|
|
@@ -5438,4 +5613,4 @@ declare class Google<C extends BaseChatModelOptionsType, E extends BaseEmbedding
|
|
|
5438
5613
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
5439
5614
|
}
|
|
5440
5615
|
|
|
5441
|
-
export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelReasoningConfigDef, ChatModelReasoningConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, GOOGLE_SAFETY_CATEGORIES, GOOGLE_SAFETY_CATEGORY_OPTIONS, GOOGLE_SAFETY_THRESHOLDS, GOOGLE_SAFETY_THRESHOLD_OPTIONS, Gemini1_5Flash, Gemini1_5Flash001, Gemini1_5Flash001Literal, Gemini1_5Flash001Options, type Gemini1_5Flash001OptionsType, Gemini1_5Flash001Schema, Gemini1_5Flash002, Gemini1_5Flash002Literal, Gemini1_5Flash002Options, type Gemini1_5Flash002OptionsType, Gemini1_5Flash002Schema, Gemini1_5FlashLatest, Gemini1_5FlashLatestLiteral, Gemini1_5FlashLatestOptions, type Gemini1_5FlashLatestOptionsType, Gemini1_5FlashLatestSchema, Gemini1_5FlashLiteral, Gemini1_5FlashOptions, type Gemini1_5FlashOptionsType, Gemini1_5FlashSchema, Gemini1_5Pro, Gemini1_5Pro001, Gemini1_5Pro001Literal, Gemini1_5Pro001Options, type Gemini1_5Pro001OptionsType, Gemini1_5Pro001Schema, Gemini1_5Pro002, Gemini1_5Pro002Literal, Gemini1_5Pro002Options, type Gemini1_5Pro002OptionsType, Gemini1_5Pro002Schema, Gemini1_5ProLatest, Gemini1_5ProLatestLiteral, Gemini1_5ProLatestOptions, type Gemini1_5ProLatestOptionsType, Gemini1_5ProLatestSchema, Gemini1_5ProLiteral, Gemini1_5ProOptions, type Gemini1_5ProOptionsType, Gemini1_5ProSchema, Gemini2_0Flash, Gemini2_0FlashExp, Gemini2_0FlashExpLiteral, Gemini2_0FlashExpOptions, type Gemini2_0FlashExpOptionsType, Gemini2_0FlashExpSchema, Gemini2_0FlashLiteral, Gemini2_0FlashOptions, type Gemini2_0FlashOptionsType, Gemini2_0FlashSchema, Gemini2_5Flash, Gemini2_5FlashLite, Gemini2_5FlashLiteLiteral, Gemini2_5FlashLiteOptions, type Gemini2_5FlashLiteOptionsType, Gemini2_5FlashLiteSchema, Gemini2_5FlashLiteral, Gemini2_5FlashOptions, type Gemini2_5FlashOptionsType, Gemini2_5FlashPreview0417, Gemini2_5FlashPreview0417Literal, Gemini2_5FlashPreview0417Options, type Gemini2_5FlashPreview0417OptionsType, Gemini2_5FlashPreview0417Schema, Gemini2_5FlashSchema, Gemini2_5Pro, Gemini2_5ProLiteral, Gemini2_5ProOptions, type Gemini2_5ProOptionsType, Gemini2_5ProPreview0325, Gemini2_5ProPreview0325Literal, Gemini2_5ProPreview0325Options, type Gemini2_5ProPreview0325OptionsType, Gemini2_5ProPreview0325Schema, Gemini2_5ProSchema, Gemini3FlashPreview, Gemini3FlashPreviewLiteral, Gemini3FlashPreviewOptions, type Gemini3FlashPreviewOptionsType, Gemini3FlashPreviewSchema, Gemini3ProPreview, Gemini3ProPreviewLiteral, Gemini3ProPreviewOptions, type Gemini3ProPreviewOptionsType, Gemini3ProPreviewSchema, Google, GoogleChatAssistantRoleLiteral, GoogleChatContent, GoogleChatContentPartFileData, type GoogleChatContentPartFileDataType, GoogleChatContentPartFunctionCall, type GoogleChatContentPartFunctionCallType, GoogleChatContentPartFunctionResponse, type GoogleChatContentPartFunctionResponseType, GoogleChatContentPartInlineData, type GoogleChatContentPartInlineDataType, GoogleChatContentPartText, type GoogleChatContentPartTextType, GoogleChatContentPartThinking, type GoogleChatContentPartThinkingType, type GoogleChatContentType, GoogleChatGenerationConfig, type GoogleChatGenerationConfigType, GoogleChatGoogleSearchTool, type GoogleChatGoogleSearchToolType, GoogleChatModelConfigs, GoogleChatModelModalities, GoogleChatModelModalitiesEnum, GoogleChatModelResponseSchemaConfigDef, GoogleChatModelResponseSchemaConfigSchema, GoogleChatModelRoles, GoogleChatModelRolesMap, GoogleChatModelTextModalities, GoogleChatModelTextModalitiesEnum, GoogleChatModelTextToolModalities, GoogleChatModelTextToolModalitiesEnum, GoogleChatModelTextVisionModalities, GoogleChatModelTextVisionModalitiesEnum, GoogleChatRequest, type GoogleChatRequestType, GoogleChatSafetySettings, type GoogleChatSafetySettingsType, GoogleChatSystemInstruction, type GoogleChatSystemInstructionType, GoogleChatTool, GoogleChatToolConfig, type GoogleChatToolConfigType, GoogleChatToolRoleLiteral, type GoogleChatToolType, GoogleCompleteChatResponse, type GoogleCompleteChatResponseType, GoogleCompleteChatTextResponse, GoogleCompleteChatToolResponse, GoogleEmbeddingModelConfigs, GoogleEmbeddingModelModalities, GoogleEmbeddingModelModalitiesEnum, GoogleEmbeddingRequest, GoogleEmbeddingRequestInput, type GoogleEmbeddingRequestInputType, type GoogleEmbeddingRequestType, GoogleGetEmbeddingsResponse, type GoogleGetEmbeddingsResponseType, GoogleGroundingChunk, type GoogleGroundingChunkType, type GoogleGroundingChunkWebType, GoogleGroundingMetadata, type GoogleGroundingMetadataType, GoogleGroundingSupport, type GoogleGroundingSupportType, GoogleSearchEntryPoint, type GoogleSearchEntryPointType, type GoogleSegmentType, GoogleStreamChatResponse, type GoogleStreamChatResponseType, GoogleStreamChatTextResponse, GoogleStreamChatToolResponse, ProviderLiteral, Text_Embedding_001, Text_Embedding_001Literal, Text_Embedding_001Options, type Text_Embedding_001OptionsType, Text_Embedding_001Schema, Text_Embedding_004, Text_Embedding_004Literal, Text_Embedding_004Options, type Text_Embedding_004OptionsType, Text_Embedding_004Schema, dimensions, frequencyPenalty, googleSearchTool, maxTokens, presencePenalty, reasoningEnabled, safetySettings, seed, stop, temperature, toolChoice, topK, topP };
|
|
5616
|
+
export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelReasoningConfigDef, ChatModelReasoningConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, GOOGLE_SAFETY_CATEGORIES, GOOGLE_SAFETY_CATEGORY_OPTIONS, GOOGLE_SAFETY_THRESHOLDS, GOOGLE_SAFETY_THRESHOLD_OPTIONS, Gemini1_5Flash, Gemini1_5Flash001, Gemini1_5Flash001Literal, Gemini1_5Flash001Options, type Gemini1_5Flash001OptionsType, Gemini1_5Flash001Schema, Gemini1_5Flash002, Gemini1_5Flash002Literal, Gemini1_5Flash002Options, type Gemini1_5Flash002OptionsType, Gemini1_5Flash002Schema, Gemini1_5FlashLatest, Gemini1_5FlashLatestLiteral, Gemini1_5FlashLatestOptions, type Gemini1_5FlashLatestOptionsType, Gemini1_5FlashLatestSchema, Gemini1_5FlashLiteral, Gemini1_5FlashOptions, type Gemini1_5FlashOptionsType, Gemini1_5FlashSchema, Gemini1_5Pro, Gemini1_5Pro001, Gemini1_5Pro001Literal, Gemini1_5Pro001Options, type Gemini1_5Pro001OptionsType, Gemini1_5Pro001Schema, Gemini1_5Pro002, Gemini1_5Pro002Literal, Gemini1_5Pro002Options, type Gemini1_5Pro002OptionsType, Gemini1_5Pro002Schema, Gemini1_5ProLatest, Gemini1_5ProLatestLiteral, Gemini1_5ProLatestOptions, type Gemini1_5ProLatestOptionsType, Gemini1_5ProLatestSchema, Gemini1_5ProLiteral, Gemini1_5ProOptions, type Gemini1_5ProOptionsType, Gemini1_5ProSchema, Gemini2_0Flash, Gemini2_0FlashExp, Gemini2_0FlashExpLiteral, Gemini2_0FlashExpOptions, type Gemini2_0FlashExpOptionsType, Gemini2_0FlashExpSchema, Gemini2_0FlashLiteral, Gemini2_0FlashOptions, type Gemini2_0FlashOptionsType, Gemini2_0FlashSchema, Gemini2_5Flash, Gemini2_5FlashLite, Gemini2_5FlashLiteLiteral, Gemini2_5FlashLiteOptions, type Gemini2_5FlashLiteOptionsType, Gemini2_5FlashLiteSchema, Gemini2_5FlashLiteral, Gemini2_5FlashOptions, type Gemini2_5FlashOptionsType, Gemini2_5FlashPreview0417, Gemini2_5FlashPreview0417Literal, Gemini2_5FlashPreview0417Options, type Gemini2_5FlashPreview0417OptionsType, Gemini2_5FlashPreview0417Schema, Gemini2_5FlashSchema, Gemini2_5Pro, Gemini2_5ProLiteral, Gemini2_5ProOptions, type Gemini2_5ProOptionsType, Gemini2_5ProPreview0325, Gemini2_5ProPreview0325Literal, Gemini2_5ProPreview0325Options, type Gemini2_5ProPreview0325OptionsType, Gemini2_5ProPreview0325Schema, Gemini2_5ProSchema, Gemini3FlashPreview, Gemini3FlashPreviewLiteral, Gemini3FlashPreviewOptions, type Gemini3FlashPreviewOptionsType, Gemini3FlashPreviewSchema, Gemini3ProPreview, Gemini3ProPreviewLiteral, Gemini3ProPreviewOptions, type Gemini3ProPreviewOptionsType, Gemini3ProPreviewSchema, Google, GoogleChatAssistantRoleLiteral, GoogleChatContent, GoogleChatContentPartFileData, type GoogleChatContentPartFileDataType, GoogleChatContentPartFunctionCall, type GoogleChatContentPartFunctionCallType, GoogleChatContentPartFunctionResponse, type GoogleChatContentPartFunctionResponseType, GoogleChatContentPartInlineData, type GoogleChatContentPartInlineDataType, GoogleChatContentPartText, type GoogleChatContentPartTextType, GoogleChatContentPartThinking, type GoogleChatContentPartThinkingType, type GoogleChatContentType, GoogleChatGenerationConfig, type GoogleChatGenerationConfigType, GoogleChatGoogleSearchTool, type GoogleChatGoogleSearchToolType, GoogleChatModelConfigs, GoogleChatModelModalities, GoogleChatModelModalitiesEnum, GoogleChatModelResponseSchemaConfigDef, GoogleChatModelResponseSchemaConfigSchema, GoogleChatModelRoles, GoogleChatModelRolesMap, GoogleChatModelTextModalities, GoogleChatModelTextModalitiesEnum, GoogleChatModelTextToolModalities, GoogleChatModelTextToolModalitiesEnum, GoogleChatModelTextVisionModalities, GoogleChatModelTextVisionModalitiesEnum, GoogleChatRequest, type GoogleChatRequestType, GoogleChatSafetySettings, type GoogleChatSafetySettingsType, GoogleChatSystemInstruction, type GoogleChatSystemInstructionType, GoogleChatThinkingConfig, type GoogleChatThinkingConfigType, GoogleChatTool, GoogleChatToolConfig, type GoogleChatToolConfigType, GoogleChatToolRoleLiteral, type GoogleChatToolType, GoogleCompleteChatResponse, type GoogleCompleteChatResponseType, GoogleCompleteChatTextResponse, GoogleCompleteChatToolResponse, GoogleEmbeddingModelConfigs, GoogleEmbeddingModelModalities, GoogleEmbeddingModelModalitiesEnum, GoogleEmbeddingRequest, GoogleEmbeddingRequestInput, type GoogleEmbeddingRequestInputType, type GoogleEmbeddingRequestType, GoogleGetEmbeddingsResponse, type GoogleGetEmbeddingsResponseType, GoogleGroundingChunk, type GoogleGroundingChunkType, type GoogleGroundingChunkWebType, GoogleGroundingMetadata, type GoogleGroundingMetadataType, GoogleGroundingSupport, type GoogleGroundingSupportType, GoogleSearchEntryPoint, type GoogleSearchEntryPointType, type GoogleSegmentType, GoogleStreamChatResponse, type GoogleStreamChatResponseType, GoogleStreamChatTextResponse, GoogleStreamChatToolResponse, ProviderLiteral, Text_Embedding_001, Text_Embedding_001Literal, Text_Embedding_001Options, type Text_Embedding_001OptionsType, Text_Embedding_001Schema, Text_Embedding_004, Text_Embedding_004Literal, Text_Embedding_004Options, type Text_Embedding_004OptionsType, Text_Embedding_004Schema, dimensions, frequencyPenalty, googleSearchTool, maxReasoningTokens, maxTokens, presencePenalty, reasoningEffort, reasoningEnabled, safetySettings, seed, stop, temperature, toolChoice, topK, topP };
|