@adaline/google 1.14.1 → 1.14.3

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
@@ -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;
@@ -2257,13 +2329,16 @@ declare const GoogleChatContentPartFunctionResponse: z.ZodObject<{
2257
2329
  }>;
2258
2330
  type GoogleChatContentPartFunctionResponseType = z.infer<typeof GoogleChatContentPartFunctionResponse>;
2259
2331
  declare const GoogleChatContentPartThinking: z.ZodObject<{
2260
- thought: z.ZodBoolean;
2332
+ text: z.ZodString;
2333
+ thought: z.ZodLiteral<true>;
2261
2334
  thought_signature: z.ZodString;
2262
2335
  }, "strip", z.ZodTypeAny, {
2263
- thought: boolean;
2336
+ text: string;
2337
+ thought: true;
2264
2338
  thought_signature: string;
2265
2339
  }, {
2266
- thought: boolean;
2340
+ text: string;
2341
+ thought: true;
2267
2342
  thought_signature: string;
2268
2343
  }>;
2269
2344
  type GoogleChatContentPartThinkingType = z.infer<typeof GoogleChatContentPartThinking>;
@@ -2360,13 +2435,28 @@ declare const GoogleChatContent: z.ZodObject<{
2360
2435
  response: Record<string, string>;
2361
2436
  };
2362
2437
  }>, z.ZodObject<{
2363
- thought: z.ZodBoolean;
2438
+ text: z.ZodString;
2439
+ thought: z.ZodLiteral<true>;
2440
+ thought_signature: z.ZodString;
2441
+ }, "strip", z.ZodTypeAny, {
2442
+ text: string;
2443
+ thought: true;
2444
+ thought_signature: string;
2445
+ }, {
2446
+ text: string;
2447
+ thought: true;
2448
+ thought_signature: string;
2449
+ }>, z.ZodObject<{
2450
+ text: z.ZodString;
2451
+ thought: z.ZodLiteral<true>;
2364
2452
  thought_signature: z.ZodString;
2365
2453
  }, "strip", z.ZodTypeAny, {
2366
- thought: boolean;
2454
+ text: string;
2455
+ thought: true;
2367
2456
  thought_signature: string;
2368
2457
  }, {
2369
- thought: boolean;
2458
+ text: string;
2459
+ thought: true;
2370
2460
  thought_signature: string;
2371
2461
  }>]>, "many">;
2372
2462
  }, "strip", z.ZodTypeAny, {
@@ -2394,7 +2484,8 @@ declare const GoogleChatContent: z.ZodObject<{
2394
2484
  response: Record<string, string>;
2395
2485
  };
2396
2486
  } | {
2397
- thought: boolean;
2487
+ text: string;
2488
+ thought: true;
2398
2489
  thought_signature: string;
2399
2490
  })[];
2400
2491
  }, {
@@ -2422,7 +2513,8 @@ declare const GoogleChatContent: z.ZodObject<{
2422
2513
  response: Record<string, string>;
2423
2514
  };
2424
2515
  } | {
2425
- thought: boolean;
2516
+ text: string;
2517
+ thought: true;
2426
2518
  thought_signature: string;
2427
2519
  })[];
2428
2520
  }>;
@@ -2505,6 +2597,20 @@ declare const GoogleChatToolConfig: z.ZodObject<{
2505
2597
  };
2506
2598
  }>;
2507
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>;
2508
2614
  declare const GoogleChatGenerationConfig: z.ZodObject<{
2509
2615
  stopSequences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2510
2616
  maxOutputTokens: z.ZodOptional<z.ZodNumber>;
@@ -2514,6 +2620,19 @@ declare const GoogleChatGenerationConfig: z.ZodObject<{
2514
2620
  presencePenalty: z.ZodOptional<z.ZodNumber>;
2515
2621
  frequencyPenalty: z.ZodOptional<z.ZodNumber>;
2516
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
+ }>>;
2517
2636
  }, "strip", z.ZodTypeAny, {
2518
2637
  frequencyPenalty?: number | undefined;
2519
2638
  presencePenalty?: number | undefined;
@@ -2523,6 +2642,11 @@ declare const GoogleChatGenerationConfig: z.ZodObject<{
2523
2642
  stopSequences?: string[] | undefined;
2524
2643
  topP?: number | undefined;
2525
2644
  topK?: number | undefined;
2645
+ thinkingConfig?: {
2646
+ thinkingLevel?: "LOW" | "HIGH" | undefined;
2647
+ thinkingBudget?: number | undefined;
2648
+ includeThoughts?: boolean | undefined;
2649
+ } | undefined;
2526
2650
  }, {
2527
2651
  frequencyPenalty?: number | undefined;
2528
2652
  presencePenalty?: number | undefined;
@@ -2532,6 +2656,11 @@ declare const GoogleChatGenerationConfig: z.ZodObject<{
2532
2656
  stopSequences?: string[] | undefined;
2533
2657
  topP?: number | undefined;
2534
2658
  topK?: number | undefined;
2659
+ thinkingConfig?: {
2660
+ thinkingLevel?: "LOW" | "HIGH" | undefined;
2661
+ thinkingBudget?: number | undefined;
2662
+ includeThoughts?: boolean | undefined;
2663
+ } | undefined;
2535
2664
  }>;
2536
2665
  type GoogleChatGenerationConfigType = z.infer<typeof GoogleChatGenerationConfig>;
2537
2666
  declare const GoogleChatSafetySettings: z.ZodObject<{
@@ -2640,13 +2769,28 @@ declare const GoogleChatRequest: z.ZodObject<{
2640
2769
  response: Record<string, string>;
2641
2770
  };
2642
2771
  }>, z.ZodObject<{
2643
- thought: z.ZodBoolean;
2772
+ text: z.ZodString;
2773
+ thought: z.ZodLiteral<true>;
2644
2774
  thought_signature: z.ZodString;
2645
2775
  }, "strip", z.ZodTypeAny, {
2646
- thought: boolean;
2776
+ text: string;
2777
+ thought: true;
2647
2778
  thought_signature: string;
2648
2779
  }, {
2649
- thought: boolean;
2780
+ text: string;
2781
+ thought: true;
2782
+ thought_signature: string;
2783
+ }>, z.ZodObject<{
2784
+ text: z.ZodString;
2785
+ thought: z.ZodLiteral<true>;
2786
+ thought_signature: z.ZodString;
2787
+ }, "strip", z.ZodTypeAny, {
2788
+ text: string;
2789
+ thought: true;
2790
+ thought_signature: string;
2791
+ }, {
2792
+ text: string;
2793
+ thought: true;
2650
2794
  thought_signature: string;
2651
2795
  }>]>, "many">;
2652
2796
  }, "strip", z.ZodTypeAny, {
@@ -2674,7 +2818,8 @@ declare const GoogleChatRequest: z.ZodObject<{
2674
2818
  response: Record<string, string>;
2675
2819
  };
2676
2820
  } | {
2677
- thought: boolean;
2821
+ text: string;
2822
+ thought: true;
2678
2823
  thought_signature: string;
2679
2824
  })[];
2680
2825
  }, {
@@ -2702,7 +2847,8 @@ declare const GoogleChatRequest: z.ZodObject<{
2702
2847
  response: Record<string, string>;
2703
2848
  };
2704
2849
  } | {
2705
- thought: boolean;
2850
+ text: string;
2851
+ thought: true;
2706
2852
  thought_signature: string;
2707
2853
  })[];
2708
2854
  }>, "many">;
@@ -2749,6 +2895,19 @@ declare const GoogleChatRequest: z.ZodObject<{
2749
2895
  presencePenalty: z.ZodOptional<z.ZodNumber>;
2750
2896
  frequencyPenalty: z.ZodOptional<z.ZodNumber>;
2751
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
+ }>>;
2752
2911
  }, "strip", z.ZodTypeAny, {
2753
2912
  frequencyPenalty?: number | undefined;
2754
2913
  presencePenalty?: number | undefined;
@@ -2758,6 +2917,11 @@ declare const GoogleChatRequest: z.ZodObject<{
2758
2917
  stopSequences?: string[] | undefined;
2759
2918
  topP?: number | undefined;
2760
2919
  topK?: number | undefined;
2920
+ thinkingConfig?: {
2921
+ thinkingLevel?: "LOW" | "HIGH" | undefined;
2922
+ thinkingBudget?: number | undefined;
2923
+ includeThoughts?: boolean | undefined;
2924
+ } | undefined;
2761
2925
  }, {
2762
2926
  frequencyPenalty?: number | undefined;
2763
2927
  presencePenalty?: number | undefined;
@@ -2767,6 +2931,11 @@ declare const GoogleChatRequest: z.ZodObject<{
2767
2931
  stopSequences?: string[] | undefined;
2768
2932
  topP?: number | undefined;
2769
2933
  topK?: number | undefined;
2934
+ thinkingConfig?: {
2935
+ thinkingLevel?: "LOW" | "HIGH" | undefined;
2936
+ thinkingBudget?: number | undefined;
2937
+ includeThoughts?: boolean | undefined;
2938
+ } | undefined;
2770
2939
  }>>;
2771
2940
  generation_config: z.ZodOptional<z.ZodObject<{
2772
2941
  stopSequences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -2777,6 +2946,19 @@ declare const GoogleChatRequest: z.ZodObject<{
2777
2946
  presencePenalty: z.ZodOptional<z.ZodNumber>;
2778
2947
  frequencyPenalty: z.ZodOptional<z.ZodNumber>;
2779
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
+ }>>;
2780
2962
  }, "strip", z.ZodTypeAny, {
2781
2963
  frequencyPenalty?: number | undefined;
2782
2964
  presencePenalty?: number | undefined;
@@ -2786,6 +2968,11 @@ declare const GoogleChatRequest: z.ZodObject<{
2786
2968
  stopSequences?: string[] | undefined;
2787
2969
  topP?: number | undefined;
2788
2970
  topK?: number | undefined;
2971
+ thinkingConfig?: {
2972
+ thinkingLevel?: "LOW" | "HIGH" | undefined;
2973
+ thinkingBudget?: number | undefined;
2974
+ includeThoughts?: boolean | undefined;
2975
+ } | undefined;
2789
2976
  }, {
2790
2977
  frequencyPenalty?: number | undefined;
2791
2978
  presencePenalty?: number | undefined;
@@ -2795,6 +2982,11 @@ declare const GoogleChatRequest: z.ZodObject<{
2795
2982
  stopSequences?: string[] | undefined;
2796
2983
  topP?: number | undefined;
2797
2984
  topK?: number | undefined;
2985
+ thinkingConfig?: {
2986
+ thinkingLevel?: "LOW" | "HIGH" | undefined;
2987
+ thinkingBudget?: number | undefined;
2988
+ includeThoughts?: boolean | undefined;
2989
+ } | undefined;
2798
2990
  }>>;
2799
2991
  safetySettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
2800
2992
  category: z.ZodEnum<["HARM_CATEGORY_HARASSMENT", "HARM_CATEGORY_HATE_SPEECH", "HARM_CATEGORY_SEXUALLY_EXPLICIT", "HARM_CATEGORY_DANGEROUS_CONTENT", "HARM_CATEGORY_CIVIC_INTEGRITY"]>;
@@ -2947,7 +3139,8 @@ declare const GoogleChatRequest: z.ZodObject<{
2947
3139
  response: Record<string, string>;
2948
3140
  };
2949
3141
  } | {
2950
- thought: boolean;
3142
+ text: string;
3143
+ thought: true;
2951
3144
  thought_signature: string;
2952
3145
  })[];
2953
3146
  }[];
@@ -2975,6 +3168,11 @@ declare const GoogleChatRequest: z.ZodObject<{
2975
3168
  stopSequences?: string[] | undefined;
2976
3169
  topP?: number | undefined;
2977
3170
  topK?: number | undefined;
3171
+ thinkingConfig?: {
3172
+ thinkingLevel?: "LOW" | "HIGH" | undefined;
3173
+ thinkingBudget?: number | undefined;
3174
+ includeThoughts?: boolean | undefined;
3175
+ } | undefined;
2978
3176
  } | undefined;
2979
3177
  generation_config?: {
2980
3178
  frequencyPenalty?: number | undefined;
@@ -2985,6 +3183,11 @@ declare const GoogleChatRequest: z.ZodObject<{
2985
3183
  stopSequences?: string[] | undefined;
2986
3184
  topP?: number | undefined;
2987
3185
  topK?: number | undefined;
3186
+ thinkingConfig?: {
3187
+ thinkingLevel?: "LOW" | "HIGH" | undefined;
3188
+ thinkingBudget?: number | undefined;
3189
+ includeThoughts?: boolean | undefined;
3190
+ } | undefined;
2988
3191
  } | undefined;
2989
3192
  safety_settings?: {
2990
3193
  category: "HARM_CATEGORY_HARASSMENT" | "HARM_CATEGORY_HATE_SPEECH" | "HARM_CATEGORY_SEXUALLY_EXPLICIT" | "HARM_CATEGORY_DANGEROUS_CONTENT" | "HARM_CATEGORY_CIVIC_INTEGRITY";
@@ -3041,7 +3244,8 @@ declare const GoogleChatRequest: z.ZodObject<{
3041
3244
  response: Record<string, string>;
3042
3245
  };
3043
3246
  } | {
3044
- thought: boolean;
3247
+ text: string;
3248
+ thought: true;
3045
3249
  thought_signature: string;
3046
3250
  })[];
3047
3251
  }[];
@@ -3069,6 +3273,11 @@ declare const GoogleChatRequest: z.ZodObject<{
3069
3273
  stopSequences?: string[] | undefined;
3070
3274
  topP?: number | undefined;
3071
3275
  topK?: number | undefined;
3276
+ thinkingConfig?: {
3277
+ thinkingLevel?: "LOW" | "HIGH" | undefined;
3278
+ thinkingBudget?: number | undefined;
3279
+ includeThoughts?: boolean | undefined;
3280
+ } | undefined;
3072
3281
  } | undefined;
3073
3282
  generation_config?: {
3074
3283
  frequencyPenalty?: number | undefined;
@@ -3079,6 +3288,11 @@ declare const GoogleChatRequest: z.ZodObject<{
3079
3288
  stopSequences?: string[] | undefined;
3080
3289
  topP?: number | undefined;
3081
3290
  topK?: number | undefined;
3291
+ thinkingConfig?: {
3292
+ thinkingLevel?: "LOW" | "HIGH" | undefined;
3293
+ thinkingBudget?: number | undefined;
3294
+ includeThoughts?: boolean | undefined;
3295
+ } | undefined;
3082
3296
  } | undefined;
3083
3297
  safety_settings?: {
3084
3298
  category: "HARM_CATEGORY_HARASSMENT" | "HARM_CATEGORY_HATE_SPEECH" | "HARM_CATEGORY_SEXUALLY_EXPLICIT" | "HARM_CATEGORY_DANGEROUS_CONTENT" | "HARM_CATEGORY_CIVIC_INTEGRITY";
@@ -5399,4 +5613,4 @@ declare class Google<C extends BaseChatModelOptionsType, E extends BaseEmbedding
5399
5613
  embeddingModel(options: E): EmbeddingModelV1;
5400
5614
  }
5401
5615
 
5402
- 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 };