@adaline/anthropic 1.13.0 → 1.13.1

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
@@ -1295,6 +1295,218 @@ declare class ClaudeSonnet4_520250929 extends BaseChatModel {
1295
1295
  constructor(options: ClaudeSonnet4_520250929OptionsType);
1296
1296
  }
1297
1297
 
1298
+ declare const ClaudeSonnet4_6Literal = "claude-sonnet-4-6";
1299
+ declare const ClaudeSonnet4_6Schema: {
1300
+ description: string;
1301
+ name: string;
1302
+ roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
1303
+ modalities: ["text" | "image" | "tool-call" | "tool-response" | "reasoning", ...("text" | "image" | "tool-call" | "tool-response" | "reasoning")[]];
1304
+ maxInputTokens: number;
1305
+ maxOutputTokens: number;
1306
+ config: {
1307
+ def: Record<string, {
1308
+ type: "multi-string";
1309
+ param: string;
1310
+ title: string;
1311
+ description: string;
1312
+ max: number;
1313
+ } | {
1314
+ type: "object-schema";
1315
+ param: string;
1316
+ title: string;
1317
+ description: string;
1318
+ objectSchema?: any;
1319
+ } | {
1320
+ type: "paired-select";
1321
+ param: string;
1322
+ title: string;
1323
+ description: string;
1324
+ fields: [{
1325
+ label: string;
1326
+ key: string;
1327
+ choices: {
1328
+ value: string;
1329
+ label: string;
1330
+ }[];
1331
+ description?: string | undefined;
1332
+ }, {
1333
+ label: string;
1334
+ key: string;
1335
+ choices: {
1336
+ value: string;
1337
+ label: string;
1338
+ }[];
1339
+ description?: string | undefined;
1340
+ }];
1341
+ uniqueByField?: string | undefined;
1342
+ } | {
1343
+ type: "range";
1344
+ param: string;
1345
+ title: string;
1346
+ description: string;
1347
+ max: number;
1348
+ default: number;
1349
+ min: number;
1350
+ step: number;
1351
+ } | {
1352
+ type: "select-boolean";
1353
+ param: string;
1354
+ title: string;
1355
+ description: string;
1356
+ default: boolean | null;
1357
+ } | {
1358
+ type: "select-string";
1359
+ param: string;
1360
+ title: string;
1361
+ description: string;
1362
+ default: string;
1363
+ choices: string[];
1364
+ }>;
1365
+ schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
1366
+ };
1367
+ price: {
1368
+ modelName: string;
1369
+ currency: string;
1370
+ tokenRanges: {
1371
+ minTokens: number;
1372
+ prices: {
1373
+ base: {
1374
+ inputPricePerMillion: number;
1375
+ outputPricePerMillion: number;
1376
+ };
1377
+ };
1378
+ maxTokens?: number | null | undefined;
1379
+ }[];
1380
+ };
1381
+ maxReasoningTokens?: number | undefined;
1382
+ };
1383
+ declare const ClaudeSonnet4_6Options: z.ZodObject<{
1384
+ modelName: z.ZodString;
1385
+ apiKey: z.ZodString;
1386
+ completeChatUrl: z.ZodOptional<z.ZodString>;
1387
+ streamChatUrl: z.ZodOptional<z.ZodString>;
1388
+ }, "strip", z.ZodTypeAny, {
1389
+ modelName: string;
1390
+ apiKey: string;
1391
+ completeChatUrl?: string | undefined;
1392
+ streamChatUrl?: string | undefined;
1393
+ }, {
1394
+ modelName: string;
1395
+ apiKey: string;
1396
+ completeChatUrl?: string | undefined;
1397
+ streamChatUrl?: string | undefined;
1398
+ }>;
1399
+ type ClaudeSonnet4_6OptionsType = z.infer<typeof ClaudeSonnet4_6Options>;
1400
+ declare class ClaudeSonnet4_6 extends BaseChatModel {
1401
+ constructor(options: ClaudeSonnet4_6OptionsType);
1402
+ }
1403
+
1404
+ declare const ClaudeHaiku4_520251001Literal = "claude-haiku-4-5-20251001";
1405
+ declare const ClaudeHaiku4_520251001Schema: {
1406
+ description: string;
1407
+ name: string;
1408
+ roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
1409
+ modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
1410
+ maxInputTokens: number;
1411
+ maxOutputTokens: number;
1412
+ config: {
1413
+ def: Record<string, {
1414
+ type: "multi-string";
1415
+ param: string;
1416
+ title: string;
1417
+ description: string;
1418
+ max: number;
1419
+ } | {
1420
+ type: "object-schema";
1421
+ param: string;
1422
+ title: string;
1423
+ description: string;
1424
+ objectSchema?: any;
1425
+ } | {
1426
+ type: "paired-select";
1427
+ param: string;
1428
+ title: string;
1429
+ description: string;
1430
+ fields: [{
1431
+ label: string;
1432
+ key: string;
1433
+ choices: {
1434
+ value: string;
1435
+ label: string;
1436
+ }[];
1437
+ description?: string | undefined;
1438
+ }, {
1439
+ label: string;
1440
+ key: string;
1441
+ choices: {
1442
+ value: string;
1443
+ label: string;
1444
+ }[];
1445
+ description?: string | undefined;
1446
+ }];
1447
+ uniqueByField?: string | undefined;
1448
+ } | {
1449
+ type: "range";
1450
+ param: string;
1451
+ title: string;
1452
+ description: string;
1453
+ max: number;
1454
+ default: number;
1455
+ min: number;
1456
+ step: number;
1457
+ } | {
1458
+ type: "select-boolean";
1459
+ param: string;
1460
+ title: string;
1461
+ description: string;
1462
+ default: boolean | null;
1463
+ } | {
1464
+ type: "select-string";
1465
+ param: string;
1466
+ title: string;
1467
+ description: string;
1468
+ default: string;
1469
+ choices: string[];
1470
+ }>;
1471
+ schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
1472
+ };
1473
+ price: {
1474
+ modelName: string;
1475
+ currency: string;
1476
+ tokenRanges: {
1477
+ minTokens: number;
1478
+ prices: {
1479
+ base: {
1480
+ inputPricePerMillion: number;
1481
+ outputPricePerMillion: number;
1482
+ };
1483
+ };
1484
+ maxTokens?: number | null | undefined;
1485
+ }[];
1486
+ };
1487
+ maxReasoningTokens?: number | undefined;
1488
+ };
1489
+ declare const ClaudeHaiku4_520251001Options: z.ZodObject<{
1490
+ modelName: z.ZodString;
1491
+ apiKey: z.ZodString;
1492
+ completeChatUrl: z.ZodOptional<z.ZodString>;
1493
+ streamChatUrl: z.ZodOptional<z.ZodString>;
1494
+ }, "strip", z.ZodTypeAny, {
1495
+ modelName: string;
1496
+ apiKey: string;
1497
+ completeChatUrl?: string | undefined;
1498
+ streamChatUrl?: string | undefined;
1499
+ }, {
1500
+ modelName: string;
1501
+ apiKey: string;
1502
+ completeChatUrl?: string | undefined;
1503
+ streamChatUrl?: string | undefined;
1504
+ }>;
1505
+ type ClaudeHaiku4_520251001OptionsType = z.infer<typeof ClaudeHaiku4_520251001Options>;
1506
+ declare class ClaudeHaiku4_520251001 extends BaseChatModel {
1507
+ constructor(options: ClaudeHaiku4_520251001OptionsType);
1508
+ }
1509
+
1298
1510
  declare const Claude3_5Sonnet20240620Literal = "claude-3-5-sonnet-20240620";
1299
1511
  declare const Claude3_5Sonnet20240620Schema: {
1300
1512
  description: string;
@@ -4772,4 +4984,4 @@ declare class Anthropic<C extends BaseChatModelOptionsType, E extends BaseEmbedd
4772
4984
  embeddingModel(options: E): EmbeddingModelV1;
4773
4985
  }
4774
4986
 
4775
- 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, ClaudeOpus4_520251101, ClaudeOpus4_520251101Literal, ClaudeOpus4_520251101Options, type ClaudeOpus4_520251101OptionsType, ClaudeOpus4_520251101Schema, ClaudeOpus4_6, ClaudeOpus4_6Literal, ClaudeOpus4_6Options, type ClaudeOpus4_6OptionsType, ClaudeOpus4_6Schema, ClaudeSonnet4_520250929, ClaudeSonnet4_520250929Literal, ClaudeSonnet4_520250929Options, type ClaudeSonnet4_520250929OptionsType, ClaudeSonnet4_520250929Schema, 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 };
4987
+ 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, 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 };
package/dist/index.d.ts CHANGED
@@ -1295,6 +1295,218 @@ declare class ClaudeSonnet4_520250929 extends BaseChatModel {
1295
1295
  constructor(options: ClaudeSonnet4_520250929OptionsType);
1296
1296
  }
1297
1297
 
1298
+ declare const ClaudeSonnet4_6Literal = "claude-sonnet-4-6";
1299
+ declare const ClaudeSonnet4_6Schema: {
1300
+ description: string;
1301
+ name: string;
1302
+ roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
1303
+ modalities: ["text" | "image" | "tool-call" | "tool-response" | "reasoning", ...("text" | "image" | "tool-call" | "tool-response" | "reasoning")[]];
1304
+ maxInputTokens: number;
1305
+ maxOutputTokens: number;
1306
+ config: {
1307
+ def: Record<string, {
1308
+ type: "multi-string";
1309
+ param: string;
1310
+ title: string;
1311
+ description: string;
1312
+ max: number;
1313
+ } | {
1314
+ type: "object-schema";
1315
+ param: string;
1316
+ title: string;
1317
+ description: string;
1318
+ objectSchema?: any;
1319
+ } | {
1320
+ type: "paired-select";
1321
+ param: string;
1322
+ title: string;
1323
+ description: string;
1324
+ fields: [{
1325
+ label: string;
1326
+ key: string;
1327
+ choices: {
1328
+ value: string;
1329
+ label: string;
1330
+ }[];
1331
+ description?: string | undefined;
1332
+ }, {
1333
+ label: string;
1334
+ key: string;
1335
+ choices: {
1336
+ value: string;
1337
+ label: string;
1338
+ }[];
1339
+ description?: string | undefined;
1340
+ }];
1341
+ uniqueByField?: string | undefined;
1342
+ } | {
1343
+ type: "range";
1344
+ param: string;
1345
+ title: string;
1346
+ description: string;
1347
+ max: number;
1348
+ default: number;
1349
+ min: number;
1350
+ step: number;
1351
+ } | {
1352
+ type: "select-boolean";
1353
+ param: string;
1354
+ title: string;
1355
+ description: string;
1356
+ default: boolean | null;
1357
+ } | {
1358
+ type: "select-string";
1359
+ param: string;
1360
+ title: string;
1361
+ description: string;
1362
+ default: string;
1363
+ choices: string[];
1364
+ }>;
1365
+ schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
1366
+ };
1367
+ price: {
1368
+ modelName: string;
1369
+ currency: string;
1370
+ tokenRanges: {
1371
+ minTokens: number;
1372
+ prices: {
1373
+ base: {
1374
+ inputPricePerMillion: number;
1375
+ outputPricePerMillion: number;
1376
+ };
1377
+ };
1378
+ maxTokens?: number | null | undefined;
1379
+ }[];
1380
+ };
1381
+ maxReasoningTokens?: number | undefined;
1382
+ };
1383
+ declare const ClaudeSonnet4_6Options: z.ZodObject<{
1384
+ modelName: z.ZodString;
1385
+ apiKey: z.ZodString;
1386
+ completeChatUrl: z.ZodOptional<z.ZodString>;
1387
+ streamChatUrl: z.ZodOptional<z.ZodString>;
1388
+ }, "strip", z.ZodTypeAny, {
1389
+ modelName: string;
1390
+ apiKey: string;
1391
+ completeChatUrl?: string | undefined;
1392
+ streamChatUrl?: string | undefined;
1393
+ }, {
1394
+ modelName: string;
1395
+ apiKey: string;
1396
+ completeChatUrl?: string | undefined;
1397
+ streamChatUrl?: string | undefined;
1398
+ }>;
1399
+ type ClaudeSonnet4_6OptionsType = z.infer<typeof ClaudeSonnet4_6Options>;
1400
+ declare class ClaudeSonnet4_6 extends BaseChatModel {
1401
+ constructor(options: ClaudeSonnet4_6OptionsType);
1402
+ }
1403
+
1404
+ declare const ClaudeHaiku4_520251001Literal = "claude-haiku-4-5-20251001";
1405
+ declare const ClaudeHaiku4_520251001Schema: {
1406
+ description: string;
1407
+ name: string;
1408
+ roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
1409
+ modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
1410
+ maxInputTokens: number;
1411
+ maxOutputTokens: number;
1412
+ config: {
1413
+ def: Record<string, {
1414
+ type: "multi-string";
1415
+ param: string;
1416
+ title: string;
1417
+ description: string;
1418
+ max: number;
1419
+ } | {
1420
+ type: "object-schema";
1421
+ param: string;
1422
+ title: string;
1423
+ description: string;
1424
+ objectSchema?: any;
1425
+ } | {
1426
+ type: "paired-select";
1427
+ param: string;
1428
+ title: string;
1429
+ description: string;
1430
+ fields: [{
1431
+ label: string;
1432
+ key: string;
1433
+ choices: {
1434
+ value: string;
1435
+ label: string;
1436
+ }[];
1437
+ description?: string | undefined;
1438
+ }, {
1439
+ label: string;
1440
+ key: string;
1441
+ choices: {
1442
+ value: string;
1443
+ label: string;
1444
+ }[];
1445
+ description?: string | undefined;
1446
+ }];
1447
+ uniqueByField?: string | undefined;
1448
+ } | {
1449
+ type: "range";
1450
+ param: string;
1451
+ title: string;
1452
+ description: string;
1453
+ max: number;
1454
+ default: number;
1455
+ min: number;
1456
+ step: number;
1457
+ } | {
1458
+ type: "select-boolean";
1459
+ param: string;
1460
+ title: string;
1461
+ description: string;
1462
+ default: boolean | null;
1463
+ } | {
1464
+ type: "select-string";
1465
+ param: string;
1466
+ title: string;
1467
+ description: string;
1468
+ default: string;
1469
+ choices: string[];
1470
+ }>;
1471
+ schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
1472
+ };
1473
+ price: {
1474
+ modelName: string;
1475
+ currency: string;
1476
+ tokenRanges: {
1477
+ minTokens: number;
1478
+ prices: {
1479
+ base: {
1480
+ inputPricePerMillion: number;
1481
+ outputPricePerMillion: number;
1482
+ };
1483
+ };
1484
+ maxTokens?: number | null | undefined;
1485
+ }[];
1486
+ };
1487
+ maxReasoningTokens?: number | undefined;
1488
+ };
1489
+ declare const ClaudeHaiku4_520251001Options: z.ZodObject<{
1490
+ modelName: z.ZodString;
1491
+ apiKey: z.ZodString;
1492
+ completeChatUrl: z.ZodOptional<z.ZodString>;
1493
+ streamChatUrl: z.ZodOptional<z.ZodString>;
1494
+ }, "strip", z.ZodTypeAny, {
1495
+ modelName: string;
1496
+ apiKey: string;
1497
+ completeChatUrl?: string | undefined;
1498
+ streamChatUrl?: string | undefined;
1499
+ }, {
1500
+ modelName: string;
1501
+ apiKey: string;
1502
+ completeChatUrl?: string | undefined;
1503
+ streamChatUrl?: string | undefined;
1504
+ }>;
1505
+ type ClaudeHaiku4_520251001OptionsType = z.infer<typeof ClaudeHaiku4_520251001Options>;
1506
+ declare class ClaudeHaiku4_520251001 extends BaseChatModel {
1507
+ constructor(options: ClaudeHaiku4_520251001OptionsType);
1508
+ }
1509
+
1298
1510
  declare const Claude3_5Sonnet20240620Literal = "claude-3-5-sonnet-20240620";
1299
1511
  declare const Claude3_5Sonnet20240620Schema: {
1300
1512
  description: string;
@@ -4772,4 +4984,4 @@ declare class Anthropic<C extends BaseChatModelOptionsType, E extends BaseEmbedd
4772
4984
  embeddingModel(options: E): EmbeddingModelV1;
4773
4985
  }
4774
4986
 
4775
- 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, ClaudeOpus4_520251101, ClaudeOpus4_520251101Literal, ClaudeOpus4_520251101Options, type ClaudeOpus4_520251101OptionsType, ClaudeOpus4_520251101Schema, ClaudeOpus4_6, ClaudeOpus4_6Literal, ClaudeOpus4_6Options, type ClaudeOpus4_6OptionsType, ClaudeOpus4_6Schema, ClaudeSonnet4_520250929, ClaudeSonnet4_520250929Literal, ClaudeSonnet4_520250929Options, type ClaudeSonnet4_520250929OptionsType, ClaudeSonnet4_520250929Schema, 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 };
4987
+ 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, 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 };