@adaline/google 0.16.0 → 1.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as zod from 'zod';
2
2
  import { z } from 'zod';
3
3
  import { ChatModelSchemaType, ChatModelV1, UrlType, HeadersType, ParamsType, EmbeddingModelSchemaType, EmbeddingModelV1, ProviderV1 } from '@adaline/provider';
4
- import { MessageType, ConfigType, ToolType, ChatResponseType, PartialChatResponseType, EmbeddingRequestsType, EmbeddingResponseType } from '@adaline/types';
4
+ import { MessageType, ConfigType, ToolType, ChatResponseType, PartialChatResponseType, ChatModelPriceType, EmbeddingRequestsType, EmbeddingResponseType } from '@adaline/types';
5
5
 
6
6
  declare const GoogleChatModelConfigs: {
7
7
  readonly base: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number) => {
@@ -228,6 +228,154 @@ declare const GoogleChatModelConfigs: {
228
228
  stop?: string[] | undefined;
229
229
  }>;
230
230
  };
231
+ readonly reasoning: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number, defaultTopK: number) => {
232
+ def: {
233
+ readonly temperature: {
234
+ type: "range";
235
+ param: string;
236
+ title: string;
237
+ description: string;
238
+ max: number;
239
+ default: number;
240
+ min: number;
241
+ step: number;
242
+ };
243
+ readonly maxTokens: {
244
+ type: "range";
245
+ param: string;
246
+ title: string;
247
+ description: string;
248
+ max: number;
249
+ default: number;
250
+ min: number;
251
+ step: number;
252
+ };
253
+ readonly stop: {
254
+ type: "multi-string";
255
+ param: string;
256
+ title: string;
257
+ description: string;
258
+ max: number;
259
+ };
260
+ readonly topP: {
261
+ type: "range";
262
+ param: string;
263
+ title: string;
264
+ description: string;
265
+ max: number;
266
+ default: number;
267
+ min: number;
268
+ step: number;
269
+ };
270
+ readonly topK: {
271
+ type: "range";
272
+ param: string;
273
+ title: string;
274
+ description: string;
275
+ max: number;
276
+ default: number;
277
+ min: number;
278
+ step: number;
279
+ };
280
+ readonly frequencyPenalty: {
281
+ type: "range";
282
+ param: string;
283
+ title: string;
284
+ description: string;
285
+ max: number;
286
+ default: number;
287
+ min: number;
288
+ step: number;
289
+ };
290
+ readonly presencePenalty: {
291
+ type: "range";
292
+ param: string;
293
+ title: string;
294
+ description: string;
295
+ max: number;
296
+ default: number;
297
+ min: number;
298
+ step: number;
299
+ };
300
+ readonly seed: {
301
+ type: "range";
302
+ param: string;
303
+ title: string;
304
+ description: string;
305
+ max: number;
306
+ default: number;
307
+ min: number;
308
+ step: number;
309
+ };
310
+ readonly toolChoice: {
311
+ type: "select-string";
312
+ param: string;
313
+ title: string;
314
+ description: string;
315
+ default: string;
316
+ choices: string[];
317
+ };
318
+ readonly safetySettings: {
319
+ type: "object-schema";
320
+ param: string;
321
+ title: string;
322
+ description: string;
323
+ objectSchema?: any;
324
+ };
325
+ readonly reasoningEnabled: {
326
+ type: "select-boolean";
327
+ param: string;
328
+ title: string;
329
+ description: string;
330
+ default: boolean | null;
331
+ };
332
+ };
333
+ schema: zod.ZodObject<{
334
+ temperature: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
335
+ maxTokens: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
336
+ stop: zod.ZodOptional<zod.ZodDefault<zod.ZodArray<zod.ZodString, "many">>>;
337
+ topP: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
338
+ topK: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
339
+ frequencyPenalty: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
340
+ presencePenalty: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
341
+ seed: zod.ZodEffects<zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>, number | undefined, number | undefined>;
342
+ toolChoice: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
343
+ safetySettings: zod.ZodOptional<zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
344
+ [x: string]: any;
345
+ }, {
346
+ [x: string]: any;
347
+ }>>;
348
+ reasoningEnabled: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
349
+ }, "strip", zod.ZodTypeAny, {
350
+ frequencyPenalty?: number | undefined;
351
+ presencePenalty?: number | undefined;
352
+ seed?: number | undefined;
353
+ toolChoice?: string | null | undefined;
354
+ safetySettings?: {
355
+ [x: string]: any;
356
+ } | undefined;
357
+ reasoningEnabled?: boolean | null | undefined;
358
+ temperature?: number | undefined;
359
+ topP?: number | undefined;
360
+ topK?: number | undefined;
361
+ maxTokens?: number | undefined;
362
+ stop?: string[] | undefined;
363
+ }, {
364
+ frequencyPenalty?: number | undefined;
365
+ presencePenalty?: number | undefined;
366
+ seed?: number | undefined;
367
+ toolChoice?: string | null | undefined;
368
+ safetySettings?: {
369
+ [x: string]: any;
370
+ } | undefined;
371
+ reasoningEnabled?: boolean | null | undefined;
372
+ temperature?: number | undefined;
373
+ topP?: number | undefined;
374
+ topK?: number | undefined;
375
+ maxTokens?: number | undefined;
376
+ stop?: string[] | undefined;
377
+ }>;
378
+ };
231
379
  };
232
380
  declare const GoogleEmbeddingModelConfigs: {
233
381
  readonly base: (maxDimensions: number) => {
@@ -253,8 +401,38 @@ declare const GoogleEmbeddingModelConfigs: {
253
401
  };
254
402
  };
255
403
 
256
- declare const temperature: (max: number, _default: number) => {
257
- def: {
404
+ declare const ChatModelBaseConfigSchema: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number) => z.ZodObject<{
405
+ temperature: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
406
+ maxTokens: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
407
+ stop: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
408
+ topP: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
409
+ toolChoice: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEnum<[string, ...string[]]>>>>;
410
+ safetySettings: z.ZodOptional<z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, {
411
+ [x: string]: any;
412
+ }, {
413
+ [x: string]: any;
414
+ }>>;
415
+ }, "strip", z.ZodTypeAny, {
416
+ toolChoice?: string | null | undefined;
417
+ safetySettings?: {
418
+ [x: string]: any;
419
+ } | undefined;
420
+ temperature?: number | undefined;
421
+ topP?: number | undefined;
422
+ maxTokens?: number | undefined;
423
+ stop?: string[] | undefined;
424
+ }, {
425
+ toolChoice?: string | null | undefined;
426
+ safetySettings?: {
427
+ [x: string]: any;
428
+ } | undefined;
429
+ temperature?: number | undefined;
430
+ topP?: number | undefined;
431
+ maxTokens?: number | undefined;
432
+ stop?: string[] | undefined;
433
+ }>;
434
+ declare const ChatModelBaseConfigDef: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number) => {
435
+ readonly temperature: {
258
436
  type: "range";
259
437
  param: string;
260
438
  title: string;
@@ -264,10 +442,7 @@ declare const temperature: (max: number, _default: number) => {
264
442
  min: number;
265
443
  step: number;
266
444
  };
267
- schema: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
268
- };
269
- declare const maxTokens: (maxOutputTokens: number) => {
270
- def: {
445
+ readonly maxTokens: {
271
446
  type: "range";
272
447
  param: string;
273
448
  title: string;
@@ -277,20 +452,14 @@ declare const maxTokens: (maxOutputTokens: number) => {
277
452
  min: number;
278
453
  step: number;
279
454
  };
280
- schema: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
281
- };
282
- declare const stop: (maxSequences: number) => {
283
- def: {
455
+ readonly stop: {
284
456
  type: "multi-string";
285
457
  param: string;
286
458
  title: string;
287
459
  description: string;
288
460
  max: number;
289
461
  };
290
- schema: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
291
- };
292
- declare const topP: (_default: number) => {
293
- def: {
462
+ readonly topP: {
294
463
  type: "range";
295
464
  param: string;
296
465
  title: string;
@@ -300,10 +469,67 @@ declare const topP: (_default: number) => {
300
469
  min: number;
301
470
  step: number;
302
471
  };
303
- schema: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
472
+ readonly toolChoice: {
473
+ type: "select-string";
474
+ param: string;
475
+ title: string;
476
+ description: string;
477
+ default: string;
478
+ choices: string[];
479
+ };
480
+ readonly safetySettings: {
481
+ type: "object-schema";
482
+ param: string;
483
+ title: string;
484
+ description: string;
485
+ objectSchema?: any;
486
+ };
304
487
  };
305
- declare const topK: (_default: number) => {
306
- def: {
488
+
489
+ declare const ChatModelC1ConfigSchema: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number, defaultTopK: number) => z.ZodObject<{
490
+ temperature: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
491
+ maxTokens: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
492
+ stop: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
493
+ topP: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
494
+ topK: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
495
+ frequencyPenalty: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
496
+ presencePenalty: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
497
+ seed: z.ZodEffects<z.ZodOptional<z.ZodDefault<z.ZodNumber>>, number | undefined, number | undefined>;
498
+ toolChoice: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEnum<[string, ...string[]]>>>>;
499
+ safetySettings: z.ZodOptional<z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, {
500
+ [x: string]: any;
501
+ }, {
502
+ [x: string]: any;
503
+ }>>;
504
+ }, "strip", z.ZodTypeAny, {
505
+ frequencyPenalty?: number | undefined;
506
+ presencePenalty?: number | undefined;
507
+ seed?: number | undefined;
508
+ toolChoice?: string | null | undefined;
509
+ safetySettings?: {
510
+ [x: string]: any;
511
+ } | undefined;
512
+ temperature?: number | undefined;
513
+ topP?: number | undefined;
514
+ topK?: number | undefined;
515
+ maxTokens?: number | undefined;
516
+ stop?: string[] | undefined;
517
+ }, {
518
+ frequencyPenalty?: number | undefined;
519
+ presencePenalty?: number | undefined;
520
+ seed?: number | undefined;
521
+ toolChoice?: string | null | undefined;
522
+ safetySettings?: {
523
+ [x: string]: any;
524
+ } | undefined;
525
+ temperature?: number | undefined;
526
+ topP?: number | undefined;
527
+ topK?: number | undefined;
528
+ maxTokens?: number | undefined;
529
+ stop?: string[] | undefined;
530
+ }>;
531
+ declare const ChatModelC1ConfigDef: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number, defaultTopK: number) => {
532
+ readonly temperature: {
307
533
  type: "range";
308
534
  param: string;
309
535
  title: string;
@@ -313,10 +539,7 @@ declare const topK: (_default: number) => {
313
539
  min: number;
314
540
  step: number;
315
541
  };
316
- schema: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
317
- };
318
- declare const frequencyPenalty: {
319
- def: {
542
+ readonly maxTokens: {
320
543
  type: "range";
321
544
  param: string;
322
545
  title: string;
@@ -326,9 +549,81 @@ declare const frequencyPenalty: {
326
549
  min: number;
327
550
  step: number;
328
551
  };
329
- schema: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
552
+ readonly stop: {
553
+ type: "multi-string";
554
+ param: string;
555
+ title: string;
556
+ description: string;
557
+ max: number;
558
+ };
559
+ readonly topP: {
560
+ type: "range";
561
+ param: string;
562
+ title: string;
563
+ description: string;
564
+ max: number;
565
+ default: number;
566
+ min: number;
567
+ step: number;
568
+ };
569
+ readonly topK: {
570
+ type: "range";
571
+ param: string;
572
+ title: string;
573
+ description: string;
574
+ max: number;
575
+ default: number;
576
+ min: number;
577
+ step: number;
578
+ };
579
+ readonly frequencyPenalty: {
580
+ type: "range";
581
+ param: string;
582
+ title: string;
583
+ description: string;
584
+ max: number;
585
+ default: number;
586
+ min: number;
587
+ step: number;
588
+ };
589
+ readonly presencePenalty: {
590
+ type: "range";
591
+ param: string;
592
+ title: string;
593
+ description: string;
594
+ max: number;
595
+ default: number;
596
+ min: number;
597
+ step: number;
598
+ };
599
+ readonly seed: {
600
+ type: "range";
601
+ param: string;
602
+ title: string;
603
+ description: string;
604
+ max: number;
605
+ default: number;
606
+ min: number;
607
+ step: number;
608
+ };
609
+ readonly toolChoice: {
610
+ type: "select-string";
611
+ param: string;
612
+ title: string;
613
+ description: string;
614
+ default: string;
615
+ choices: string[];
616
+ };
617
+ readonly safetySettings: {
618
+ type: "object-schema";
619
+ param: string;
620
+ title: string;
621
+ description: string;
622
+ objectSchema?: any;
623
+ };
330
624
  };
331
- declare const presencePenalty: {
625
+
626
+ declare const temperature: (max: number, _default: number) => {
332
627
  def: {
333
628
  type: "range";
334
629
  param: string;
@@ -341,7 +636,7 @@ declare const presencePenalty: {
341
636
  };
342
637
  schema: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
343
638
  };
344
- declare const seed: {
639
+ declare const maxTokens: (maxOutputTokens: number) => {
345
640
  def: {
346
641
  type: "range";
347
642
  param: string;
@@ -354,64 +649,31 @@ declare const seed: {
354
649
  };
355
650
  schema: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
356
651
  };
357
- declare const toolChoice: {
652
+ declare const stop: (maxSequences: number) => {
358
653
  def: {
359
- type: "select-string";
654
+ type: "multi-string";
360
655
  param: string;
361
656
  title: string;
362
657
  description: string;
363
- default: string;
364
- choices: string[];
658
+ max: number;
365
659
  };
366
- schema: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEnum<[string, ...string[]]>>>>;
660
+ schema: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
367
661
  };
368
- declare const safetySettings: {
662
+ declare const topP: (_default: number) => {
369
663
  def: {
370
- type: "object-schema";
664
+ type: "range";
371
665
  param: string;
372
666
  title: string;
373
667
  description: string;
374
- objectSchema?: any;
375
- };
376
- schema: z.ZodOptional<z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, {
377
- [x: string]: any;
378
- }, {
379
- [x: string]: any;
380
- }>>;
381
- };
382
-
383
- declare const ChatModelBaseConfigSchema: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number) => z.ZodObject<{
384
- temperature: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
385
- maxTokens: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
386
- stop: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
387
- topP: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
388
- toolChoice: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEnum<[string, ...string[]]>>>>;
389
- safetySettings: z.ZodOptional<z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, {
390
- [x: string]: any;
391
- }, {
392
- [x: string]: any;
393
- }>>;
394
- }, "strip", z.ZodTypeAny, {
395
- toolChoice?: string | null | undefined;
396
- safetySettings?: {
397
- [x: string]: any;
398
- } | undefined;
399
- temperature?: number | undefined;
400
- topP?: number | undefined;
401
- maxTokens?: number | undefined;
402
- stop?: string[] | undefined;
403
- }, {
404
- toolChoice?: string | null | undefined;
405
- safetySettings?: {
406
- [x: string]: any;
407
- } | undefined;
408
- temperature?: number | undefined;
409
- topP?: number | undefined;
410
- maxTokens?: number | undefined;
411
- stop?: string[] | undefined;
412
- }>;
413
- declare const ChatModelBaseConfigDef: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number) => {
414
- readonly temperature: {
668
+ max: number;
669
+ default: number;
670
+ min: number;
671
+ step: number;
672
+ };
673
+ schema: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
674
+ };
675
+ declare const topK: (_default: number) => {
676
+ def: {
415
677
  type: "range";
416
678
  param: string;
417
679
  title: string;
@@ -421,7 +683,10 @@ declare const ChatModelBaseConfigDef: (maxTemperature: number, defaultTemperatur
421
683
  min: number;
422
684
  step: number;
423
685
  };
424
- readonly maxTokens: {
686
+ schema: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
687
+ };
688
+ declare const frequencyPenalty: {
689
+ def: {
425
690
  type: "range";
426
691
  param: string;
427
692
  title: string;
@@ -431,14 +696,23 @@ declare const ChatModelBaseConfigDef: (maxTemperature: number, defaultTemperatur
431
696
  min: number;
432
697
  step: number;
433
698
  };
434
- readonly stop: {
435
- type: "multi-string";
699
+ schema: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
700
+ };
701
+ declare const presencePenalty: {
702
+ def: {
703
+ type: "range";
436
704
  param: string;
437
705
  title: string;
438
706
  description: string;
439
707
  max: number;
708
+ default: number;
709
+ min: number;
710
+ step: number;
440
711
  };
441
- readonly topP: {
712
+ schema: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
713
+ };
714
+ declare const seed: {
715
+ def: {
442
716
  type: "range";
443
717
  param: string;
444
718
  title: string;
@@ -448,7 +722,10 @@ declare const ChatModelBaseConfigDef: (maxTemperature: number, defaultTemperatur
448
722
  min: number;
449
723
  step: number;
450
724
  };
451
- readonly toolChoice: {
725
+ schema: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
726
+ };
727
+ declare const toolChoice: {
728
+ def: {
452
729
  type: "select-string";
453
730
  param: string;
454
731
  title: string;
@@ -456,16 +733,34 @@ declare const ChatModelBaseConfigDef: (maxTemperature: number, defaultTemperatur
456
733
  default: string;
457
734
  choices: string[];
458
735
  };
459
- readonly safetySettings: {
736
+ schema: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEnum<[string, ...string[]]>>>>;
737
+ };
738
+ declare const safetySettings: {
739
+ def: {
460
740
  type: "object-schema";
461
741
  param: string;
462
742
  title: string;
463
743
  description: string;
464
744
  objectSchema?: any;
465
745
  };
746
+ schema: z.ZodOptional<z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, {
747
+ [x: string]: any;
748
+ }, {
749
+ [x: string]: any;
750
+ }>>;
751
+ };
752
+ declare const reasoningEnabled: {
753
+ def: {
754
+ type: "select-boolean";
755
+ param: string;
756
+ title: string;
757
+ description: string;
758
+ default: boolean | null;
759
+ };
760
+ schema: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodBoolean>>>;
466
761
  };
467
762
 
468
- declare const ChatModelC1ConfigSchema: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number, defaultTopK: number) => z.ZodObject<{
763
+ declare const ChatModelReasoningConfigSchema: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number, defaultTopK: number) => z.ZodObject<{
469
764
  temperature: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
470
765
  maxTokens: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
471
766
  stop: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
@@ -480,6 +775,7 @@ declare const ChatModelC1ConfigSchema: (maxTemperature: number, defaultTemperatu
480
775
  }, {
481
776
  [x: string]: any;
482
777
  }>>;
778
+ reasoningEnabled: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodBoolean>>>;
483
779
  }, "strip", z.ZodTypeAny, {
484
780
  frequencyPenalty?: number | undefined;
485
781
  presencePenalty?: number | undefined;
@@ -488,6 +784,7 @@ declare const ChatModelC1ConfigSchema: (maxTemperature: number, defaultTemperatu
488
784
  safetySettings?: {
489
785
  [x: string]: any;
490
786
  } | undefined;
787
+ reasoningEnabled?: boolean | null | undefined;
491
788
  temperature?: number | undefined;
492
789
  topP?: number | undefined;
493
790
  topK?: number | undefined;
@@ -501,13 +798,14 @@ declare const ChatModelC1ConfigSchema: (maxTemperature: number, defaultTemperatu
501
798
  safetySettings?: {
502
799
  [x: string]: any;
503
800
  } | undefined;
801
+ reasoningEnabled?: boolean | null | undefined;
504
802
  temperature?: number | undefined;
505
803
  topP?: number | undefined;
506
804
  topK?: number | undefined;
507
805
  maxTokens?: number | undefined;
508
806
  stop?: string[] | undefined;
509
807
  }>;
510
- declare const ChatModelC1ConfigDef: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number, defaultTopK: number) => {
808
+ declare const ChatModelReasoningConfigDef: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number, defaultTopK: number) => {
511
809
  readonly temperature: {
512
810
  type: "range";
513
811
  param: string;
@@ -600,6 +898,13 @@ declare const ChatModelC1ConfigDef: (maxTemperature: number, defaultTemperature:
600
898
  description: string;
601
899
  objectSchema?: any;
602
900
  };
901
+ readonly reasoningEnabled: {
902
+ type: "select-boolean";
903
+ param: string;
904
+ title: string;
905
+ description: string;
906
+ default: boolean | null;
907
+ };
603
908
  };
604
909
 
605
910
  declare const EmbeddingModelBaseConfigSchema: (maxDimensions: number) => z.ZodObject<{
@@ -1950,6 +2255,7 @@ declare class BaseChatModel implements ChatModelV1<ChatModelSchemaType> {
1950
2255
  getProxyStreamChatUrl(data?: any, headers?: Record<string, string>, query?: Record<string, string>): Promise<UrlType>;
1951
2256
  getProxyCompleteChatHeaders(data?: any, headers?: Record<string, string>, query?: Record<string, string>): Promise<HeadersType>;
1952
2257
  getProxyStreamChatHeaders(data?: any, headers?: Record<string, string>, query?: Record<string, string>): Promise<HeadersType>;
2258
+ getModelPricing(): ChatModelPriceType;
1953
2259
  }
1954
2260
 
1955
2261
  declare class BaseChatModelGemini1 extends BaseChatModel {
@@ -2002,6 +2308,20 @@ declare const Gemini1_0Pro_001Schema: {
2002
2308
  }>;
2003
2309
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
2004
2310
  };
2311
+ price: {
2312
+ modelName: string;
2313
+ currency: string;
2314
+ tokenRanges: {
2315
+ minTokens: number;
2316
+ prices: {
2317
+ base: {
2318
+ inputPricePerMillion: number;
2319
+ outputPricePerMillion: number;
2320
+ };
2321
+ };
2322
+ maxTokens?: number | null | undefined;
2323
+ }[];
2324
+ };
2005
2325
  maxReasoningTokens?: number | undefined;
2006
2326
  };
2007
2327
  declare const Gemini1_0Pro_001Options: z.ZodObject<{
@@ -2074,6 +2394,20 @@ declare const Gemini1_0ProLatestSchema: {
2074
2394
  }>;
2075
2395
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
2076
2396
  };
2397
+ price: {
2398
+ modelName: string;
2399
+ currency: string;
2400
+ tokenRanges: {
2401
+ minTokens: number;
2402
+ prices: {
2403
+ base: {
2404
+ inputPricePerMillion: number;
2405
+ outputPricePerMillion: number;
2406
+ };
2407
+ };
2408
+ maxTokens?: number | null | undefined;
2409
+ }[];
2410
+ };
2077
2411
  maxReasoningTokens?: number | undefined;
2078
2412
  };
2079
2413
  declare const Gemini1_0ProLatestOptions: z.ZodObject<{
@@ -2146,6 +2480,20 @@ declare const Gemini1_0ProVisionSchema: {
2146
2480
  }>;
2147
2481
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
2148
2482
  };
2483
+ price: {
2484
+ modelName: string;
2485
+ currency: string;
2486
+ tokenRanges: {
2487
+ minTokens: number;
2488
+ prices: {
2489
+ base: {
2490
+ inputPricePerMillion: number;
2491
+ outputPricePerMillion: number;
2492
+ };
2493
+ };
2494
+ maxTokens?: number | null | undefined;
2495
+ }[];
2496
+ };
2149
2497
  maxReasoningTokens?: number | undefined;
2150
2498
  };
2151
2499
  declare const Gemini1_0ProVisionOptions: z.ZodObject<{
@@ -2218,6 +2566,20 @@ declare const Gemini1_0ProSchema: {
2218
2566
  }>;
2219
2567
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
2220
2568
  };
2569
+ price: {
2570
+ modelName: string;
2571
+ currency: string;
2572
+ tokenRanges: {
2573
+ minTokens: number;
2574
+ prices: {
2575
+ base: {
2576
+ inputPricePerMillion: number;
2577
+ outputPricePerMillion: number;
2578
+ };
2579
+ };
2580
+ maxTokens?: number | null | undefined;
2581
+ }[];
2582
+ };
2221
2583
  maxReasoningTokens?: number | undefined;
2222
2584
  };
2223
2585
  declare const Gemini1_0ProOptions: z.ZodObject<{
@@ -2290,6 +2652,20 @@ declare const Gemini1_5Flash001Schema: {
2290
2652
  }>;
2291
2653
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
2292
2654
  };
2655
+ price: {
2656
+ modelName: string;
2657
+ currency: string;
2658
+ tokenRanges: {
2659
+ minTokens: number;
2660
+ prices: {
2661
+ base: {
2662
+ inputPricePerMillion: number;
2663
+ outputPricePerMillion: number;
2664
+ };
2665
+ };
2666
+ maxTokens?: number | null | undefined;
2667
+ }[];
2668
+ };
2293
2669
  maxReasoningTokens?: number | undefined;
2294
2670
  };
2295
2671
  declare const Gemini1_5Flash001Options: z.ZodObject<{
@@ -2362,6 +2738,20 @@ declare const Gemini1_5Flash002Schema: {
2362
2738
  }>;
2363
2739
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
2364
2740
  };
2741
+ price: {
2742
+ modelName: string;
2743
+ currency: string;
2744
+ tokenRanges: {
2745
+ minTokens: number;
2746
+ prices: {
2747
+ base: {
2748
+ inputPricePerMillion: number;
2749
+ outputPricePerMillion: number;
2750
+ };
2751
+ };
2752
+ maxTokens?: number | null | undefined;
2753
+ }[];
2754
+ };
2365
2755
  maxReasoningTokens?: number | undefined;
2366
2756
  };
2367
2757
  declare const Gemini1_5Flash002Options: z.ZodObject<{
@@ -2434,6 +2824,20 @@ declare const Gemini1_5FlashLatestSchema: {
2434
2824
  }>;
2435
2825
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
2436
2826
  };
2827
+ price: {
2828
+ modelName: string;
2829
+ currency: string;
2830
+ tokenRanges: {
2831
+ minTokens: number;
2832
+ prices: {
2833
+ base: {
2834
+ inputPricePerMillion: number;
2835
+ outputPricePerMillion: number;
2836
+ };
2837
+ };
2838
+ maxTokens?: number | null | undefined;
2839
+ }[];
2840
+ };
2437
2841
  maxReasoningTokens?: number | undefined;
2438
2842
  };
2439
2843
  declare const Gemini1_5FlashLatestOptions: z.ZodObject<{
@@ -2506,6 +2910,20 @@ declare const Gemini1_5FlashSchema: {
2506
2910
  }>;
2507
2911
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
2508
2912
  };
2913
+ price: {
2914
+ modelName: string;
2915
+ currency: string;
2916
+ tokenRanges: {
2917
+ minTokens: number;
2918
+ prices: {
2919
+ base: {
2920
+ inputPricePerMillion: number;
2921
+ outputPricePerMillion: number;
2922
+ };
2923
+ };
2924
+ maxTokens?: number | null | undefined;
2925
+ }[];
2926
+ };
2509
2927
  maxReasoningTokens?: number | undefined;
2510
2928
  };
2511
2929
  declare const Gemini1_5FlashOptions: z.ZodObject<{
@@ -2578,6 +2996,20 @@ declare const Gemini1_5Pro001Schema: {
2578
2996
  }>;
2579
2997
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
2580
2998
  };
2999
+ price: {
3000
+ modelName: string;
3001
+ currency: string;
3002
+ tokenRanges: {
3003
+ minTokens: number;
3004
+ prices: {
3005
+ base: {
3006
+ inputPricePerMillion: number;
3007
+ outputPricePerMillion: number;
3008
+ };
3009
+ };
3010
+ maxTokens?: number | null | undefined;
3011
+ }[];
3012
+ };
2581
3013
  maxReasoningTokens?: number | undefined;
2582
3014
  };
2583
3015
  declare const Gemini1_5Pro001Options: z.ZodObject<{
@@ -2650,6 +3082,20 @@ declare const Gemini1_5Pro002Schema: {
2650
3082
  }>;
2651
3083
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
2652
3084
  };
3085
+ price: {
3086
+ modelName: string;
3087
+ currency: string;
3088
+ tokenRanges: {
3089
+ minTokens: number;
3090
+ prices: {
3091
+ base: {
3092
+ inputPricePerMillion: number;
3093
+ outputPricePerMillion: number;
3094
+ };
3095
+ };
3096
+ maxTokens?: number | null | undefined;
3097
+ }[];
3098
+ };
2653
3099
  maxReasoningTokens?: number | undefined;
2654
3100
  };
2655
3101
  declare const Gemini1_5Pro002Options: z.ZodObject<{
@@ -2722,6 +3168,20 @@ declare const Gemini1_5ProLatestSchema: {
2722
3168
  }>;
2723
3169
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
2724
3170
  };
3171
+ price: {
3172
+ modelName: string;
3173
+ currency: string;
3174
+ tokenRanges: {
3175
+ minTokens: number;
3176
+ prices: {
3177
+ base: {
3178
+ inputPricePerMillion: number;
3179
+ outputPricePerMillion: number;
3180
+ };
3181
+ };
3182
+ maxTokens?: number | null | undefined;
3183
+ }[];
3184
+ };
2725
3185
  maxReasoningTokens?: number | undefined;
2726
3186
  };
2727
3187
  declare const Gemini1_5ProLatestOptions: z.ZodObject<{
@@ -2794,6 +3254,20 @@ declare const Gemini1_5ProSchema: {
2794
3254
  }>;
2795
3255
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
2796
3256
  };
3257
+ price: {
3258
+ modelName: string;
3259
+ currency: string;
3260
+ tokenRanges: {
3261
+ minTokens: number;
3262
+ prices: {
3263
+ base: {
3264
+ inputPricePerMillion: number;
3265
+ outputPricePerMillion: number;
3266
+ };
3267
+ };
3268
+ maxTokens?: number | null | undefined;
3269
+ }[];
3270
+ };
2797
3271
  maxReasoningTokens?: number | undefined;
2798
3272
  };
2799
3273
  declare const Gemini1_5ProOptions: z.ZodObject<{
@@ -2866,6 +3340,20 @@ declare const Gemini2_0FlashExpSchema: {
2866
3340
  }>;
2867
3341
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
2868
3342
  };
3343
+ price: {
3344
+ modelName: string;
3345
+ currency: string;
3346
+ tokenRanges: {
3347
+ minTokens: number;
3348
+ prices: {
3349
+ base: {
3350
+ inputPricePerMillion: number;
3351
+ outputPricePerMillion: number;
3352
+ };
3353
+ };
3354
+ maxTokens?: number | null | undefined;
3355
+ }[];
3356
+ };
2869
3357
  maxReasoningTokens?: number | undefined;
2870
3358
  };
2871
3359
  declare const Gemini2_0FlashExpOptions: z.ZodObject<{
@@ -2892,6 +3380,178 @@ declare class Gemini2_0FlashExp extends BaseChatModel {
2892
3380
  constructor(options: Gemini2_0FlashExpOptionsType);
2893
3381
  }
2894
3382
 
3383
+ declare const Gemini2_5FlashPreview0417Literal = "gemini-2.5-flash-preview-04-17";
3384
+ declare const Gemini2_5FlashPreview0417Schema: {
3385
+ description: string;
3386
+ maxOutputTokens: number;
3387
+ name: string;
3388
+ roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
3389
+ modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
3390
+ maxInputTokens: number;
3391
+ config: {
3392
+ def: Record<string, {
3393
+ type: "multi-string";
3394
+ param: string;
3395
+ title: string;
3396
+ description: string;
3397
+ max: number;
3398
+ } | {
3399
+ type: "object-schema";
3400
+ param: string;
3401
+ title: string;
3402
+ description: string;
3403
+ objectSchema?: any;
3404
+ } | {
3405
+ type: "range";
3406
+ param: string;
3407
+ title: string;
3408
+ description: string;
3409
+ max: number;
3410
+ default: number;
3411
+ min: number;
3412
+ step: number;
3413
+ } | {
3414
+ type: "select-boolean";
3415
+ param: string;
3416
+ title: string;
3417
+ description: string;
3418
+ default: boolean | null;
3419
+ } | {
3420
+ type: "select-string";
3421
+ param: string;
3422
+ title: string;
3423
+ description: string;
3424
+ default: string;
3425
+ choices: string[];
3426
+ }>;
3427
+ schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
3428
+ };
3429
+ price: {
3430
+ modelName: string;
3431
+ currency: string;
3432
+ tokenRanges: {
3433
+ minTokens: number;
3434
+ prices: {
3435
+ base: {
3436
+ inputPricePerMillion: number;
3437
+ outputPricePerMillion: number;
3438
+ };
3439
+ };
3440
+ maxTokens?: number | null | undefined;
3441
+ }[];
3442
+ };
3443
+ maxReasoningTokens?: number | undefined;
3444
+ };
3445
+ declare const Gemini2_5FlashPreview0417Options: z.ZodObject<{
3446
+ modelName: z.ZodString;
3447
+ apiKey: z.ZodString;
3448
+ baseUrl: z.ZodOptional<z.ZodString>;
3449
+ completeChatUrl: z.ZodOptional<z.ZodString>;
3450
+ streamChatUrl: z.ZodOptional<z.ZodString>;
3451
+ }, "strip", z.ZodTypeAny, {
3452
+ modelName: string;
3453
+ apiKey: string;
3454
+ baseUrl?: string | undefined;
3455
+ completeChatUrl?: string | undefined;
3456
+ streamChatUrl?: string | undefined;
3457
+ }, {
3458
+ modelName: string;
3459
+ apiKey: string;
3460
+ baseUrl?: string | undefined;
3461
+ completeChatUrl?: string | undefined;
3462
+ streamChatUrl?: string | undefined;
3463
+ }>;
3464
+ type Gemini2_5FlashPreview0417OptionsType = z.infer<typeof Gemini2_5FlashPreview0417Options>;
3465
+ declare class Gemini2_5FlashPreview0417 extends BaseChatModel {
3466
+ constructor(options: Gemini2_5FlashPreview0417OptionsType);
3467
+ }
3468
+
3469
+ declare const Gemini2_5ProPreview0325Literal = "gemini-2.5-pro-preview-03-25";
3470
+ declare const Gemini2_5ProPreview0325Schema: {
3471
+ description: string;
3472
+ maxOutputTokens: number;
3473
+ name: string;
3474
+ roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
3475
+ modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
3476
+ maxInputTokens: number;
3477
+ config: {
3478
+ def: Record<string, {
3479
+ type: "multi-string";
3480
+ param: string;
3481
+ title: string;
3482
+ description: string;
3483
+ max: number;
3484
+ } | {
3485
+ type: "object-schema";
3486
+ param: string;
3487
+ title: string;
3488
+ description: string;
3489
+ objectSchema?: any;
3490
+ } | {
3491
+ type: "range";
3492
+ param: string;
3493
+ title: string;
3494
+ description: string;
3495
+ max: number;
3496
+ default: number;
3497
+ min: number;
3498
+ step: number;
3499
+ } | {
3500
+ type: "select-boolean";
3501
+ param: string;
3502
+ title: string;
3503
+ description: string;
3504
+ default: boolean | null;
3505
+ } | {
3506
+ type: "select-string";
3507
+ param: string;
3508
+ title: string;
3509
+ description: string;
3510
+ default: string;
3511
+ choices: string[];
3512
+ }>;
3513
+ schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
3514
+ };
3515
+ price: {
3516
+ modelName: string;
3517
+ currency: string;
3518
+ tokenRanges: {
3519
+ minTokens: number;
3520
+ prices: {
3521
+ base: {
3522
+ inputPricePerMillion: number;
3523
+ outputPricePerMillion: number;
3524
+ };
3525
+ };
3526
+ maxTokens?: number | null | undefined;
3527
+ }[];
3528
+ };
3529
+ maxReasoningTokens?: number | undefined;
3530
+ };
3531
+ declare const Gemini2_5ProPreview0325Options: z.ZodObject<{
3532
+ modelName: z.ZodString;
3533
+ apiKey: z.ZodString;
3534
+ baseUrl: z.ZodOptional<z.ZodString>;
3535
+ completeChatUrl: z.ZodOptional<z.ZodString>;
3536
+ streamChatUrl: z.ZodOptional<z.ZodString>;
3537
+ }, "strip", z.ZodTypeAny, {
3538
+ modelName: string;
3539
+ apiKey: string;
3540
+ baseUrl?: string | undefined;
3541
+ completeChatUrl?: string | undefined;
3542
+ streamChatUrl?: string | undefined;
3543
+ }, {
3544
+ modelName: string;
3545
+ apiKey: string;
3546
+ baseUrl?: string | undefined;
3547
+ completeChatUrl?: string | undefined;
3548
+ streamChatUrl?: string | undefined;
3549
+ }>;
3550
+ type Gemini2_5ProPreview0325OptionsType = z.infer<typeof Gemini2_5ProPreview0325Options>;
3551
+ declare class Gemini2_5ProPreview0325 extends BaseChatModel {
3552
+ constructor(options: Gemini2_5ProPreview0325OptionsType);
3553
+ }
3554
+
2895
3555
  declare const GeminiProVisionLiteral = "gemini-pro-vision";
2896
3556
  declare const GeminiProVisionSchema: {
2897
3557
  description: string;
@@ -2938,6 +3598,20 @@ declare const GeminiProVisionSchema: {
2938
3598
  }>;
2939
3599
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
2940
3600
  };
3601
+ price: {
3602
+ modelName: string;
3603
+ currency: string;
3604
+ tokenRanges: {
3605
+ minTokens: number;
3606
+ prices: {
3607
+ base: {
3608
+ inputPricePerMillion: number;
3609
+ outputPricePerMillion: number;
3610
+ };
3611
+ };
3612
+ maxTokens?: number | null | undefined;
3613
+ }[];
3614
+ };
2941
3615
  maxReasoningTokens?: number | undefined;
2942
3616
  };
2943
3617
  declare const GeminiProVisionOptions: z.ZodObject<{
@@ -3010,6 +3684,20 @@ declare const GeminiProSchema: {
3010
3684
  }>;
3011
3685
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
3012
3686
  };
3687
+ price: {
3688
+ modelName: string;
3689
+ currency: string;
3690
+ tokenRanges: {
3691
+ minTokens: number;
3692
+ prices: {
3693
+ base: {
3694
+ inputPricePerMillion: number;
3695
+ outputPricePerMillion: number;
3696
+ };
3697
+ };
3698
+ maxTokens?: number | null | undefined;
3699
+ }[];
3700
+ };
3013
3701
  maxReasoningTokens?: number | undefined;
3014
3702
  };
3015
3703
  declare const GeminiProOptions: z.ZodObject<{
@@ -3350,4 +4038,4 @@ declare class Google<C extends BaseChatModelOptionsType, E extends BaseEmbedding
3350
4038
  embeddingModel(options: E): EmbeddingModelV1;
3351
4039
  }
3352
4040
 
3353
- export { BaseChatModel, BaseChatModelGemini1, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelC1ConfigDef, ChatModelC1ConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, Gemini1_0Pro, Gemini1_0ProLatest, Gemini1_0ProLatestLiteral, Gemini1_0ProLatestOptions, type Gemini1_0ProLatestOptionsType, Gemini1_0ProLatestSchema, Gemini1_0ProLiteral, Gemini1_0ProOptions, type Gemini1_0ProOptionsType, Gemini1_0ProSchema, Gemini1_0ProVision, Gemini1_0ProVisionLiteral, Gemini1_0ProVisionOptions, type Gemini1_0ProVisionOptionsType, Gemini1_0ProVisionSchema, Gemini1_0Pro_001, Gemini1_0Pro_001Literal, Gemini1_0Pro_001Options, type Gemini1_0Pro_001OptionsType, Gemini1_0Pro_001Schema, 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_0FlashExp, Gemini2_0FlashExpLiteral, Gemini2_0FlashExpOptions, type Gemini2_0FlashExpOptionsType, Gemini2_0FlashExpSchema, GeminiPro, GeminiProLiteral, GeminiProOptions, type GeminiProOptionsType, GeminiProSchema, GeminiProVision, GeminiProVisionLiteral, GeminiProVisionOptions, type GeminiProVisionOptionsType, GeminiProVisionSchema, Google, GoogleChatAssistantRoleLiteral, GoogleChatContent, GoogleChatContentPartFunctionCall, type GoogleChatContentPartFunctionCallType, GoogleChatContentPartFunctionResponse, type GoogleChatContentPartFunctionResponseType, GoogleChatContentPartInlineData, type GoogleChatContentPartInlineDataType, GoogleChatContentPartText, type GoogleChatContentPartTextType, type GoogleChatContentType, GoogleChatGenerationConfig, type GoogleChatGenerationConfigType, GoogleChatModelConfigs, GoogleChatModelModalities, GoogleChatModelModalitiesEnum, 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, 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, maxTokens, presencePenalty, safetySettings, seed, stop, temperature, toolChoice, topK, topP };
4041
+ export { BaseChatModel, BaseChatModelGemini1, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelC1ConfigDef, ChatModelC1ConfigSchema, ChatModelReasoningConfigDef, ChatModelReasoningConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, Gemini1_0Pro, Gemini1_0ProLatest, Gemini1_0ProLatestLiteral, Gemini1_0ProLatestOptions, type Gemini1_0ProLatestOptionsType, Gemini1_0ProLatestSchema, Gemini1_0ProLiteral, Gemini1_0ProOptions, type Gemini1_0ProOptionsType, Gemini1_0ProSchema, Gemini1_0ProVision, Gemini1_0ProVisionLiteral, Gemini1_0ProVisionOptions, type Gemini1_0ProVisionOptionsType, Gemini1_0ProVisionSchema, Gemini1_0Pro_001, Gemini1_0Pro_001Literal, Gemini1_0Pro_001Options, type Gemini1_0Pro_001OptionsType, Gemini1_0Pro_001Schema, 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_0FlashExp, Gemini2_0FlashExpLiteral, Gemini2_0FlashExpOptions, type Gemini2_0FlashExpOptionsType, Gemini2_0FlashExpSchema, Gemini2_5FlashPreview0417, Gemini2_5FlashPreview0417Literal, Gemini2_5FlashPreview0417Options, type Gemini2_5FlashPreview0417OptionsType, Gemini2_5FlashPreview0417Schema, Gemini2_5ProPreview0325, Gemini2_5ProPreview0325Literal, Gemini2_5ProPreview0325Options, type Gemini2_5ProPreview0325OptionsType, Gemini2_5ProPreview0325Schema, GeminiPro, GeminiProLiteral, GeminiProOptions, type GeminiProOptionsType, GeminiProSchema, GeminiProVision, GeminiProVisionLiteral, GeminiProVisionOptions, type GeminiProVisionOptionsType, GeminiProVisionSchema, Google, GoogleChatAssistantRoleLiteral, GoogleChatContent, GoogleChatContentPartFunctionCall, type GoogleChatContentPartFunctionCallType, GoogleChatContentPartFunctionResponse, type GoogleChatContentPartFunctionResponseType, GoogleChatContentPartInlineData, type GoogleChatContentPartInlineDataType, GoogleChatContentPartText, type GoogleChatContentPartTextType, type GoogleChatContentType, GoogleChatGenerationConfig, type GoogleChatGenerationConfigType, GoogleChatModelConfigs, GoogleChatModelModalities, GoogleChatModelModalitiesEnum, 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, 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, maxTokens, presencePenalty, reasoningEnabled, safetySettings, seed, stop, temperature, toolChoice, topK, topP };