@adaline/anthropic 1.13.7 → 1.13.10

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.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as zod from 'zod';
2
2
  import { z } from 'zod';
3
3
  import { ChatModelV1, ChatModelSchemaType, UrlType, HeadersType, ParamsType, EmbeddingModelSchemaType, EmbeddingModelV1, ProviderV1 } from '@adaline/provider';
4
- import { MessageType, ConfigType, ToolType, ChatResponseType, PartialChatResponseType, ChatModelPriceType, EmbeddingRequestsType, EmbeddingResponseType } from '@adaline/types';
4
+ import { MessageType, ConfigType, ToolType, ChatResponseType, PartialChatResponseType, ChatModelPriceType, EmbeddingRequestsType, EmbeddingResponseType, EmbeddingModelPriceType } from '@adaline/types';
5
5
 
6
6
  declare const ChatModelBaseConfigSchema: (maxOutputTokens: number, maxSequences: number) => z.ZodObject<{
7
7
  temperature: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
@@ -626,6 +626,68 @@ declare const AnthropicEmbeddingModelConfigs: {
626
626
  inputType?: string | null | undefined;
627
627
  }>;
628
628
  };
629
+ readonly flexible: () => {
630
+ def: {
631
+ encodingFormat: {
632
+ type: "select-string";
633
+ param: string;
634
+ title: string;
635
+ description: string;
636
+ default: string;
637
+ choices: string[];
638
+ };
639
+ inputType: {
640
+ type: "select-string";
641
+ param: string;
642
+ title: string;
643
+ description: string;
644
+ default: string;
645
+ choices: string[];
646
+ };
647
+ truncation: {
648
+ type: "select-boolean";
649
+ param: string;
650
+ title: string;
651
+ description: string;
652
+ default: boolean | null;
653
+ };
654
+ outputDimension: {
655
+ type: "select-string";
656
+ param: string;
657
+ title: string;
658
+ description: string;
659
+ default: string;
660
+ choices: string[];
661
+ };
662
+ outputDtype: {
663
+ type: "select-string";
664
+ param: string;
665
+ title: string;
666
+ description: string;
667
+ default: string;
668
+ choices: string[];
669
+ };
670
+ };
671
+ schema: zod.ZodObject<{
672
+ encodingFormat: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
673
+ inputType: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
674
+ truncation: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
675
+ outputDimension: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
676
+ outputDtype: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
677
+ }, "strip", zod.ZodTypeAny, {
678
+ truncation?: boolean | null | undefined;
679
+ encodingFormat?: string | null | undefined;
680
+ inputType?: string | null | undefined;
681
+ outputDimension?: string | null | undefined;
682
+ outputDtype?: string | null | undefined;
683
+ }, {
684
+ truncation?: boolean | null | undefined;
685
+ encodingFormat?: string | null | undefined;
686
+ inputType?: string | null | undefined;
687
+ outputDimension?: string | null | undefined;
688
+ outputDtype?: string | null | undefined;
689
+ }>;
690
+ };
629
691
  };
630
692
 
631
693
  declare const EmbeddingModelBaseConfigSchema: () => z.ZodObject<{
@@ -699,6 +761,96 @@ declare const truncation: {
699
761
  };
700
762
  schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
701
763
  };
764
+ declare const outputDimension: {
765
+ def: {
766
+ type: "select-string";
767
+ param: string;
768
+ title: string;
769
+ description: string;
770
+ default: string;
771
+ choices: string[];
772
+ };
773
+ schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
774
+ };
775
+ declare const outputDtype: {
776
+ def: {
777
+ type: "select-string";
778
+ param: string;
779
+ title: string;
780
+ description: string;
781
+ default: string;
782
+ choices: string[];
783
+ };
784
+ schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
785
+ };
786
+
787
+ /**
788
+ * Config for the flexible-dimension Voyage models (voyage-3.5, voyage-3.5-lite,
789
+ * voyage-3-large, voyage-code-3). Extends the base config with `outputDimension`
790
+ * and `outputDtype`, which only these models support. Legacy fixed-dimension
791
+ * models keep `EmbeddingModelBaseConfig*` (no output_dimension / output_dtype),
792
+ * matching the Voyage API's per-model constraints.
793
+ */
794
+ declare const EmbeddingModelFlexibleConfigSchema: () => z.ZodObject<{
795
+ encodingFormat: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEnum<[string, ...string[]]>>>>;
796
+ inputType: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEnum<[string, ...string[]]>>>>;
797
+ truncation: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodBoolean>>>;
798
+ outputDimension: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEnum<[string, ...string[]]>>>>;
799
+ outputDtype: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEnum<[string, ...string[]]>>>>;
800
+ }, "strip", z.ZodTypeAny, {
801
+ truncation?: boolean | null | undefined;
802
+ encodingFormat?: string | null | undefined;
803
+ inputType?: string | null | undefined;
804
+ outputDimension?: string | null | undefined;
805
+ outputDtype?: string | null | undefined;
806
+ }, {
807
+ truncation?: boolean | null | undefined;
808
+ encodingFormat?: string | null | undefined;
809
+ inputType?: string | null | undefined;
810
+ outputDimension?: string | null | undefined;
811
+ outputDtype?: string | null | undefined;
812
+ }>;
813
+ declare const EmbeddingModelFlexibleConfigDef: () => {
814
+ encodingFormat: {
815
+ type: "select-string";
816
+ param: string;
817
+ title: string;
818
+ description: string;
819
+ default: string;
820
+ choices: string[];
821
+ };
822
+ inputType: {
823
+ type: "select-string";
824
+ param: string;
825
+ title: string;
826
+ description: string;
827
+ default: string;
828
+ choices: string[];
829
+ };
830
+ truncation: {
831
+ type: "select-boolean";
832
+ param: string;
833
+ title: string;
834
+ description: string;
835
+ default: boolean | null;
836
+ };
837
+ outputDimension: {
838
+ type: "select-string";
839
+ param: string;
840
+ title: string;
841
+ description: string;
842
+ default: string;
843
+ choices: string[];
844
+ };
845
+ outputDtype: {
846
+ type: "select-string";
847
+ param: string;
848
+ title: string;
849
+ description: string;
850
+ default: string;
851
+ choices: string[];
852
+ };
853
+ };
702
854
 
703
855
  declare const BaseChatModelOptions: z.ZodObject<{
704
856
  modelName: z.ZodString;
@@ -4614,17 +4766,23 @@ declare const AnthropicEmbeddingRequest: z.ZodObject<{
4614
4766
  encoding_format: z.ZodOptional<z.ZodNullable<z.ZodEnum<["base64"]>>>;
4615
4767
  input_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["query", "document"]>>>;
4616
4768
  truncation: z.ZodOptional<z.ZodBoolean>;
4769
+ output_dimension: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<256>, z.ZodLiteral<512>, z.ZodLiteral<1024>, z.ZodLiteral<2048>]>>>;
4770
+ output_dtype: z.ZodOptional<z.ZodNullable<z.ZodEnum<["float", "int8", "uint8", "binary", "ubinary"]>>>;
4617
4771
  }, "strip", z.ZodTypeAny, {
4618
4772
  input: string | string[];
4619
4773
  encoding_format?: "base64" | null | undefined;
4620
4774
  input_type?: "query" | "document" | null | undefined;
4621
4775
  truncation?: boolean | undefined;
4776
+ output_dimension?: 1024 | 256 | 512 | 2048 | null | undefined;
4777
+ output_dtype?: "float" | "int8" | "uint8" | "binary" | "ubinary" | null | undefined;
4622
4778
  model?: string | undefined;
4623
4779
  }, {
4624
4780
  input: string | string[];
4625
4781
  encoding_format?: "base64" | null | undefined;
4626
4782
  input_type?: "query" | "document" | null | undefined;
4627
4783
  truncation?: boolean | undefined;
4784
+ output_dimension?: 1024 | 256 | 512 | 2048 | null | undefined;
4785
+ output_dtype?: "float" | "int8" | "uint8" | "binary" | "ubinary" | null | undefined;
4628
4786
  model?: string | undefined;
4629
4787
  }>;
4630
4788
  type AnthropicEmbeddingRequestType = z.infer<typeof AnthropicEmbeddingRequest>;
@@ -4670,6 +4828,7 @@ declare class BaseEmbeddingModel implements EmbeddingModelV1<EmbeddingModelSchem
4670
4828
  getGetEmbeddingsHeaders(config?: ConfigType, requests?: EmbeddingRequestsType): Promise<HeadersType>;
4671
4829
  getGetEmbeddingsData(config: ConfigType, requests: EmbeddingRequestsType): Promise<ParamsType>;
4672
4830
  transformGetEmbeddingsResponse(response: any): EmbeddingResponseType;
4831
+ getModelPricing(): EmbeddingModelPriceType;
4673
4832
  }
4674
4833
 
4675
4834
  declare const VoyageCode2Literal = "voyage-code-2";
@@ -4748,6 +4907,11 @@ declare const VoyageCode2Schema: {
4748
4907
  }>;
4749
4908
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
4750
4909
  };
4910
+ price: {
4911
+ inputPricePerMillion: number;
4912
+ modelName: string;
4913
+ currency: string;
4914
+ };
4751
4915
  };
4752
4916
  declare const VoyageCode2Options: z.ZodObject<{
4753
4917
  modelName: z.ZodString;
@@ -4843,6 +5007,11 @@ declare const VoyageLaw2Schema: {
4843
5007
  }>;
4844
5008
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
4845
5009
  };
5010
+ price: {
5011
+ inputPricePerMillion: number;
5012
+ modelName: string;
5013
+ currency: string;
5014
+ };
4846
5015
  };
4847
5016
  declare const VoyageLaw2Options: z.ZodObject<{
4848
5017
  modelName: z.ZodString;
@@ -4938,6 +5107,11 @@ declare const VoyageMultilingual2Schema: {
4938
5107
  }>;
4939
5108
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
4940
5109
  };
5110
+ price: {
5111
+ inputPricePerMillion: number;
5112
+ modelName: string;
5113
+ currency: string;
5114
+ };
4941
5115
  };
4942
5116
  declare const VoyageMultilingual2Options: z.ZodObject<{
4943
5117
  modelName: z.ZodString;
@@ -5033,6 +5207,11 @@ declare const VoyageFinance2Schema: {
5033
5207
  }>;
5034
5208
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
5035
5209
  };
5210
+ price: {
5211
+ inputPricePerMillion: number;
5212
+ modelName: string;
5213
+ currency: string;
5214
+ };
5036
5215
  };
5037
5216
  declare const VoyageFinance2Options: z.ZodObject<{
5038
5217
  modelName: z.ZodString;
@@ -5128,6 +5307,11 @@ declare const Voyage3LiteSchema: {
5128
5307
  }>;
5129
5308
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
5130
5309
  };
5310
+ price: {
5311
+ inputPricePerMillion: number;
5312
+ modelName: string;
5313
+ currency: string;
5314
+ };
5131
5315
  };
5132
5316
  declare const Voyage3LiteOptions: z.ZodObject<{
5133
5317
  modelName: z.ZodString;
@@ -5223,6 +5407,11 @@ declare const Voyage3Schema: {
5223
5407
  }>;
5224
5408
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
5225
5409
  };
5410
+ price: {
5411
+ inputPricePerMillion: number;
5412
+ modelName: string;
5413
+ currency: string;
5414
+ };
5226
5415
  };
5227
5416
  declare const Voyage3Options: z.ZodObject<{
5228
5417
  modelName: z.ZodString;
@@ -5242,6 +5431,806 @@ declare class Voyage3 extends BaseEmbeddingModel {
5242
5431
  constructor(options: Voyage3OptionsType);
5243
5432
  }
5244
5433
 
5434
+ declare const Voyage3LargeLiteral = "voyage-3-large";
5435
+ declare const Voyage3LargeSchema: {
5436
+ description: string;
5437
+ name: string;
5438
+ modalities: ["text", ..."text"[]];
5439
+ maxInputTokens: number;
5440
+ maxOutputTokens: number;
5441
+ config: {
5442
+ def: Record<string, {
5443
+ type: "multi-string";
5444
+ param: string;
5445
+ title: string;
5446
+ description: string;
5447
+ max: number;
5448
+ } | {
5449
+ type: "object-schema";
5450
+ param: string;
5451
+ title: string;
5452
+ description: string;
5453
+ objectSchema?: any;
5454
+ } | {
5455
+ type: "paired-select";
5456
+ param: string;
5457
+ title: string;
5458
+ description: string;
5459
+ fields: [{
5460
+ label: string;
5461
+ key: string;
5462
+ choices: {
5463
+ value: string;
5464
+ label: string;
5465
+ }[];
5466
+ description?: string | undefined;
5467
+ }, {
5468
+ label: string;
5469
+ key: string;
5470
+ choices: {
5471
+ value: string;
5472
+ label: string;
5473
+ }[];
5474
+ description?: string | undefined;
5475
+ }];
5476
+ uniqueByField?: string | undefined;
5477
+ } | {
5478
+ type: "range";
5479
+ param: string;
5480
+ title: string;
5481
+ description: string;
5482
+ max: number;
5483
+ default: number;
5484
+ min: number;
5485
+ step: number;
5486
+ } | {
5487
+ type: "select-boolean";
5488
+ param: string;
5489
+ title: string;
5490
+ description: string;
5491
+ default: boolean | null;
5492
+ } | {
5493
+ type: "select-string";
5494
+ param: string;
5495
+ title: string;
5496
+ description: string;
5497
+ default: string;
5498
+ choices: string[];
5499
+ } | {
5500
+ type: "string";
5501
+ param: string;
5502
+ title: string;
5503
+ description: string;
5504
+ default?: string | undefined;
5505
+ minLength?: number | undefined;
5506
+ maxLength?: number | undefined;
5507
+ }>;
5508
+ schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
5509
+ };
5510
+ price: {
5511
+ inputPricePerMillion: number;
5512
+ modelName: string;
5513
+ currency: string;
5514
+ };
5515
+ };
5516
+ declare const Voyage3LargeOptions: z.ZodObject<{
5517
+ modelName: z.ZodString;
5518
+ apiKey: z.ZodString;
5519
+ getEmbeddingsUrl: z.ZodOptional<z.ZodString>;
5520
+ }, "strip", z.ZodTypeAny, {
5521
+ modelName: string;
5522
+ apiKey: string;
5523
+ getEmbeddingsUrl?: string | undefined;
5524
+ }, {
5525
+ modelName: string;
5526
+ apiKey: string;
5527
+ getEmbeddingsUrl?: string | undefined;
5528
+ }>;
5529
+ type Voyage3LargeOptionsType = z.infer<typeof Voyage3LargeOptions>;
5530
+ declare class Voyage3Large extends BaseEmbeddingModel {
5531
+ constructor(options: Voyage3LargeOptionsType);
5532
+ }
5533
+
5534
+ declare const Voyage3_5Literal = "voyage-3.5";
5535
+ declare const Voyage3_5Schema: {
5536
+ description: string;
5537
+ name: string;
5538
+ modalities: ["text", ..."text"[]];
5539
+ maxInputTokens: number;
5540
+ maxOutputTokens: number;
5541
+ config: {
5542
+ def: Record<string, {
5543
+ type: "multi-string";
5544
+ param: string;
5545
+ title: string;
5546
+ description: string;
5547
+ max: number;
5548
+ } | {
5549
+ type: "object-schema";
5550
+ param: string;
5551
+ title: string;
5552
+ description: string;
5553
+ objectSchema?: any;
5554
+ } | {
5555
+ type: "paired-select";
5556
+ param: string;
5557
+ title: string;
5558
+ description: string;
5559
+ fields: [{
5560
+ label: string;
5561
+ key: string;
5562
+ choices: {
5563
+ value: string;
5564
+ label: string;
5565
+ }[];
5566
+ description?: string | undefined;
5567
+ }, {
5568
+ label: string;
5569
+ key: string;
5570
+ choices: {
5571
+ value: string;
5572
+ label: string;
5573
+ }[];
5574
+ description?: string | undefined;
5575
+ }];
5576
+ uniqueByField?: string | undefined;
5577
+ } | {
5578
+ type: "range";
5579
+ param: string;
5580
+ title: string;
5581
+ description: string;
5582
+ max: number;
5583
+ default: number;
5584
+ min: number;
5585
+ step: number;
5586
+ } | {
5587
+ type: "select-boolean";
5588
+ param: string;
5589
+ title: string;
5590
+ description: string;
5591
+ default: boolean | null;
5592
+ } | {
5593
+ type: "select-string";
5594
+ param: string;
5595
+ title: string;
5596
+ description: string;
5597
+ default: string;
5598
+ choices: string[];
5599
+ } | {
5600
+ type: "string";
5601
+ param: string;
5602
+ title: string;
5603
+ description: string;
5604
+ default?: string | undefined;
5605
+ minLength?: number | undefined;
5606
+ maxLength?: number | undefined;
5607
+ }>;
5608
+ schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
5609
+ };
5610
+ price: {
5611
+ inputPricePerMillion: number;
5612
+ modelName: string;
5613
+ currency: string;
5614
+ };
5615
+ };
5616
+ declare const Voyage3_5Options: z.ZodObject<{
5617
+ modelName: z.ZodString;
5618
+ apiKey: z.ZodString;
5619
+ getEmbeddingsUrl: z.ZodOptional<z.ZodString>;
5620
+ }, "strip", z.ZodTypeAny, {
5621
+ modelName: string;
5622
+ apiKey: string;
5623
+ getEmbeddingsUrl?: string | undefined;
5624
+ }, {
5625
+ modelName: string;
5626
+ apiKey: string;
5627
+ getEmbeddingsUrl?: string | undefined;
5628
+ }>;
5629
+ type Voyage3_5OptionsType = z.infer<typeof Voyage3_5Options>;
5630
+ declare class Voyage3_5 extends BaseEmbeddingModel {
5631
+ constructor(options: Voyage3_5OptionsType);
5632
+ }
5633
+
5634
+ declare const Voyage3_5LiteLiteral = "voyage-3.5-lite";
5635
+ declare const Voyage3_5LiteSchema: {
5636
+ description: string;
5637
+ name: string;
5638
+ modalities: ["text", ..."text"[]];
5639
+ maxInputTokens: number;
5640
+ maxOutputTokens: number;
5641
+ config: {
5642
+ def: Record<string, {
5643
+ type: "multi-string";
5644
+ param: string;
5645
+ title: string;
5646
+ description: string;
5647
+ max: number;
5648
+ } | {
5649
+ type: "object-schema";
5650
+ param: string;
5651
+ title: string;
5652
+ description: string;
5653
+ objectSchema?: any;
5654
+ } | {
5655
+ type: "paired-select";
5656
+ param: string;
5657
+ title: string;
5658
+ description: string;
5659
+ fields: [{
5660
+ label: string;
5661
+ key: string;
5662
+ choices: {
5663
+ value: string;
5664
+ label: string;
5665
+ }[];
5666
+ description?: string | undefined;
5667
+ }, {
5668
+ label: string;
5669
+ key: string;
5670
+ choices: {
5671
+ value: string;
5672
+ label: string;
5673
+ }[];
5674
+ description?: string | undefined;
5675
+ }];
5676
+ uniqueByField?: string | undefined;
5677
+ } | {
5678
+ type: "range";
5679
+ param: string;
5680
+ title: string;
5681
+ description: string;
5682
+ max: number;
5683
+ default: number;
5684
+ min: number;
5685
+ step: number;
5686
+ } | {
5687
+ type: "select-boolean";
5688
+ param: string;
5689
+ title: string;
5690
+ description: string;
5691
+ default: boolean | null;
5692
+ } | {
5693
+ type: "select-string";
5694
+ param: string;
5695
+ title: string;
5696
+ description: string;
5697
+ default: string;
5698
+ choices: string[];
5699
+ } | {
5700
+ type: "string";
5701
+ param: string;
5702
+ title: string;
5703
+ description: string;
5704
+ default?: string | undefined;
5705
+ minLength?: number | undefined;
5706
+ maxLength?: number | undefined;
5707
+ }>;
5708
+ schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
5709
+ };
5710
+ price: {
5711
+ inputPricePerMillion: number;
5712
+ modelName: string;
5713
+ currency: string;
5714
+ };
5715
+ };
5716
+ declare const Voyage3_5LiteOptions: z.ZodObject<{
5717
+ modelName: z.ZodString;
5718
+ apiKey: z.ZodString;
5719
+ getEmbeddingsUrl: z.ZodOptional<z.ZodString>;
5720
+ }, "strip", z.ZodTypeAny, {
5721
+ modelName: string;
5722
+ apiKey: string;
5723
+ getEmbeddingsUrl?: string | undefined;
5724
+ }, {
5725
+ modelName: string;
5726
+ apiKey: string;
5727
+ getEmbeddingsUrl?: string | undefined;
5728
+ }>;
5729
+ type Voyage3_5LiteOptionsType = z.infer<typeof Voyage3_5LiteOptions>;
5730
+ declare class Voyage3_5Lite extends BaseEmbeddingModel {
5731
+ constructor(options: Voyage3_5LiteOptionsType);
5732
+ }
5733
+
5734
+ declare const VoyageCode3Literal = "voyage-code-3";
5735
+ declare const VoyageCode3Schema: {
5736
+ description: string;
5737
+ name: string;
5738
+ modalities: ["text", ..."text"[]];
5739
+ maxInputTokens: number;
5740
+ maxOutputTokens: number;
5741
+ config: {
5742
+ def: Record<string, {
5743
+ type: "multi-string";
5744
+ param: string;
5745
+ title: string;
5746
+ description: string;
5747
+ max: number;
5748
+ } | {
5749
+ type: "object-schema";
5750
+ param: string;
5751
+ title: string;
5752
+ description: string;
5753
+ objectSchema?: any;
5754
+ } | {
5755
+ type: "paired-select";
5756
+ param: string;
5757
+ title: string;
5758
+ description: string;
5759
+ fields: [{
5760
+ label: string;
5761
+ key: string;
5762
+ choices: {
5763
+ value: string;
5764
+ label: string;
5765
+ }[];
5766
+ description?: string | undefined;
5767
+ }, {
5768
+ label: string;
5769
+ key: string;
5770
+ choices: {
5771
+ value: string;
5772
+ label: string;
5773
+ }[];
5774
+ description?: string | undefined;
5775
+ }];
5776
+ uniqueByField?: string | undefined;
5777
+ } | {
5778
+ type: "range";
5779
+ param: string;
5780
+ title: string;
5781
+ description: string;
5782
+ max: number;
5783
+ default: number;
5784
+ min: number;
5785
+ step: number;
5786
+ } | {
5787
+ type: "select-boolean";
5788
+ param: string;
5789
+ title: string;
5790
+ description: string;
5791
+ default: boolean | null;
5792
+ } | {
5793
+ type: "select-string";
5794
+ param: string;
5795
+ title: string;
5796
+ description: string;
5797
+ default: string;
5798
+ choices: string[];
5799
+ } | {
5800
+ type: "string";
5801
+ param: string;
5802
+ title: string;
5803
+ description: string;
5804
+ default?: string | undefined;
5805
+ minLength?: number | undefined;
5806
+ maxLength?: number | undefined;
5807
+ }>;
5808
+ schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
5809
+ };
5810
+ price: {
5811
+ inputPricePerMillion: number;
5812
+ modelName: string;
5813
+ currency: string;
5814
+ };
5815
+ };
5816
+ declare const VoyageCode3Options: z.ZodObject<{
5817
+ modelName: z.ZodString;
5818
+ apiKey: z.ZodString;
5819
+ getEmbeddingsUrl: z.ZodOptional<z.ZodString>;
5820
+ }, "strip", z.ZodTypeAny, {
5821
+ modelName: string;
5822
+ apiKey: string;
5823
+ getEmbeddingsUrl?: string | undefined;
5824
+ }, {
5825
+ modelName: string;
5826
+ apiKey: string;
5827
+ getEmbeddingsUrl?: string | undefined;
5828
+ }>;
5829
+ type VoyageCode3OptionsType = z.infer<typeof VoyageCode3Options>;
5830
+ declare class VoyageCode3 extends BaseEmbeddingModel {
5831
+ constructor(options: VoyageCode3OptionsType);
5832
+ }
5833
+
5834
+ declare const Voyage4LargeLiteral = "voyage-4-large";
5835
+ declare const Voyage4LargeSchema: {
5836
+ description: string;
5837
+ name: string;
5838
+ modalities: ["text", ..."text"[]];
5839
+ maxInputTokens: number;
5840
+ maxOutputTokens: number;
5841
+ config: {
5842
+ def: Record<string, {
5843
+ type: "multi-string";
5844
+ param: string;
5845
+ title: string;
5846
+ description: string;
5847
+ max: number;
5848
+ } | {
5849
+ type: "object-schema";
5850
+ param: string;
5851
+ title: string;
5852
+ description: string;
5853
+ objectSchema?: any;
5854
+ } | {
5855
+ type: "paired-select";
5856
+ param: string;
5857
+ title: string;
5858
+ description: string;
5859
+ fields: [{
5860
+ label: string;
5861
+ key: string;
5862
+ choices: {
5863
+ value: string;
5864
+ label: string;
5865
+ }[];
5866
+ description?: string | undefined;
5867
+ }, {
5868
+ label: string;
5869
+ key: string;
5870
+ choices: {
5871
+ value: string;
5872
+ label: string;
5873
+ }[];
5874
+ description?: string | undefined;
5875
+ }];
5876
+ uniqueByField?: string | undefined;
5877
+ } | {
5878
+ type: "range";
5879
+ param: string;
5880
+ title: string;
5881
+ description: string;
5882
+ max: number;
5883
+ default: number;
5884
+ min: number;
5885
+ step: number;
5886
+ } | {
5887
+ type: "select-boolean";
5888
+ param: string;
5889
+ title: string;
5890
+ description: string;
5891
+ default: boolean | null;
5892
+ } | {
5893
+ type: "select-string";
5894
+ param: string;
5895
+ title: string;
5896
+ description: string;
5897
+ default: string;
5898
+ choices: string[];
5899
+ } | {
5900
+ type: "string";
5901
+ param: string;
5902
+ title: string;
5903
+ description: string;
5904
+ default?: string | undefined;
5905
+ minLength?: number | undefined;
5906
+ maxLength?: number | undefined;
5907
+ }>;
5908
+ schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
5909
+ };
5910
+ price: {
5911
+ inputPricePerMillion: number;
5912
+ modelName: string;
5913
+ currency: string;
5914
+ };
5915
+ };
5916
+ declare const Voyage4LargeOptions: z.ZodObject<{
5917
+ modelName: z.ZodString;
5918
+ apiKey: z.ZodString;
5919
+ getEmbeddingsUrl: z.ZodOptional<z.ZodString>;
5920
+ }, "strip", z.ZodTypeAny, {
5921
+ modelName: string;
5922
+ apiKey: string;
5923
+ getEmbeddingsUrl?: string | undefined;
5924
+ }, {
5925
+ modelName: string;
5926
+ apiKey: string;
5927
+ getEmbeddingsUrl?: string | undefined;
5928
+ }>;
5929
+ type Voyage4LargeOptionsType = z.infer<typeof Voyage4LargeOptions>;
5930
+ declare class Voyage4Large extends BaseEmbeddingModel {
5931
+ constructor(options: Voyage4LargeOptionsType);
5932
+ }
5933
+
5934
+ declare const Voyage4Literal = "voyage-4";
5935
+ declare const Voyage4Schema: {
5936
+ description: string;
5937
+ name: string;
5938
+ modalities: ["text", ..."text"[]];
5939
+ maxInputTokens: number;
5940
+ maxOutputTokens: number;
5941
+ config: {
5942
+ def: Record<string, {
5943
+ type: "multi-string";
5944
+ param: string;
5945
+ title: string;
5946
+ description: string;
5947
+ max: number;
5948
+ } | {
5949
+ type: "object-schema";
5950
+ param: string;
5951
+ title: string;
5952
+ description: string;
5953
+ objectSchema?: any;
5954
+ } | {
5955
+ type: "paired-select";
5956
+ param: string;
5957
+ title: string;
5958
+ description: string;
5959
+ fields: [{
5960
+ label: string;
5961
+ key: string;
5962
+ choices: {
5963
+ value: string;
5964
+ label: string;
5965
+ }[];
5966
+ description?: string | undefined;
5967
+ }, {
5968
+ label: string;
5969
+ key: string;
5970
+ choices: {
5971
+ value: string;
5972
+ label: string;
5973
+ }[];
5974
+ description?: string | undefined;
5975
+ }];
5976
+ uniqueByField?: string | undefined;
5977
+ } | {
5978
+ type: "range";
5979
+ param: string;
5980
+ title: string;
5981
+ description: string;
5982
+ max: number;
5983
+ default: number;
5984
+ min: number;
5985
+ step: number;
5986
+ } | {
5987
+ type: "select-boolean";
5988
+ param: string;
5989
+ title: string;
5990
+ description: string;
5991
+ default: boolean | null;
5992
+ } | {
5993
+ type: "select-string";
5994
+ param: string;
5995
+ title: string;
5996
+ description: string;
5997
+ default: string;
5998
+ choices: string[];
5999
+ } | {
6000
+ type: "string";
6001
+ param: string;
6002
+ title: string;
6003
+ description: string;
6004
+ default?: string | undefined;
6005
+ minLength?: number | undefined;
6006
+ maxLength?: number | undefined;
6007
+ }>;
6008
+ schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
6009
+ };
6010
+ price: {
6011
+ inputPricePerMillion: number;
6012
+ modelName: string;
6013
+ currency: string;
6014
+ };
6015
+ };
6016
+ declare const Voyage4Options: z.ZodObject<{
6017
+ modelName: z.ZodString;
6018
+ apiKey: z.ZodString;
6019
+ getEmbeddingsUrl: z.ZodOptional<z.ZodString>;
6020
+ }, "strip", z.ZodTypeAny, {
6021
+ modelName: string;
6022
+ apiKey: string;
6023
+ getEmbeddingsUrl?: string | undefined;
6024
+ }, {
6025
+ modelName: string;
6026
+ apiKey: string;
6027
+ getEmbeddingsUrl?: string | undefined;
6028
+ }>;
6029
+ type Voyage4OptionsType = z.infer<typeof Voyage4Options>;
6030
+ declare class Voyage4 extends BaseEmbeddingModel {
6031
+ constructor(options: Voyage4OptionsType);
6032
+ }
6033
+
6034
+ declare const Voyage4LiteLiteral = "voyage-4-lite";
6035
+ declare const Voyage4LiteSchema: {
6036
+ description: string;
6037
+ name: string;
6038
+ modalities: ["text", ..."text"[]];
6039
+ maxInputTokens: number;
6040
+ maxOutputTokens: number;
6041
+ config: {
6042
+ def: Record<string, {
6043
+ type: "multi-string";
6044
+ param: string;
6045
+ title: string;
6046
+ description: string;
6047
+ max: number;
6048
+ } | {
6049
+ type: "object-schema";
6050
+ param: string;
6051
+ title: string;
6052
+ description: string;
6053
+ objectSchema?: any;
6054
+ } | {
6055
+ type: "paired-select";
6056
+ param: string;
6057
+ title: string;
6058
+ description: string;
6059
+ fields: [{
6060
+ label: string;
6061
+ key: string;
6062
+ choices: {
6063
+ value: string;
6064
+ label: string;
6065
+ }[];
6066
+ description?: string | undefined;
6067
+ }, {
6068
+ label: string;
6069
+ key: string;
6070
+ choices: {
6071
+ value: string;
6072
+ label: string;
6073
+ }[];
6074
+ description?: string | undefined;
6075
+ }];
6076
+ uniqueByField?: string | undefined;
6077
+ } | {
6078
+ type: "range";
6079
+ param: string;
6080
+ title: string;
6081
+ description: string;
6082
+ max: number;
6083
+ default: number;
6084
+ min: number;
6085
+ step: number;
6086
+ } | {
6087
+ type: "select-boolean";
6088
+ param: string;
6089
+ title: string;
6090
+ description: string;
6091
+ default: boolean | null;
6092
+ } | {
6093
+ type: "select-string";
6094
+ param: string;
6095
+ title: string;
6096
+ description: string;
6097
+ default: string;
6098
+ choices: string[];
6099
+ } | {
6100
+ type: "string";
6101
+ param: string;
6102
+ title: string;
6103
+ description: string;
6104
+ default?: string | undefined;
6105
+ minLength?: number | undefined;
6106
+ maxLength?: number | undefined;
6107
+ }>;
6108
+ schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
6109
+ };
6110
+ price: {
6111
+ inputPricePerMillion: number;
6112
+ modelName: string;
6113
+ currency: string;
6114
+ };
6115
+ };
6116
+ declare const Voyage4LiteOptions: z.ZodObject<{
6117
+ modelName: z.ZodString;
6118
+ apiKey: z.ZodString;
6119
+ getEmbeddingsUrl: z.ZodOptional<z.ZodString>;
6120
+ }, "strip", z.ZodTypeAny, {
6121
+ modelName: string;
6122
+ apiKey: string;
6123
+ getEmbeddingsUrl?: string | undefined;
6124
+ }, {
6125
+ modelName: string;
6126
+ apiKey: string;
6127
+ getEmbeddingsUrl?: string | undefined;
6128
+ }>;
6129
+ type Voyage4LiteOptionsType = z.infer<typeof Voyage4LiteOptions>;
6130
+ declare class Voyage4Lite extends BaseEmbeddingModel {
6131
+ constructor(options: Voyage4LiteOptionsType);
6132
+ }
6133
+
6134
+ declare const Voyage4NanoLiteral = "voyage-4-nano";
6135
+ declare const Voyage4NanoSchema: {
6136
+ description: string;
6137
+ name: string;
6138
+ modalities: ["text", ..."text"[]];
6139
+ maxInputTokens: number;
6140
+ maxOutputTokens: number;
6141
+ config: {
6142
+ def: Record<string, {
6143
+ type: "multi-string";
6144
+ param: string;
6145
+ title: string;
6146
+ description: string;
6147
+ max: number;
6148
+ } | {
6149
+ type: "object-schema";
6150
+ param: string;
6151
+ title: string;
6152
+ description: string;
6153
+ objectSchema?: any;
6154
+ } | {
6155
+ type: "paired-select";
6156
+ param: string;
6157
+ title: string;
6158
+ description: string;
6159
+ fields: [{
6160
+ label: string;
6161
+ key: string;
6162
+ choices: {
6163
+ value: string;
6164
+ label: string;
6165
+ }[];
6166
+ description?: string | undefined;
6167
+ }, {
6168
+ label: string;
6169
+ key: string;
6170
+ choices: {
6171
+ value: string;
6172
+ label: string;
6173
+ }[];
6174
+ description?: string | undefined;
6175
+ }];
6176
+ uniqueByField?: string | undefined;
6177
+ } | {
6178
+ type: "range";
6179
+ param: string;
6180
+ title: string;
6181
+ description: string;
6182
+ max: number;
6183
+ default: number;
6184
+ min: number;
6185
+ step: number;
6186
+ } | {
6187
+ type: "select-boolean";
6188
+ param: string;
6189
+ title: string;
6190
+ description: string;
6191
+ default: boolean | null;
6192
+ } | {
6193
+ type: "select-string";
6194
+ param: string;
6195
+ title: string;
6196
+ description: string;
6197
+ default: string;
6198
+ choices: string[];
6199
+ } | {
6200
+ type: "string";
6201
+ param: string;
6202
+ title: string;
6203
+ description: string;
6204
+ default?: string | undefined;
6205
+ minLength?: number | undefined;
6206
+ maxLength?: number | undefined;
6207
+ }>;
6208
+ schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
6209
+ };
6210
+ price: {
6211
+ inputPricePerMillion: number;
6212
+ modelName: string;
6213
+ currency: string;
6214
+ };
6215
+ };
6216
+ declare const Voyage4NanoOptions: z.ZodObject<{
6217
+ modelName: z.ZodString;
6218
+ apiKey: z.ZodString;
6219
+ getEmbeddingsUrl: z.ZodOptional<z.ZodString>;
6220
+ }, "strip", z.ZodTypeAny, {
6221
+ modelName: string;
6222
+ apiKey: string;
6223
+ getEmbeddingsUrl?: string | undefined;
6224
+ }, {
6225
+ modelName: string;
6226
+ apiKey: string;
6227
+ getEmbeddingsUrl?: string | undefined;
6228
+ }>;
6229
+ type Voyage4NanoOptionsType = z.infer<typeof Voyage4NanoOptions>;
6230
+ declare class Voyage4Nano extends BaseEmbeddingModel {
6231
+ constructor(options: Voyage4NanoOptionsType);
6232
+ }
6233
+
5245
6234
  declare const ProviderLiteral = "anthropic";
5246
6235
  declare class Anthropic<C extends BaseChatModelOptionsType, E extends BaseEmbeddingModelOptionsType> implements ProviderV1<C, E> {
5247
6236
  readonly version: "v1";
@@ -5258,4 +6247,4 @@ declare class Anthropic<C extends BaseChatModelOptionsType, E extends BaseEmbedd
5258
6247
  embeddingModel(options: E): EmbeddingModelV1;
5259
6248
  }
5260
6249
 
5261
- export { Anthropic, AnthropicChatModelConfigs, AnthropicChatModelModalities, AnthropicChatModelModalitiesEnum, AnthropicChatModelRoles, AnthropicChatModelRolesMap, AnthropicCompleteChatMcpToolResultResponse, AnthropicCompleteChatMcpToolUseResponse, AnthropicCompleteChatResponse, type AnthropicCompleteChatResponseType, AnthropicEmbeddingModelConfigs, AnthropicEmbeddingModelModalities, AnthropicEmbeddingModelModalitiesEnum, AnthropicEmbeddingRequest, AnthropicEmbeddingRequestInput, type AnthropicEmbeddingRequestInputType, type AnthropicEmbeddingRequestType, AnthropicGetEmbeddingsResponse, AnthropicRequest, AnthropicRequestAssistantMessage, type AnthropicRequestAssistantMessageType, AnthropicRequestImageContent, type AnthropicRequestImageContentType, AnthropicRequestMcpServer, AnthropicRequestMcpServerToolConfiguration, type AnthropicRequestMcpServerToolConfigurationType, type AnthropicRequestMcpServerType, AnthropicRequestMcpToolResultContent, type AnthropicRequestMcpToolResultContentType, AnthropicRequestMcpToolUseContent, type AnthropicRequestMcpToolUseContentType, AnthropicRequestMessage, type AnthropicRequestMessageType, AnthropicRequestRedactedThinkingContent, type AnthropicRequestRedactedThinkingContentType, AnthropicRequestTextContent, type AnthropicRequestTextContentType, AnthropicRequestThinkingContent, type AnthropicRequestThinkingContentType, AnthropicRequestTool, AnthropicRequestToolCallContent, type AnthropicRequestToolCallContentType, AnthropicRequestToolChoiceEnum, type AnthropicRequestToolChoiceEnumType, AnthropicRequestToolChoiceTool, type AnthropicRequestToolChoiceToolType, AnthropicRequestToolResponseContent, type AnthropicRequestToolResponseContentType, type AnthropicRequestToolType, type AnthropicRequestType, AnthropicRequestUserMessage, type AnthropicRequestUserMessageType, AnthropicStreamChatContentBlockDeltaResponse, AnthropicStreamChatContentBlockStartMcpToolResultResponse, AnthropicStreamChatContentBlockStartMcpToolUseResponse, AnthropicStreamChatContentBlockStartResponse, AnthropicStreamChatMessageDeltaResponse, AnthropicStreamChatMessageStartResponse, AnthropicThinkingChatModelModalities, AnthropicThinkingChatModelModalitiesEnum, BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelReasoningConfigDef, ChatModelReasoningConfigSchema, Claude3Haiku20240307, Claude3Haiku20240307Literal, Claude3Haiku20240307Options, type Claude3Haiku20240307OptionsType, Claude3Haiku20240307Schema, Claude3Opus20240229, Claude3Opus20240229Literal, Claude3Opus20240229Options, type Claude3Opus20240229OptionsType, Claude3Opus20240229Schema, Claude3Sonnet20240229, Claude3Sonnet20240229Literal, Claude3Sonnet20240229Options, type Claude3Sonnet20240229OptionsType, Claude3Sonnet20240229Schema, Claude3_5Haiku20241022, Claude3_5Haiku20241022Literal, Claude3_5Haiku20241022Options, type Claude3_5Haiku20241022OptionsType, Claude3_5Haiku20241022Schema, Claude3_5Sonnet20240620, Claude3_5Sonnet20240620Literal, Claude3_5Sonnet20240620Options, type Claude3_5Sonnet20240620OptionsType, Claude3_5Sonnet20240620Schema, Claude3_5Sonnet20241022, Claude3_5Sonnet20241022Literal, Claude3_5Sonnet20241022Options, type Claude3_5Sonnet20241022OptionsType, Claude3_5Sonnet20241022Schema, Claude3_7Sonnet20250219, Claude3_7Sonnet20250219Literal, Claude3_7Sonnet20250219Options, type Claude3_7Sonnet20250219OptionsType, Claude3_7Sonnet20250219Schema, Claude4Opus20250514, Claude4Opus20250514Literal, Claude4Opus20250514Options, type Claude4Opus20250514OptionsType, Claude4Opus20250514Schema, Claude4Sonnet20250514, Claude4Sonnet20250514Literal, Claude4Sonnet20250514Options, type Claude4Sonnet20250514OptionsType, Claude4Sonnet20250514Schema, ClaudeHaiku4_520251001, ClaudeHaiku4_520251001Literal, ClaudeHaiku4_520251001Options, type ClaudeHaiku4_520251001OptionsType, ClaudeHaiku4_520251001Schema, ClaudeOpus4_520251101, ClaudeOpus4_520251101Literal, ClaudeOpus4_520251101Options, type ClaudeOpus4_520251101OptionsType, ClaudeOpus4_520251101Schema, ClaudeOpus4_6, ClaudeOpus4_6Literal, ClaudeOpus4_6Options, type ClaudeOpus4_6OptionsType, ClaudeOpus4_6Schema, ClaudeOpus4_7, ClaudeOpus4_7Literal, ClaudeOpus4_7Options, type ClaudeOpus4_7OptionsType, ClaudeOpus4_7Schema, ClaudeSonnet4_520250929, ClaudeSonnet4_520250929Literal, ClaudeSonnet4_520250929Options, type ClaudeSonnet4_520250929OptionsType, ClaudeSonnet4_520250929Schema, ClaudeSonnet4_6, ClaudeSonnet4_6Literal, ClaudeSonnet4_6Options, type ClaudeSonnet4_6OptionsType, ClaudeSonnet4_6Schema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, ProviderLiteral, Voyage3, Voyage3Lite, Voyage3LiteLiteral, Voyage3LiteOptions, type Voyage3LiteOptionsType, Voyage3LiteSchema, Voyage3Literal, Voyage3Options, type Voyage3OptionsType, Voyage3Schema, VoyageCode2, VoyageCode2Literal, VoyageCode2Options, type VoyageCode2OptionsType, VoyageCode2Schema, VoyageFinance2, VoyageFinance2Literal, VoyageFinance2Options, type VoyageFinance2OptionsType, VoyageFinance2Schema, VoyageLaw2, VoyageLaw2Literal, VoyageLaw2Options, type VoyageLaw2OptionsType, VoyageLaw2Schema, VoyageMultilingual2, VoyageMultilingual2Literal, VoyageMultilingual2Options, type VoyageMultilingual2OptionsType, VoyageMultilingual2Schema, encodingFormat, inputType, maxTokens, mcp, mcpServers, stop, temperature, toolChoice, topK, topP, truncation };
6250
+ export { Anthropic, AnthropicChatModelConfigs, AnthropicChatModelModalities, AnthropicChatModelModalitiesEnum, AnthropicChatModelRoles, AnthropicChatModelRolesMap, AnthropicCompleteChatMcpToolResultResponse, AnthropicCompleteChatMcpToolUseResponse, AnthropicCompleteChatResponse, type AnthropicCompleteChatResponseType, AnthropicEmbeddingModelConfigs, AnthropicEmbeddingModelModalities, AnthropicEmbeddingModelModalitiesEnum, AnthropicEmbeddingRequest, AnthropicEmbeddingRequestInput, type AnthropicEmbeddingRequestInputType, type AnthropicEmbeddingRequestType, AnthropicGetEmbeddingsResponse, AnthropicRequest, AnthropicRequestAssistantMessage, type AnthropicRequestAssistantMessageType, AnthropicRequestImageContent, type AnthropicRequestImageContentType, AnthropicRequestMcpServer, AnthropicRequestMcpServerToolConfiguration, type AnthropicRequestMcpServerToolConfigurationType, type AnthropicRequestMcpServerType, AnthropicRequestMcpToolResultContent, type AnthropicRequestMcpToolResultContentType, AnthropicRequestMcpToolUseContent, type AnthropicRequestMcpToolUseContentType, AnthropicRequestMessage, type AnthropicRequestMessageType, AnthropicRequestRedactedThinkingContent, type AnthropicRequestRedactedThinkingContentType, AnthropicRequestTextContent, type AnthropicRequestTextContentType, AnthropicRequestThinkingContent, type AnthropicRequestThinkingContentType, AnthropicRequestTool, AnthropicRequestToolCallContent, type AnthropicRequestToolCallContentType, AnthropicRequestToolChoiceEnum, type AnthropicRequestToolChoiceEnumType, AnthropicRequestToolChoiceTool, type AnthropicRequestToolChoiceToolType, AnthropicRequestToolResponseContent, type AnthropicRequestToolResponseContentType, type AnthropicRequestToolType, type AnthropicRequestType, AnthropicRequestUserMessage, type AnthropicRequestUserMessageType, AnthropicStreamChatContentBlockDeltaResponse, AnthropicStreamChatContentBlockStartMcpToolResultResponse, AnthropicStreamChatContentBlockStartMcpToolUseResponse, AnthropicStreamChatContentBlockStartResponse, AnthropicStreamChatMessageDeltaResponse, AnthropicStreamChatMessageStartResponse, AnthropicThinkingChatModelModalities, AnthropicThinkingChatModelModalitiesEnum, BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelReasoningConfigDef, ChatModelReasoningConfigSchema, Claude3Haiku20240307, Claude3Haiku20240307Literal, Claude3Haiku20240307Options, type Claude3Haiku20240307OptionsType, Claude3Haiku20240307Schema, Claude3Opus20240229, Claude3Opus20240229Literal, Claude3Opus20240229Options, type Claude3Opus20240229OptionsType, Claude3Opus20240229Schema, Claude3Sonnet20240229, Claude3Sonnet20240229Literal, Claude3Sonnet20240229Options, type Claude3Sonnet20240229OptionsType, Claude3Sonnet20240229Schema, Claude3_5Haiku20241022, Claude3_5Haiku20241022Literal, Claude3_5Haiku20241022Options, type Claude3_5Haiku20241022OptionsType, Claude3_5Haiku20241022Schema, Claude3_5Sonnet20240620, Claude3_5Sonnet20240620Literal, Claude3_5Sonnet20240620Options, type Claude3_5Sonnet20240620OptionsType, Claude3_5Sonnet20240620Schema, Claude3_5Sonnet20241022, Claude3_5Sonnet20241022Literal, Claude3_5Sonnet20241022Options, type Claude3_5Sonnet20241022OptionsType, Claude3_5Sonnet20241022Schema, Claude3_7Sonnet20250219, Claude3_7Sonnet20250219Literal, Claude3_7Sonnet20250219Options, type Claude3_7Sonnet20250219OptionsType, Claude3_7Sonnet20250219Schema, Claude4Opus20250514, Claude4Opus20250514Literal, Claude4Opus20250514Options, type Claude4Opus20250514OptionsType, Claude4Opus20250514Schema, Claude4Sonnet20250514, Claude4Sonnet20250514Literal, Claude4Sonnet20250514Options, type Claude4Sonnet20250514OptionsType, Claude4Sonnet20250514Schema, ClaudeHaiku4_520251001, ClaudeHaiku4_520251001Literal, ClaudeHaiku4_520251001Options, type ClaudeHaiku4_520251001OptionsType, ClaudeHaiku4_520251001Schema, ClaudeOpus4_520251101, ClaudeOpus4_520251101Literal, ClaudeOpus4_520251101Options, type ClaudeOpus4_520251101OptionsType, ClaudeOpus4_520251101Schema, ClaudeOpus4_6, ClaudeOpus4_6Literal, ClaudeOpus4_6Options, type ClaudeOpus4_6OptionsType, ClaudeOpus4_6Schema, ClaudeOpus4_7, ClaudeOpus4_7Literal, ClaudeOpus4_7Options, type ClaudeOpus4_7OptionsType, ClaudeOpus4_7Schema, ClaudeSonnet4_520250929, ClaudeSonnet4_520250929Literal, ClaudeSonnet4_520250929Options, type ClaudeSonnet4_520250929OptionsType, ClaudeSonnet4_520250929Schema, ClaudeSonnet4_6, ClaudeSonnet4_6Literal, ClaudeSonnet4_6Options, type ClaudeSonnet4_6OptionsType, ClaudeSonnet4_6Schema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, EmbeddingModelFlexibleConfigDef, EmbeddingModelFlexibleConfigSchema, ProviderLiteral, Voyage3, Voyage3Large, Voyage3LargeLiteral, Voyage3LargeOptions, type Voyage3LargeOptionsType, Voyage3LargeSchema, Voyage3Lite, Voyage3LiteLiteral, Voyage3LiteOptions, type Voyage3LiteOptionsType, Voyage3LiteSchema, Voyage3Literal, Voyage3Options, type Voyage3OptionsType, Voyage3Schema, Voyage3_5, Voyage3_5Lite, Voyage3_5LiteLiteral, Voyage3_5LiteOptions, type Voyage3_5LiteOptionsType, Voyage3_5LiteSchema, Voyage3_5Literal, Voyage3_5Options, type Voyage3_5OptionsType, Voyage3_5Schema, Voyage4, Voyage4Large, Voyage4LargeLiteral, Voyage4LargeOptions, type Voyage4LargeOptionsType, Voyage4LargeSchema, Voyage4Lite, Voyage4LiteLiteral, Voyage4LiteOptions, type Voyage4LiteOptionsType, Voyage4LiteSchema, Voyage4Literal, Voyage4Nano, Voyage4NanoLiteral, Voyage4NanoOptions, type Voyage4NanoOptionsType, Voyage4NanoSchema, Voyage4Options, type Voyage4OptionsType, Voyage4Schema, VoyageCode2, VoyageCode2Literal, VoyageCode2Options, type VoyageCode2OptionsType, VoyageCode2Schema, VoyageCode3, VoyageCode3Literal, VoyageCode3Options, type VoyageCode3OptionsType, VoyageCode3Schema, VoyageFinance2, VoyageFinance2Literal, VoyageFinance2Options, type VoyageFinance2OptionsType, VoyageFinance2Schema, VoyageLaw2, VoyageLaw2Literal, VoyageLaw2Options, type VoyageLaw2OptionsType, VoyageLaw2Schema, VoyageMultilingual2, VoyageMultilingual2Literal, VoyageMultilingual2Options, type VoyageMultilingual2OptionsType, VoyageMultilingual2Schema, encodingFormat, inputType, maxTokens, mcp, mcpServers, outputDimension, outputDtype, stop, temperature, toolChoice, topK, topP, truncation };