@adaline/anthropic 1.6.0 → 1.7.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 +460 -7
- package/dist/index.d.ts +460 -7
- package/dist/index.js +131 -121
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -11
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -10,20 +10,34 @@ declare const ChatModelBaseConfigSchema: (maxOutputTokens: number, maxSequences:
|
|
|
10
10
|
topP: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
11
11
|
topK: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
12
12
|
toolChoice: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEnum<[string, ...string[]]>>>>;
|
|
13
|
+
mcp: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodBoolean>>>;
|
|
14
|
+
mcpServers: z.ZodOptional<z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
15
|
+
[x: string]: any;
|
|
16
|
+
}, {
|
|
17
|
+
[x: string]: any;
|
|
18
|
+
}>>;
|
|
13
19
|
}, "strip", z.ZodTypeAny, {
|
|
14
20
|
temperature?: number | undefined;
|
|
21
|
+
mcp?: boolean | null | undefined;
|
|
15
22
|
maxTokens?: number | undefined;
|
|
16
23
|
stop?: string[] | undefined;
|
|
17
24
|
topP?: number | undefined;
|
|
18
25
|
topK?: number | undefined;
|
|
19
26
|
toolChoice?: string | null | undefined;
|
|
27
|
+
mcpServers?: {
|
|
28
|
+
[x: string]: any;
|
|
29
|
+
} | undefined;
|
|
20
30
|
}, {
|
|
21
31
|
temperature?: number | undefined;
|
|
32
|
+
mcp?: boolean | null | undefined;
|
|
22
33
|
maxTokens?: number | undefined;
|
|
23
34
|
stop?: string[] | undefined;
|
|
24
35
|
topP?: number | undefined;
|
|
25
36
|
topK?: number | undefined;
|
|
26
37
|
toolChoice?: string | null | undefined;
|
|
38
|
+
mcpServers?: {
|
|
39
|
+
[x: string]: any;
|
|
40
|
+
} | undefined;
|
|
27
41
|
}>;
|
|
28
42
|
declare const ChatModelBaseConfigDef: (maxOutputTokens: number, maxSequences: number) => {
|
|
29
43
|
readonly temperature: {
|
|
@@ -81,6 +95,20 @@ declare const ChatModelBaseConfigDef: (maxOutputTokens: number, maxSequences: nu
|
|
|
81
95
|
default: string;
|
|
82
96
|
choices: string[];
|
|
83
97
|
};
|
|
98
|
+
readonly mcp: {
|
|
99
|
+
type: "select-boolean";
|
|
100
|
+
param: string;
|
|
101
|
+
title: string;
|
|
102
|
+
description: string;
|
|
103
|
+
default: boolean | null;
|
|
104
|
+
};
|
|
105
|
+
readonly mcpServers: {
|
|
106
|
+
type: "object-schema";
|
|
107
|
+
param: string;
|
|
108
|
+
title: string;
|
|
109
|
+
description: string;
|
|
110
|
+
objectSchema?: any;
|
|
111
|
+
};
|
|
84
112
|
};
|
|
85
113
|
|
|
86
114
|
declare const temperature: {
|
|
@@ -94,7 +122,7 @@ declare const temperature: {
|
|
|
94
122
|
min: number;
|
|
95
123
|
step: number;
|
|
96
124
|
};
|
|
97
|
-
schema:
|
|
125
|
+
schema: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
98
126
|
};
|
|
99
127
|
declare const maxTokens: (maxOutputTokens: number) => {
|
|
100
128
|
def: {
|
|
@@ -107,7 +135,7 @@ declare const maxTokens: (maxOutputTokens: number) => {
|
|
|
107
135
|
min: number;
|
|
108
136
|
step: number;
|
|
109
137
|
};
|
|
110
|
-
schema:
|
|
138
|
+
schema: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
111
139
|
};
|
|
112
140
|
declare const stop: (maxSequences: number) => {
|
|
113
141
|
def: {
|
|
@@ -117,7 +145,7 @@ declare const stop: (maxSequences: number) => {
|
|
|
117
145
|
description: string;
|
|
118
146
|
max: number;
|
|
119
147
|
};
|
|
120
|
-
schema:
|
|
148
|
+
schema: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
121
149
|
};
|
|
122
150
|
declare const topP: {
|
|
123
151
|
def: {
|
|
@@ -130,7 +158,7 @@ declare const topP: {
|
|
|
130
158
|
min: number;
|
|
131
159
|
step: number;
|
|
132
160
|
};
|
|
133
|
-
schema:
|
|
161
|
+
schema: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
134
162
|
};
|
|
135
163
|
declare const topK: {
|
|
136
164
|
def: {
|
|
@@ -143,7 +171,7 @@ declare const topK: {
|
|
|
143
171
|
min: number;
|
|
144
172
|
step: number;
|
|
145
173
|
};
|
|
146
|
-
schema:
|
|
174
|
+
schema: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
147
175
|
};
|
|
148
176
|
declare const toolChoice: {
|
|
149
177
|
def: {
|
|
@@ -154,7 +182,31 @@ declare const toolChoice: {
|
|
|
154
182
|
default: string;
|
|
155
183
|
choices: string[];
|
|
156
184
|
};
|
|
157
|
-
schema:
|
|
185
|
+
schema: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEnum<[string, ...string[]]>>>>;
|
|
186
|
+
};
|
|
187
|
+
declare const mcp: {
|
|
188
|
+
def: {
|
|
189
|
+
type: "select-boolean";
|
|
190
|
+
param: string;
|
|
191
|
+
title: string;
|
|
192
|
+
description: string;
|
|
193
|
+
default: boolean | null;
|
|
194
|
+
};
|
|
195
|
+
schema: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodBoolean>>>;
|
|
196
|
+
};
|
|
197
|
+
declare const mcpServers: {
|
|
198
|
+
def: {
|
|
199
|
+
type: "object-schema";
|
|
200
|
+
param: string;
|
|
201
|
+
title: string;
|
|
202
|
+
description: string;
|
|
203
|
+
objectSchema?: any;
|
|
204
|
+
};
|
|
205
|
+
schema: z.ZodOptional<z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
206
|
+
[x: string]: any;
|
|
207
|
+
}, {
|
|
208
|
+
[x: string]: any;
|
|
209
|
+
}>>;
|
|
158
210
|
};
|
|
159
211
|
|
|
160
212
|
declare const ChatModelReasoningConfigDef: (maxOutputTokens: number, maxSequences: number, minReasoningToken: number, maxReasoningToken: number) => {
|
|
@@ -230,6 +282,20 @@ declare const ChatModelReasoningConfigDef: (maxOutputTokens: number, maxSequence
|
|
|
230
282
|
default: string;
|
|
231
283
|
choices: string[];
|
|
232
284
|
};
|
|
285
|
+
mcp: {
|
|
286
|
+
type: "select-boolean";
|
|
287
|
+
param: string;
|
|
288
|
+
title: string;
|
|
289
|
+
description: string;
|
|
290
|
+
default: boolean | null;
|
|
291
|
+
};
|
|
292
|
+
mcpServers: {
|
|
293
|
+
type: "object-schema";
|
|
294
|
+
param: string;
|
|
295
|
+
title: string;
|
|
296
|
+
description: string;
|
|
297
|
+
objectSchema?: any;
|
|
298
|
+
};
|
|
233
299
|
};
|
|
234
300
|
declare const ChatModelReasoningConfigSchema: (maxOutputTokens: number, maxSequences: number, minReasoningToken: number, maxReasoningToken: number) => zod.ZodObject<zod.objectUtil.extendShape<{
|
|
235
301
|
temperature: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
|
|
@@ -238,25 +304,39 @@ declare const ChatModelReasoningConfigSchema: (maxOutputTokens: number, maxSeque
|
|
|
238
304
|
topP: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
|
|
239
305
|
topK: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
|
|
240
306
|
toolChoice: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
|
|
307
|
+
mcp: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
|
|
308
|
+
mcpServers: zod.ZodOptional<zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
|
|
309
|
+
[x: string]: any;
|
|
310
|
+
}, {
|
|
311
|
+
[x: string]: any;
|
|
312
|
+
}>>;
|
|
241
313
|
}, {
|
|
242
314
|
reasoningEnabled: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
|
|
243
315
|
maxReasoningTokens: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
|
|
244
316
|
}>, "strip", zod.ZodTypeAny, {
|
|
245
317
|
temperature?: number | undefined;
|
|
318
|
+
mcp?: boolean | null | undefined;
|
|
246
319
|
maxTokens?: number | undefined;
|
|
247
320
|
stop?: string[] | undefined;
|
|
248
321
|
topP?: number | undefined;
|
|
249
322
|
topK?: number | undefined;
|
|
250
323
|
toolChoice?: string | null | undefined;
|
|
324
|
+
mcpServers?: {
|
|
325
|
+
[x: string]: any;
|
|
326
|
+
} | undefined;
|
|
251
327
|
reasoningEnabled?: boolean | null | undefined;
|
|
252
328
|
maxReasoningTokens?: number | undefined;
|
|
253
329
|
}, {
|
|
254
330
|
temperature?: number | undefined;
|
|
331
|
+
mcp?: boolean | null | undefined;
|
|
255
332
|
maxTokens?: number | undefined;
|
|
256
333
|
stop?: string[] | undefined;
|
|
257
334
|
topP?: number | undefined;
|
|
258
335
|
topK?: number | undefined;
|
|
259
336
|
toolChoice?: string | null | undefined;
|
|
337
|
+
mcpServers?: {
|
|
338
|
+
[x: string]: any;
|
|
339
|
+
} | undefined;
|
|
260
340
|
reasoningEnabled?: boolean | null | undefined;
|
|
261
341
|
maxReasoningTokens?: number | undefined;
|
|
262
342
|
}>;
|
|
@@ -319,6 +399,20 @@ declare const AnthropicChatModelConfigs: {
|
|
|
319
399
|
default: string;
|
|
320
400
|
choices: string[];
|
|
321
401
|
};
|
|
402
|
+
readonly mcp: {
|
|
403
|
+
type: "select-boolean";
|
|
404
|
+
param: string;
|
|
405
|
+
title: string;
|
|
406
|
+
description: string;
|
|
407
|
+
default: boolean | null;
|
|
408
|
+
};
|
|
409
|
+
readonly mcpServers: {
|
|
410
|
+
type: "object-schema";
|
|
411
|
+
param: string;
|
|
412
|
+
title: string;
|
|
413
|
+
description: string;
|
|
414
|
+
objectSchema?: any;
|
|
415
|
+
};
|
|
322
416
|
};
|
|
323
417
|
schema: zod.ZodObject<{
|
|
324
418
|
temperature: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
|
|
@@ -327,20 +421,34 @@ declare const AnthropicChatModelConfigs: {
|
|
|
327
421
|
topP: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
|
|
328
422
|
topK: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
|
|
329
423
|
toolChoice: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
|
|
424
|
+
mcp: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
|
|
425
|
+
mcpServers: zod.ZodOptional<zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
|
|
426
|
+
[x: string]: any;
|
|
427
|
+
}, {
|
|
428
|
+
[x: string]: any;
|
|
429
|
+
}>>;
|
|
330
430
|
}, "strip", zod.ZodTypeAny, {
|
|
331
431
|
temperature?: number | undefined;
|
|
432
|
+
mcp?: boolean | null | undefined;
|
|
332
433
|
maxTokens?: number | undefined;
|
|
333
434
|
stop?: string[] | undefined;
|
|
334
435
|
topP?: number | undefined;
|
|
335
436
|
topK?: number | undefined;
|
|
336
437
|
toolChoice?: string | null | undefined;
|
|
438
|
+
mcpServers?: {
|
|
439
|
+
[x: string]: any;
|
|
440
|
+
} | undefined;
|
|
337
441
|
}, {
|
|
338
442
|
temperature?: number | undefined;
|
|
443
|
+
mcp?: boolean | null | undefined;
|
|
339
444
|
maxTokens?: number | undefined;
|
|
340
445
|
stop?: string[] | undefined;
|
|
341
446
|
topP?: number | undefined;
|
|
342
447
|
topK?: number | undefined;
|
|
343
448
|
toolChoice?: string | null | undefined;
|
|
449
|
+
mcpServers?: {
|
|
450
|
+
[x: string]: any;
|
|
451
|
+
} | undefined;
|
|
344
452
|
}>;
|
|
345
453
|
};
|
|
346
454
|
readonly extendedThinking: (maxOutputTokens: number, maxSequences: number, minReasoningToken: number, maxReasoningTokens: number) => {
|
|
@@ -417,6 +525,20 @@ declare const AnthropicChatModelConfigs: {
|
|
|
417
525
|
default: string;
|
|
418
526
|
choices: string[];
|
|
419
527
|
};
|
|
528
|
+
mcp: {
|
|
529
|
+
type: "select-boolean";
|
|
530
|
+
param: string;
|
|
531
|
+
title: string;
|
|
532
|
+
description: string;
|
|
533
|
+
default: boolean | null;
|
|
534
|
+
};
|
|
535
|
+
mcpServers: {
|
|
536
|
+
type: "object-schema";
|
|
537
|
+
param: string;
|
|
538
|
+
title: string;
|
|
539
|
+
description: string;
|
|
540
|
+
objectSchema?: any;
|
|
541
|
+
};
|
|
420
542
|
};
|
|
421
543
|
schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
422
544
|
temperature: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
|
|
@@ -425,25 +547,39 @@ declare const AnthropicChatModelConfigs: {
|
|
|
425
547
|
topP: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
|
|
426
548
|
topK: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
|
|
427
549
|
toolChoice: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
|
|
550
|
+
mcp: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
|
|
551
|
+
mcpServers: zod.ZodOptional<zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
|
|
552
|
+
[x: string]: any;
|
|
553
|
+
}, {
|
|
554
|
+
[x: string]: any;
|
|
555
|
+
}>>;
|
|
428
556
|
}, {
|
|
429
557
|
reasoningEnabled: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
|
|
430
558
|
maxReasoningTokens: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
|
|
431
559
|
}>, "strip", zod.ZodTypeAny, {
|
|
432
560
|
temperature?: number | undefined;
|
|
561
|
+
mcp?: boolean | null | undefined;
|
|
433
562
|
maxTokens?: number | undefined;
|
|
434
563
|
stop?: string[] | undefined;
|
|
435
564
|
topP?: number | undefined;
|
|
436
565
|
topK?: number | undefined;
|
|
437
566
|
toolChoice?: string | null | undefined;
|
|
567
|
+
mcpServers?: {
|
|
568
|
+
[x: string]: any;
|
|
569
|
+
} | undefined;
|
|
438
570
|
reasoningEnabled?: boolean | null | undefined;
|
|
439
571
|
maxReasoningTokens?: number | undefined;
|
|
440
572
|
}, {
|
|
441
573
|
temperature?: number | undefined;
|
|
574
|
+
mcp?: boolean | null | undefined;
|
|
442
575
|
maxTokens?: number | undefined;
|
|
443
576
|
stop?: string[] | undefined;
|
|
444
577
|
topP?: number | undefined;
|
|
445
578
|
topK?: number | undefined;
|
|
446
579
|
toolChoice?: string | null | undefined;
|
|
580
|
+
mcpServers?: {
|
|
581
|
+
[x: string]: any;
|
|
582
|
+
} | undefined;
|
|
447
583
|
reasoningEnabled?: boolean | null | undefined;
|
|
448
584
|
maxReasoningTokens?: number | undefined;
|
|
449
585
|
}>;
|
|
@@ -1390,6 +1526,41 @@ declare const AnthropicChatModelModalitiesEnum: z.ZodEnum<["text", "image", "too
|
|
|
1390
1526
|
declare const AnthropicThinkingChatModelModalities: ChatModelSchemaType["modalities"];
|
|
1391
1527
|
declare const AnthropicThinkingChatModelModalitiesEnum: z.ZodEnum<["text", "image", "tool-call", "tool-response", "reasoning"]>;
|
|
1392
1528
|
|
|
1529
|
+
declare const AnthropicCompleteChatMcpToolUseResponse: z.ZodObject<{
|
|
1530
|
+
type: z.ZodLiteral<"mcp_tool_use">;
|
|
1531
|
+
id: z.ZodString;
|
|
1532
|
+
name: z.ZodString;
|
|
1533
|
+
server_name: z.ZodString;
|
|
1534
|
+
input: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
1535
|
+
}, "strip", z.ZodTypeAny, {
|
|
1536
|
+
type: "mcp_tool_use";
|
|
1537
|
+
name: string;
|
|
1538
|
+
id: string;
|
|
1539
|
+
input: Record<string, any>;
|
|
1540
|
+
server_name: string;
|
|
1541
|
+
}, {
|
|
1542
|
+
type: "mcp_tool_use";
|
|
1543
|
+
name: string;
|
|
1544
|
+
id: string;
|
|
1545
|
+
input: Record<string, any>;
|
|
1546
|
+
server_name: string;
|
|
1547
|
+
}>;
|
|
1548
|
+
declare const AnthropicCompleteChatMcpToolResultResponse: z.ZodObject<{
|
|
1549
|
+
type: z.ZodLiteral<"mcp_tool_result">;
|
|
1550
|
+
tool_use_id: z.ZodString;
|
|
1551
|
+
is_error: z.ZodBoolean;
|
|
1552
|
+
content: z.ZodArray<z.ZodAny, "many">;
|
|
1553
|
+
}, "strip", z.ZodTypeAny, {
|
|
1554
|
+
type: "mcp_tool_result";
|
|
1555
|
+
content: any[];
|
|
1556
|
+
tool_use_id: string;
|
|
1557
|
+
is_error: boolean;
|
|
1558
|
+
}, {
|
|
1559
|
+
type: "mcp_tool_result";
|
|
1560
|
+
content: any[];
|
|
1561
|
+
tool_use_id: string;
|
|
1562
|
+
is_error: boolean;
|
|
1563
|
+
}>;
|
|
1393
1564
|
declare const AnthropicCompleteChatResponse: z.ZodObject<{
|
|
1394
1565
|
content: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1395
1566
|
type: z.ZodLiteral<"text">;
|
|
@@ -1436,6 +1607,39 @@ declare const AnthropicCompleteChatResponse: z.ZodObject<{
|
|
|
1436
1607
|
}, {
|
|
1437
1608
|
type: "redacted_thinking";
|
|
1438
1609
|
data: string;
|
|
1610
|
+
}>, z.ZodObject<{
|
|
1611
|
+
type: z.ZodLiteral<"mcp_tool_use">;
|
|
1612
|
+
id: z.ZodString;
|
|
1613
|
+
name: z.ZodString;
|
|
1614
|
+
server_name: z.ZodString;
|
|
1615
|
+
input: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
1616
|
+
}, "strip", z.ZodTypeAny, {
|
|
1617
|
+
type: "mcp_tool_use";
|
|
1618
|
+
name: string;
|
|
1619
|
+
id: string;
|
|
1620
|
+
input: Record<string, any>;
|
|
1621
|
+
server_name: string;
|
|
1622
|
+
}, {
|
|
1623
|
+
type: "mcp_tool_use";
|
|
1624
|
+
name: string;
|
|
1625
|
+
id: string;
|
|
1626
|
+
input: Record<string, any>;
|
|
1627
|
+
server_name: string;
|
|
1628
|
+
}>, z.ZodObject<{
|
|
1629
|
+
type: z.ZodLiteral<"mcp_tool_result">;
|
|
1630
|
+
tool_use_id: z.ZodString;
|
|
1631
|
+
is_error: z.ZodBoolean;
|
|
1632
|
+
content: z.ZodArray<z.ZodAny, "many">;
|
|
1633
|
+
}, "strip", z.ZodTypeAny, {
|
|
1634
|
+
type: "mcp_tool_result";
|
|
1635
|
+
content: any[];
|
|
1636
|
+
tool_use_id: string;
|
|
1637
|
+
is_error: boolean;
|
|
1638
|
+
}, {
|
|
1639
|
+
type: "mcp_tool_result";
|
|
1640
|
+
content: any[];
|
|
1641
|
+
tool_use_id: string;
|
|
1642
|
+
is_error: boolean;
|
|
1439
1643
|
}>]>, "many">;
|
|
1440
1644
|
id: z.ZodString;
|
|
1441
1645
|
model: z.ZodString;
|
|
@@ -1477,6 +1681,17 @@ declare const AnthropicCompleteChatResponse: z.ZodObject<{
|
|
|
1477
1681
|
} | {
|
|
1478
1682
|
type: "redacted_thinking";
|
|
1479
1683
|
data: string;
|
|
1684
|
+
} | {
|
|
1685
|
+
type: "mcp_tool_use";
|
|
1686
|
+
name: string;
|
|
1687
|
+
id: string;
|
|
1688
|
+
input: Record<string, any>;
|
|
1689
|
+
server_name: string;
|
|
1690
|
+
} | {
|
|
1691
|
+
type: "mcp_tool_result";
|
|
1692
|
+
content: any[];
|
|
1693
|
+
tool_use_id: string;
|
|
1694
|
+
is_error: boolean;
|
|
1480
1695
|
})[];
|
|
1481
1696
|
id: string;
|
|
1482
1697
|
model: string;
|
|
@@ -1506,6 +1721,17 @@ declare const AnthropicCompleteChatResponse: z.ZodObject<{
|
|
|
1506
1721
|
} | {
|
|
1507
1722
|
type: "redacted_thinking";
|
|
1508
1723
|
data: string;
|
|
1724
|
+
} | {
|
|
1725
|
+
type: "mcp_tool_use";
|
|
1726
|
+
name: string;
|
|
1727
|
+
id: string;
|
|
1728
|
+
input: Record<string, any>;
|
|
1729
|
+
server_name: string;
|
|
1730
|
+
} | {
|
|
1731
|
+
type: "mcp_tool_result";
|
|
1732
|
+
content: any[];
|
|
1733
|
+
tool_use_id: string;
|
|
1734
|
+
is_error: boolean;
|
|
1509
1735
|
})[];
|
|
1510
1736
|
id: string;
|
|
1511
1737
|
model: string;
|
|
@@ -1633,6 +1859,41 @@ declare const AnthropicStreamChatMessageDeltaResponse: z.ZodObject<{
|
|
|
1633
1859
|
stop_sequence: string | null;
|
|
1634
1860
|
};
|
|
1635
1861
|
}>;
|
|
1862
|
+
declare const AnthropicStreamChatContentBlockStartMcpToolUseResponse: z.ZodObject<{
|
|
1863
|
+
type: z.ZodLiteral<"mcp_tool_use">;
|
|
1864
|
+
id: z.ZodString;
|
|
1865
|
+
name: z.ZodString;
|
|
1866
|
+
server_name: z.ZodString;
|
|
1867
|
+
input: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
1868
|
+
}, "strip", z.ZodTypeAny, {
|
|
1869
|
+
type: "mcp_tool_use";
|
|
1870
|
+
name: string;
|
|
1871
|
+
id: string;
|
|
1872
|
+
input: Record<string, any>;
|
|
1873
|
+
server_name: string;
|
|
1874
|
+
}, {
|
|
1875
|
+
type: "mcp_tool_use";
|
|
1876
|
+
name: string;
|
|
1877
|
+
id: string;
|
|
1878
|
+
input: Record<string, any>;
|
|
1879
|
+
server_name: string;
|
|
1880
|
+
}>;
|
|
1881
|
+
declare const AnthropicStreamChatContentBlockStartMcpToolResultResponse: z.ZodObject<{
|
|
1882
|
+
type: z.ZodLiteral<"mcp_tool_result">;
|
|
1883
|
+
tool_use_id: z.ZodString;
|
|
1884
|
+
is_error: z.ZodBoolean;
|
|
1885
|
+
content: z.ZodArray<z.ZodAny, "many">;
|
|
1886
|
+
}, "strip", z.ZodTypeAny, {
|
|
1887
|
+
type: "mcp_tool_result";
|
|
1888
|
+
content: any[];
|
|
1889
|
+
tool_use_id: string;
|
|
1890
|
+
is_error: boolean;
|
|
1891
|
+
}, {
|
|
1892
|
+
type: "mcp_tool_result";
|
|
1893
|
+
content: any[];
|
|
1894
|
+
tool_use_id: string;
|
|
1895
|
+
is_error: boolean;
|
|
1896
|
+
}>;
|
|
1636
1897
|
declare const AnthropicStreamChatContentBlockStartResponse: z.ZodObject<{
|
|
1637
1898
|
type: z.ZodLiteral<"content_block_start">;
|
|
1638
1899
|
index: z.ZodNumber;
|
|
@@ -1678,6 +1939,39 @@ declare const AnthropicStreamChatContentBlockStartResponse: z.ZodObject<{
|
|
|
1678
1939
|
}, {
|
|
1679
1940
|
type: "redacted_thinking";
|
|
1680
1941
|
data: string;
|
|
1942
|
+
}>, z.ZodObject<{
|
|
1943
|
+
type: z.ZodLiteral<"mcp_tool_use">;
|
|
1944
|
+
id: z.ZodString;
|
|
1945
|
+
name: z.ZodString;
|
|
1946
|
+
server_name: z.ZodString;
|
|
1947
|
+
input: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
1948
|
+
}, "strip", z.ZodTypeAny, {
|
|
1949
|
+
type: "mcp_tool_use";
|
|
1950
|
+
name: string;
|
|
1951
|
+
id: string;
|
|
1952
|
+
input: Record<string, any>;
|
|
1953
|
+
server_name: string;
|
|
1954
|
+
}, {
|
|
1955
|
+
type: "mcp_tool_use";
|
|
1956
|
+
name: string;
|
|
1957
|
+
id: string;
|
|
1958
|
+
input: Record<string, any>;
|
|
1959
|
+
server_name: string;
|
|
1960
|
+
}>, z.ZodObject<{
|
|
1961
|
+
type: z.ZodLiteral<"mcp_tool_result">;
|
|
1962
|
+
tool_use_id: z.ZodString;
|
|
1963
|
+
is_error: z.ZodBoolean;
|
|
1964
|
+
content: z.ZodArray<z.ZodAny, "many">;
|
|
1965
|
+
}, "strip", z.ZodTypeAny, {
|
|
1966
|
+
type: "mcp_tool_result";
|
|
1967
|
+
content: any[];
|
|
1968
|
+
tool_use_id: string;
|
|
1969
|
+
is_error: boolean;
|
|
1970
|
+
}, {
|
|
1971
|
+
type: "mcp_tool_result";
|
|
1972
|
+
content: any[];
|
|
1973
|
+
tool_use_id: string;
|
|
1974
|
+
is_error: boolean;
|
|
1681
1975
|
}>]>;
|
|
1682
1976
|
}, "strip", z.ZodTypeAny, {
|
|
1683
1977
|
type: "content_block_start";
|
|
@@ -1696,6 +1990,17 @@ declare const AnthropicStreamChatContentBlockStartResponse: z.ZodObject<{
|
|
|
1696
1990
|
} | {
|
|
1697
1991
|
type: "redacted_thinking";
|
|
1698
1992
|
data: string;
|
|
1993
|
+
} | {
|
|
1994
|
+
type: "mcp_tool_use";
|
|
1995
|
+
name: string;
|
|
1996
|
+
id: string;
|
|
1997
|
+
input: Record<string, any>;
|
|
1998
|
+
server_name: string;
|
|
1999
|
+
} | {
|
|
2000
|
+
type: "mcp_tool_result";
|
|
2001
|
+
content: any[];
|
|
2002
|
+
tool_use_id: string;
|
|
2003
|
+
is_error: boolean;
|
|
1699
2004
|
};
|
|
1700
2005
|
}, {
|
|
1701
2006
|
type: "content_block_start";
|
|
@@ -1714,6 +2019,17 @@ declare const AnthropicStreamChatContentBlockStartResponse: z.ZodObject<{
|
|
|
1714
2019
|
} | {
|
|
1715
2020
|
type: "redacted_thinking";
|
|
1716
2021
|
data: string;
|
|
2022
|
+
} | {
|
|
2023
|
+
type: "mcp_tool_use";
|
|
2024
|
+
name: string;
|
|
2025
|
+
id: string;
|
|
2026
|
+
input: Record<string, any>;
|
|
2027
|
+
server_name: string;
|
|
2028
|
+
} | {
|
|
2029
|
+
type: "mcp_tool_result";
|
|
2030
|
+
content: any[];
|
|
2031
|
+
tool_use_id: string;
|
|
2032
|
+
is_error: boolean;
|
|
1717
2033
|
};
|
|
1718
2034
|
}>;
|
|
1719
2035
|
declare const AnthropicStreamChatContentBlockDeltaResponse: z.ZodObject<{
|
|
@@ -1979,6 +2295,89 @@ declare const AnthropicRequestToolResponseContent: z.ZodObject<{
|
|
|
1979
2295
|
tool_use_id: string;
|
|
1980
2296
|
}>;
|
|
1981
2297
|
type AnthropicRequestToolResponseContentType = z.infer<typeof AnthropicRequestToolResponseContent>;
|
|
2298
|
+
declare const AnthropicRequestMcpToolUseContent: z.ZodObject<{
|
|
2299
|
+
type: z.ZodLiteral<"mcp_tool_use">;
|
|
2300
|
+
id: z.ZodString;
|
|
2301
|
+
name: z.ZodString;
|
|
2302
|
+
server_name: z.ZodString;
|
|
2303
|
+
input: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2304
|
+
}, "strip", z.ZodTypeAny, {
|
|
2305
|
+
type: "mcp_tool_use";
|
|
2306
|
+
name: string;
|
|
2307
|
+
id: string;
|
|
2308
|
+
input: Record<string, any>;
|
|
2309
|
+
server_name: string;
|
|
2310
|
+
}, {
|
|
2311
|
+
type: "mcp_tool_use";
|
|
2312
|
+
name: string;
|
|
2313
|
+
id: string;
|
|
2314
|
+
input: Record<string, any>;
|
|
2315
|
+
server_name: string;
|
|
2316
|
+
}>;
|
|
2317
|
+
type AnthropicRequestMcpToolUseContentType = z.infer<typeof AnthropicRequestMcpToolUseContent>;
|
|
2318
|
+
declare const AnthropicRequestMcpToolResultContent: z.ZodObject<{
|
|
2319
|
+
type: z.ZodLiteral<"mcp_tool_result">;
|
|
2320
|
+
tool_use_id: z.ZodString;
|
|
2321
|
+
is_error: z.ZodDefault<z.ZodBoolean>;
|
|
2322
|
+
content: z.ZodArray<z.ZodAny, "many">;
|
|
2323
|
+
}, "strip", z.ZodTypeAny, {
|
|
2324
|
+
type: "mcp_tool_result";
|
|
2325
|
+
content: any[];
|
|
2326
|
+
tool_use_id: string;
|
|
2327
|
+
is_error: boolean;
|
|
2328
|
+
}, {
|
|
2329
|
+
type: "mcp_tool_result";
|
|
2330
|
+
content: any[];
|
|
2331
|
+
tool_use_id: string;
|
|
2332
|
+
is_error?: boolean | undefined;
|
|
2333
|
+
}>;
|
|
2334
|
+
type AnthropicRequestMcpToolResultContentType = z.infer<typeof AnthropicRequestMcpToolResultContent>;
|
|
2335
|
+
declare const AnthropicRequestMcpServerToolConfiguration: z.ZodObject<{
|
|
2336
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2337
|
+
allowed_tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2338
|
+
}, "strip", z.ZodTypeAny, {
|
|
2339
|
+
enabled: boolean;
|
|
2340
|
+
allowed_tools?: string[] | undefined;
|
|
2341
|
+
}, {
|
|
2342
|
+
enabled?: boolean | undefined;
|
|
2343
|
+
allowed_tools?: string[] | undefined;
|
|
2344
|
+
}>;
|
|
2345
|
+
type AnthropicRequestMcpServerToolConfigurationType = z.infer<typeof AnthropicRequestMcpServerToolConfiguration>;
|
|
2346
|
+
declare const AnthropicRequestMcpServer: z.ZodObject<{
|
|
2347
|
+
type: z.ZodLiteral<"url">;
|
|
2348
|
+
url: z.ZodEffects<z.ZodString, string, string>;
|
|
2349
|
+
name: z.ZodString;
|
|
2350
|
+
tool_configuration: z.ZodOptional<z.ZodObject<{
|
|
2351
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2352
|
+
allowed_tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2353
|
+
}, "strip", z.ZodTypeAny, {
|
|
2354
|
+
enabled: boolean;
|
|
2355
|
+
allowed_tools?: string[] | undefined;
|
|
2356
|
+
}, {
|
|
2357
|
+
enabled?: boolean | undefined;
|
|
2358
|
+
allowed_tools?: string[] | undefined;
|
|
2359
|
+
}>>;
|
|
2360
|
+
authorization_token: z.ZodOptional<z.ZodString>;
|
|
2361
|
+
}, "strip", z.ZodTypeAny, {
|
|
2362
|
+
type: "url";
|
|
2363
|
+
name: string;
|
|
2364
|
+
url: string;
|
|
2365
|
+
tool_configuration?: {
|
|
2366
|
+
enabled: boolean;
|
|
2367
|
+
allowed_tools?: string[] | undefined;
|
|
2368
|
+
} | undefined;
|
|
2369
|
+
authorization_token?: string | undefined;
|
|
2370
|
+
}, {
|
|
2371
|
+
type: "url";
|
|
2372
|
+
name: string;
|
|
2373
|
+
url: string;
|
|
2374
|
+
tool_configuration?: {
|
|
2375
|
+
enabled?: boolean | undefined;
|
|
2376
|
+
allowed_tools?: string[] | undefined;
|
|
2377
|
+
} | undefined;
|
|
2378
|
+
authorization_token?: string | undefined;
|
|
2379
|
+
}>;
|
|
2380
|
+
type AnthropicRequestMcpServerType = z.infer<typeof AnthropicRequestMcpServer>;
|
|
1982
2381
|
declare const AnthropicRequestUserMessage: z.ZodObject<{
|
|
1983
2382
|
role: z.ZodLiteral<"user">;
|
|
1984
2383
|
content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
@@ -2989,6 +3388,40 @@ declare const AnthropicRequest: z.ZodObject<{
|
|
|
2989
3388
|
}>, "many">>;
|
|
2990
3389
|
top_p: z.ZodOptional<z.ZodNumber>;
|
|
2991
3390
|
top_k: z.ZodOptional<z.ZodNumber>;
|
|
3391
|
+
mcp_servers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3392
|
+
type: z.ZodLiteral<"url">;
|
|
3393
|
+
url: z.ZodEffects<z.ZodString, string, string>;
|
|
3394
|
+
name: z.ZodString;
|
|
3395
|
+
tool_configuration: z.ZodOptional<z.ZodObject<{
|
|
3396
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
3397
|
+
allowed_tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3398
|
+
}, "strip", z.ZodTypeAny, {
|
|
3399
|
+
enabled: boolean;
|
|
3400
|
+
allowed_tools?: string[] | undefined;
|
|
3401
|
+
}, {
|
|
3402
|
+
enabled?: boolean | undefined;
|
|
3403
|
+
allowed_tools?: string[] | undefined;
|
|
3404
|
+
}>>;
|
|
3405
|
+
authorization_token: z.ZodOptional<z.ZodString>;
|
|
3406
|
+
}, "strip", z.ZodTypeAny, {
|
|
3407
|
+
type: "url";
|
|
3408
|
+
name: string;
|
|
3409
|
+
url: string;
|
|
3410
|
+
tool_configuration?: {
|
|
3411
|
+
enabled: boolean;
|
|
3412
|
+
allowed_tools?: string[] | undefined;
|
|
3413
|
+
} | undefined;
|
|
3414
|
+
authorization_token?: string | undefined;
|
|
3415
|
+
}, {
|
|
3416
|
+
type: "url";
|
|
3417
|
+
name: string;
|
|
3418
|
+
url: string;
|
|
3419
|
+
tool_configuration?: {
|
|
3420
|
+
enabled?: boolean | undefined;
|
|
3421
|
+
allowed_tools?: string[] | undefined;
|
|
3422
|
+
} | undefined;
|
|
3423
|
+
authorization_token?: string | undefined;
|
|
3424
|
+
}>, "many">>;
|
|
2992
3425
|
}, "strip", z.ZodTypeAny, {
|
|
2993
3426
|
messages: ({
|
|
2994
3427
|
role: "user";
|
|
@@ -3054,6 +3487,16 @@ declare const AnthropicRequest: z.ZodObject<{
|
|
|
3054
3487
|
type: "tool";
|
|
3055
3488
|
name: string;
|
|
3056
3489
|
} | undefined;
|
|
3490
|
+
mcp_servers?: {
|
|
3491
|
+
type: "url";
|
|
3492
|
+
name: string;
|
|
3493
|
+
url: string;
|
|
3494
|
+
tool_configuration?: {
|
|
3495
|
+
enabled: boolean;
|
|
3496
|
+
allowed_tools?: string[] | undefined;
|
|
3497
|
+
} | undefined;
|
|
3498
|
+
authorization_token?: string | undefined;
|
|
3499
|
+
}[] | undefined;
|
|
3057
3500
|
max_tokens?: number | undefined;
|
|
3058
3501
|
stop_sequences?: string[] | undefined;
|
|
3059
3502
|
system?: string | undefined;
|
|
@@ -3128,6 +3571,16 @@ declare const AnthropicRequest: z.ZodObject<{
|
|
|
3128
3571
|
type: "tool";
|
|
3129
3572
|
name: string;
|
|
3130
3573
|
} | undefined;
|
|
3574
|
+
mcp_servers?: {
|
|
3575
|
+
type: "url";
|
|
3576
|
+
name: string;
|
|
3577
|
+
url: string;
|
|
3578
|
+
tool_configuration?: {
|
|
3579
|
+
enabled?: boolean | undefined;
|
|
3580
|
+
allowed_tools?: string[] | undefined;
|
|
3581
|
+
} | undefined;
|
|
3582
|
+
authorization_token?: string | undefined;
|
|
3583
|
+
}[] | undefined;
|
|
3131
3584
|
max_tokens?: number | undefined;
|
|
3132
3585
|
stop_sequences?: string[] | undefined;
|
|
3133
3586
|
system?: string | undefined;
|
|
@@ -3656,4 +4109,4 @@ declare class Anthropic<C extends BaseChatModelOptionsType, E extends BaseEmbedd
|
|
|
3656
4109
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
3657
4110
|
}
|
|
3658
4111
|
|
|
3659
|
-
export { Anthropic, AnthropicChatModelConfigs, AnthropicChatModelModalities, AnthropicChatModelModalitiesEnum, AnthropicChatModelRoles, AnthropicChatModelRolesMap, AnthropicCompleteChatResponse, type AnthropicCompleteChatResponseType, AnthropicEmbeddingModelConfigs, AnthropicEmbeddingModelModalities, AnthropicEmbeddingModelModalitiesEnum, AnthropicEmbeddingRequest, AnthropicEmbeddingRequestInput, type AnthropicEmbeddingRequestInputType, type AnthropicEmbeddingRequestType, AnthropicGetEmbeddingsResponse, AnthropicRequest, AnthropicRequestAssistantMessage, type AnthropicRequestAssistantMessageType, AnthropicRequestImageContent, type AnthropicRequestImageContentType, 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, 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, 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, stop, temperature, toolChoice, topK, topP, truncation };
|
|
4112
|
+
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, 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 };
|