@llmgateway/models 1.167.1 → 1.169.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/compliance.spec.js +133 -3
- package/dist/compliance.spec.js.map +1 -1
- package/dist/models/anthropic.d.ts +33 -0
- package/dist/models/anthropic.js +33 -0
- package/dist/models/anthropic.js.map +1 -1
- package/dist/models/openai.d.ts +35 -0
- package/dist/models/openai.js +35 -0
- package/dist/models/openai.js.map +1 -1
- package/dist/models.d.ts +70 -0
- package/dist/models.js.map +1 -1
- package/dist/providers.d.ts +10 -0
- package/dist/providers.js +38 -1
- package/dist/providers.js.map +1 -1
- package/dist/types.d.ts +2 -2
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
package/dist/compliance.spec.js
CHANGED
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
import { describe, expect, it } from "vitest";
|
|
2
|
-
import { getProviderDefinition, isProviderCompliant, } from "./providers.js";
|
|
3
|
-
function
|
|
2
|
+
import { countryCodeToFlag, getProviderCountries, getProviderDefinition, isProviderCompliant, PROVIDER_COUNTRY_NAMES, providers, } from "./providers.js";
|
|
3
|
+
function isFlagEmoji(s) {
|
|
4
|
+
const codePoints = Array.from(s, (ch) => ch.codePointAt(0) ?? 0);
|
|
5
|
+
return (codePoints.length === 2 &&
|
|
6
|
+
codePoints.every((cp) => cp >= 0x1f1e6 && cp <= 0x1f1ff));
|
|
7
|
+
}
|
|
8
|
+
const HEADQUARTERS_CODES = Array.from(new Set(providers
|
|
9
|
+
.map((p) => p.headquarters)
|
|
10
|
+
.filter((c) => typeof c === "string" && c.length > 0)));
|
|
11
|
+
function makeProvider(dataPolicy, headquarters) {
|
|
4
12
|
return {
|
|
5
13
|
id: "test",
|
|
6
14
|
name: "Test",
|
|
7
15
|
description: "",
|
|
8
16
|
env: { required: { apiKey: "TEST" } },
|
|
9
17
|
dataPolicy,
|
|
18
|
+
headquarters,
|
|
10
19
|
};
|
|
11
20
|
}
|
|
12
21
|
describe("isProviderCompliant", () => {
|
|
@@ -56,7 +65,7 @@ describe("isProviderCompliant", () => {
|
|
|
56
65
|
promptLogging: null,
|
|
57
66
|
}), policy)).toBe(false);
|
|
58
67
|
});
|
|
59
|
-
it("requireSoc2OrIso27001
|
|
68
|
+
it("requireSoc2OrIso27001 requires SOC 2 Type 2 or ISO 27001", () => {
|
|
60
69
|
const policy = {
|
|
61
70
|
enabled: true,
|
|
62
71
|
requireSoc2OrIso27001: true,
|
|
@@ -77,7 +86,46 @@ describe("isProviderCompliant", () => {
|
|
|
77
86
|
apiTraining: false,
|
|
78
87
|
consumerTraining: false,
|
|
79
88
|
promptLogging: false,
|
|
89
|
+
soc2: 1,
|
|
80
90
|
}), policy)).toBe(false);
|
|
91
|
+
expect(isProviderCompliant(makeProvider({
|
|
92
|
+
apiTraining: false,
|
|
93
|
+
consumerTraining: false,
|
|
94
|
+
promptLogging: false,
|
|
95
|
+
}), policy)).toBe(false);
|
|
96
|
+
});
|
|
97
|
+
it("distinguishes SOC 2 Type 1 from Type 2", () => {
|
|
98
|
+
const type1 = makeProvider({
|
|
99
|
+
apiTraining: false,
|
|
100
|
+
consumerTraining: false,
|
|
101
|
+
promptLogging: false,
|
|
102
|
+
soc2: 1,
|
|
103
|
+
});
|
|
104
|
+
const type2 = makeProvider({
|
|
105
|
+
apiTraining: false,
|
|
106
|
+
consumerTraining: false,
|
|
107
|
+
promptLogging: false,
|
|
108
|
+
soc2: 2,
|
|
109
|
+
});
|
|
110
|
+
expect(isProviderCompliant(type1, { enabled: true, requireSoc2: true })).toBe(true);
|
|
111
|
+
expect(isProviderCompliant(type2, { enabled: true, requireSoc2: true })).toBe(true);
|
|
112
|
+
expect(isProviderCompliant(type1, { enabled: true, requireSoc2Type2: true })).toBe(false);
|
|
113
|
+
expect(isProviderCompliant(type2, { enabled: true, requireSoc2Type2: true })).toBe(true);
|
|
114
|
+
const none = makeProvider({
|
|
115
|
+
apiTraining: false,
|
|
116
|
+
consumerTraining: false,
|
|
117
|
+
promptLogging: false,
|
|
118
|
+
});
|
|
119
|
+
expect(isProviderCompliant(none, { enabled: true, requireSoc2Type2: true })).toBe(false);
|
|
120
|
+
});
|
|
121
|
+
it("requireSoc2Type2 blocks a real Type 1 provider (canopywave)", () => {
|
|
122
|
+
const canopywave = getProviderDefinition("canopywave");
|
|
123
|
+
expect(canopywave.dataPolicy?.soc2).toBe(1);
|
|
124
|
+
expect(isProviderCompliant(canopywave, { enabled: true, requireSoc2: true })).toBe(true);
|
|
125
|
+
expect(isProviderCompliant(canopywave, {
|
|
126
|
+
enabled: true,
|
|
127
|
+
requireSoc2Type2: true,
|
|
128
|
+
})).toBe(false);
|
|
81
129
|
});
|
|
82
130
|
it("blocks a non-compliant real provider and allows a compliant one", () => {
|
|
83
131
|
const policy = {
|
|
@@ -90,5 +138,87 @@ describe("isProviderCompliant", () => {
|
|
|
90
138
|
expect(isProviderCompliant(openai, policy)).toBe(true);
|
|
91
139
|
expect(isProviderCompliant(deepseek, policy)).toBe(false);
|
|
92
140
|
});
|
|
141
|
+
it("allowedCountries restricts routing to the selected headquarters", () => {
|
|
142
|
+
const policy = {
|
|
143
|
+
enabled: true,
|
|
144
|
+
allowedCountries: ["US"],
|
|
145
|
+
};
|
|
146
|
+
expect(isProviderCompliant(makeProvider(null, "US"), policy)).toBe(true);
|
|
147
|
+
expect(isProviderCompliant(makeProvider(null, "CN"), policy)).toBe(false);
|
|
148
|
+
});
|
|
149
|
+
it("allowedCountries fails closed for an unknown headquarters", () => {
|
|
150
|
+
const policy = {
|
|
151
|
+
enabled: true,
|
|
152
|
+
allowedCountries: ["US"],
|
|
153
|
+
};
|
|
154
|
+
expect(isProviderCompliant(makeProvider(null, null), policy)).toBe(false);
|
|
155
|
+
expect(isProviderCompliant(makeProvider(null, undefined), policy)).toBe(false);
|
|
156
|
+
});
|
|
157
|
+
it("an empty allowedCountries list applies no country restriction", () => {
|
|
158
|
+
const policy = {
|
|
159
|
+
enabled: true,
|
|
160
|
+
allowedCountries: [],
|
|
161
|
+
};
|
|
162
|
+
expect(isProviderCompliant(makeProvider(null, "CN"), policy)).toBe(true);
|
|
163
|
+
expect(isProviderCompliant(makeProvider(null, null), policy)).toBe(true);
|
|
164
|
+
});
|
|
165
|
+
it("composes the country filter with certification requirements", () => {
|
|
166
|
+
const policy = {
|
|
167
|
+
enabled: true,
|
|
168
|
+
requireSoc2: true,
|
|
169
|
+
allowedCountries: ["US"],
|
|
170
|
+
};
|
|
171
|
+
const compliant = makeProvider({
|
|
172
|
+
apiTraining: false,
|
|
173
|
+
consumerTraining: false,
|
|
174
|
+
promptLogging: false,
|
|
175
|
+
soc2: 2,
|
|
176
|
+
}, "US");
|
|
177
|
+
const wrongCountry = makeProvider({
|
|
178
|
+
apiTraining: false,
|
|
179
|
+
consumerTraining: false,
|
|
180
|
+
promptLogging: false,
|
|
181
|
+
soc2: 2,
|
|
182
|
+
}, "CN");
|
|
183
|
+
expect(isProviderCompliant(compliant, policy)).toBe(true);
|
|
184
|
+
expect(isProviderCompliant(wrongCountry, policy)).toBe(false);
|
|
185
|
+
});
|
|
186
|
+
});
|
|
187
|
+
describe("getProviderCountries", () => {
|
|
188
|
+
it("returns only distinct countries referenced by the catalogue, sorted by name", () => {
|
|
189
|
+
const countries = getProviderCountries();
|
|
190
|
+
const codes = countries.map((c) => c.code);
|
|
191
|
+
expect(new Set(codes).size).toBe(codes.length);
|
|
192
|
+
expect(codes).toContain("US");
|
|
193
|
+
expect(codes).toContain("CN");
|
|
194
|
+
expect(codes).not.toContain(null);
|
|
195
|
+
const names = countries.map((c) => c.name);
|
|
196
|
+
expect(names).toEqual([...names].sort((a, b) => a.localeCompare(b)));
|
|
197
|
+
});
|
|
198
|
+
it("derives a flag emoji for each country", () => {
|
|
199
|
+
for (const country of getProviderCountries()) {
|
|
200
|
+
expect(country.flag.length).toBeGreaterThan(0);
|
|
201
|
+
}
|
|
202
|
+
expect(countryCodeToFlag("US")).toBe("🇺🇸");
|
|
203
|
+
expect(countryCodeToFlag("FR")).toBe("🇫🇷");
|
|
204
|
+
});
|
|
205
|
+
});
|
|
206
|
+
describe("provider headquarters country mappings are complete", () => {
|
|
207
|
+
it("has at least one headquarters country in the catalogue", () => {
|
|
208
|
+
expect(HEADQUARTERS_CODES.length).toBeGreaterThan(0);
|
|
209
|
+
});
|
|
210
|
+
it.each(HEADQUARTERS_CODES)("has a display-name mapping for %s", (code) => {
|
|
211
|
+
const name = PROVIDER_COUNTRY_NAMES[code];
|
|
212
|
+
expect(name, `Missing PROVIDER_COUNTRY_NAMES entry for headquarters "${code}". Add it in packages/models/src/providers.ts.`).toBeTruthy();
|
|
213
|
+
expect(name).not.toBe(code);
|
|
214
|
+
});
|
|
215
|
+
it.each(HEADQUARTERS_CODES)("produces a valid flag emoji for %s", (code) => {
|
|
216
|
+
expect(isFlagEmoji(countryCodeToFlag(code)), `countryCodeToFlag("${code}") did not produce a valid flag emoji.`).toBe(true);
|
|
217
|
+
});
|
|
218
|
+
it("does not define names for codes absent from the catalogue", () => {
|
|
219
|
+
const catalogue = new Set(HEADQUARTERS_CODES);
|
|
220
|
+
const orphans = Object.keys(PROVIDER_COUNTRY_NAMES).filter((code) => !catalogue.has(code));
|
|
221
|
+
expect(orphans, `PROVIDER_COUNTRY_NAMES has entries for codes no provider uses: ${orphans.join(", ")}`).toEqual([]);
|
|
222
|
+
});
|
|
93
223
|
});
|
|
94
224
|
//# sourceMappingURL=compliance.spec.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compliance.spec.js","sourceRoot":"","sources":["../src/compliance.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAE9C,OAAO,EACN,qBAAqB,EACrB,mBAAmB,
|
|
1
|
+
{"version":3,"file":"compliance.spec.js","sourceRoot":"","sources":["../src/compliance.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,M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C,EAAE,CAAC,IAAI,EAAE,EAAE;QACzE,MAAM,IAAI,GAAG,sBAAsB,CAAC,IAAI,CAAC,CAAC;QAC1C,MAAM,CACL,IAAI,EACJ,0DAA0D,IAAI,gDAAgD,CAC9G,CAAC,UAAU,EAAE,CAAC;QAEf,MAAM,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC7B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,oCAAoC,EAAE,CAAC,IAAI,EAAE,EAAE;QAC1E,MAAM,CACL,WAAW,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,EACpC,sBAAsB,IAAI,wCAAwC,CAClE,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACd,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,2DAA2D,EAAE,GAAG,EAAE;QAEpE,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC,kBAAkB,CAAC,CAAC;QAC9C,MAAM,OAAO,GAAG,MAAM,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,MAAM,CACzD,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,CAC9B,CAAC;QACF,MAAM,CACL,OAAO,EACP,kEAAkE,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CACtF,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IACf,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -18,6 +18,7 @@ export declare const anthropicModels: [{
|
|
|
18
18
|
readonly contextSize: 1000000;
|
|
19
19
|
readonly maxOutput: 128000;
|
|
20
20
|
readonly reasoning: true;
|
|
21
|
+
readonly reasoningEfforts: ["low", "medium", "high", "xhigh", "max"];
|
|
21
22
|
readonly reasoningMode: "adaptive";
|
|
22
23
|
readonly reasoningOutput: "omit";
|
|
23
24
|
readonly streaming: true;
|
|
@@ -39,6 +40,7 @@ export declare const anthropicModels: [{
|
|
|
39
40
|
readonly contextSize: 1000000;
|
|
40
41
|
readonly maxOutput: 128000;
|
|
41
42
|
readonly reasoning: true;
|
|
43
|
+
readonly reasoningEfforts: ["low", "medium", "high", "xhigh", "max"];
|
|
42
44
|
readonly reasoningMode: "adaptive";
|
|
43
45
|
readonly reasoningOutput: "omit";
|
|
44
46
|
readonly streaming: true;
|
|
@@ -71,6 +73,7 @@ export declare const anthropicModels: [{
|
|
|
71
73
|
readonly contextSize: 200000;
|
|
72
74
|
readonly maxOutput: 8192;
|
|
73
75
|
readonly reasoning: true;
|
|
76
|
+
readonly reasoningEfforts: ["low", "medium", "high", "xhigh", "max"];
|
|
74
77
|
readonly reasoningMaxTokens: true;
|
|
75
78
|
readonly streaming: true;
|
|
76
79
|
readonly vision: true;
|
|
@@ -93,6 +96,7 @@ export declare const anthropicModels: [{
|
|
|
93
96
|
readonly contextSize: 200000;
|
|
94
97
|
readonly maxOutput: 8192;
|
|
95
98
|
readonly reasoning: true;
|
|
99
|
+
readonly reasoningEfforts: ["low", "medium", "high", "xhigh", "max"];
|
|
96
100
|
readonly reasoningMaxTokens: true;
|
|
97
101
|
readonly streaming: true;
|
|
98
102
|
readonly vision: true;
|
|
@@ -172,6 +176,7 @@ export declare const anthropicModels: [{
|
|
|
172
176
|
readonly streaming: true;
|
|
173
177
|
readonly vision: true;
|
|
174
178
|
readonly reasoning: true;
|
|
179
|
+
readonly reasoningEfforts: ["low", "medium", "high", "xhigh", "max"];
|
|
175
180
|
readonly reasoningMaxTokens: true;
|
|
176
181
|
readonly tools: true;
|
|
177
182
|
readonly jsonOutputSchema: true;
|
|
@@ -290,6 +295,7 @@ export declare const anthropicModels: [{
|
|
|
290
295
|
readonly contextSize: 200000;
|
|
291
296
|
readonly maxOutput: undefined;
|
|
292
297
|
readonly reasoning: true;
|
|
298
|
+
readonly reasoningEfforts: ["low", "medium", "high", "xhigh", "max"];
|
|
293
299
|
readonly reasoningMaxTokens: true;
|
|
294
300
|
readonly streaming: true;
|
|
295
301
|
readonly vision: true;
|
|
@@ -311,6 +317,7 @@ export declare const anthropicModels: [{
|
|
|
311
317
|
readonly contextSize: 200000;
|
|
312
318
|
readonly maxOutput: undefined;
|
|
313
319
|
readonly reasoning: true;
|
|
320
|
+
readonly reasoningEfforts: ["low", "medium", "high", "xhigh", "max"];
|
|
314
321
|
readonly reasoningMaxTokens: true;
|
|
315
322
|
readonly streaming: true;
|
|
316
323
|
readonly vision: true;
|
|
@@ -337,6 +344,7 @@ export declare const anthropicModels: [{
|
|
|
337
344
|
readonly requestPrice: "0";
|
|
338
345
|
readonly contextSize: 200000;
|
|
339
346
|
readonly reasoning: true;
|
|
347
|
+
readonly reasoningEfforts: ["low", "medium", "high", "xhigh", "max"];
|
|
340
348
|
readonly reasoningMaxTokens: true;
|
|
341
349
|
readonly maxOutput: 64000;
|
|
342
350
|
readonly streaming: true;
|
|
@@ -359,6 +367,7 @@ export declare const anthropicModels: [{
|
|
|
359
367
|
readonly contextSize: 200000;
|
|
360
368
|
readonly maxOutput: 8192;
|
|
361
369
|
readonly reasoning: true;
|
|
370
|
+
readonly reasoningEfforts: ["low", "medium", "high", "xhigh", "max"];
|
|
362
371
|
readonly reasoningMaxTokens: true;
|
|
363
372
|
readonly streaming: true;
|
|
364
373
|
readonly vision: true;
|
|
@@ -387,6 +396,7 @@ export declare const anthropicModels: [{
|
|
|
387
396
|
readonly contextSize: 200000;
|
|
388
397
|
readonly maxOutput: 64000;
|
|
389
398
|
readonly reasoning: true;
|
|
399
|
+
readonly reasoningEfforts: ["low", "medium", "high", "xhigh", "max"];
|
|
390
400
|
readonly reasoningMaxTokens: true;
|
|
391
401
|
readonly streaming: true;
|
|
392
402
|
readonly vision: true;
|
|
@@ -412,6 +422,7 @@ export declare const anthropicModels: [{
|
|
|
412
422
|
readonly requestPrice: "0";
|
|
413
423
|
readonly contextSize: 200000;
|
|
414
424
|
readonly reasoning: true;
|
|
425
|
+
readonly reasoningEfforts: ["low", "medium", "high", "xhigh", "max"];
|
|
415
426
|
readonly reasoningMaxTokens: true;
|
|
416
427
|
readonly maxOutput: 64000;
|
|
417
428
|
readonly streaming: true;
|
|
@@ -434,6 +445,7 @@ export declare const anthropicModels: [{
|
|
|
434
445
|
readonly contextSize: 200000;
|
|
435
446
|
readonly maxOutput: 8192;
|
|
436
447
|
readonly reasoning: true;
|
|
448
|
+
readonly reasoningEfforts: ["low", "medium", "high", "xhigh", "max"];
|
|
437
449
|
readonly reasoningMaxTokens: true;
|
|
438
450
|
readonly streaming: true;
|
|
439
451
|
readonly vision: true;
|
|
@@ -470,6 +482,7 @@ export declare const anthropicModels: [{
|
|
|
470
482
|
readonly contextSize: 1000000;
|
|
471
483
|
readonly maxOutput: 64000;
|
|
472
484
|
readonly reasoning: true;
|
|
485
|
+
readonly reasoningEfforts: ["low", "medium", "high", "xhigh", "max"];
|
|
473
486
|
readonly reasoningMaxTokens: true;
|
|
474
487
|
readonly streaming: true;
|
|
475
488
|
readonly vision: true;
|
|
@@ -490,6 +503,7 @@ export declare const anthropicModels: [{
|
|
|
490
503
|
readonly contextSize: 1000000;
|
|
491
504
|
readonly maxOutput: 64000;
|
|
492
505
|
readonly reasoning: true;
|
|
506
|
+
readonly reasoningEfforts: ["low", "medium", "high", "xhigh", "max"];
|
|
493
507
|
readonly reasoningMaxTokens: true;
|
|
494
508
|
readonly streaming: true;
|
|
495
509
|
readonly vision: true;
|
|
@@ -519,6 +533,7 @@ export declare const anthropicModels: [{
|
|
|
519
533
|
readonly contextSize: 1000000;
|
|
520
534
|
readonly maxOutput: 64000;
|
|
521
535
|
readonly reasoning: true;
|
|
536
|
+
readonly reasoningEfforts: ["low", "medium", "high", "xhigh", "max"];
|
|
522
537
|
readonly reasoningMaxTokens: true;
|
|
523
538
|
readonly streaming: true;
|
|
524
539
|
readonly vision: true;
|
|
@@ -544,6 +559,7 @@ export declare const anthropicModels: [{
|
|
|
544
559
|
readonly contextSize: 1000000;
|
|
545
560
|
readonly maxOutput: 128000;
|
|
546
561
|
readonly reasoning: true;
|
|
562
|
+
readonly reasoningEfforts: ["low", "medium", "high", "xhigh", "max"];
|
|
547
563
|
readonly reasoningMode: "adaptive";
|
|
548
564
|
readonly reasoningOutput: "omit";
|
|
549
565
|
readonly streaming: true;
|
|
@@ -566,6 +582,7 @@ export declare const anthropicModels: [{
|
|
|
566
582
|
readonly contextSize: 1000000;
|
|
567
583
|
readonly maxOutput: 128000;
|
|
568
584
|
readonly reasoning: true;
|
|
585
|
+
readonly reasoningEfforts: ["low", "medium", "high", "xhigh", "max"];
|
|
569
586
|
readonly reasoningMode: "adaptive";
|
|
570
587
|
readonly reasoningOutput: "omit";
|
|
571
588
|
readonly streaming: true;
|
|
@@ -590,6 +607,7 @@ export declare const anthropicModels: [{
|
|
|
590
607
|
readonly contextSize: 1000000;
|
|
591
608
|
readonly maxOutput: 128000;
|
|
592
609
|
readonly reasoning: true;
|
|
610
|
+
readonly reasoningEfforts: ["low", "medium", "high", "xhigh", "max"];
|
|
593
611
|
readonly reasoningMode: "adaptive";
|
|
594
612
|
readonly reasoningOutput: "omit";
|
|
595
613
|
readonly streaming: true;
|
|
@@ -766,6 +784,7 @@ export declare const anthropicModels: [{
|
|
|
766
784
|
readonly contextSize: 200000;
|
|
767
785
|
readonly maxOutput: undefined;
|
|
768
786
|
readonly reasoning: true;
|
|
787
|
+
readonly reasoningEfforts: ["low", "medium", "high", "xhigh", "max"];
|
|
769
788
|
readonly reasoningMaxTokens: true;
|
|
770
789
|
readonly streaming: true;
|
|
771
790
|
readonly vision: true;
|
|
@@ -787,6 +806,7 @@ export declare const anthropicModels: [{
|
|
|
787
806
|
readonly contextSize: 200000;
|
|
788
807
|
readonly maxOutput: undefined;
|
|
789
808
|
readonly reasoning: true;
|
|
809
|
+
readonly reasoningEfforts: ["low", "medium", "high", "xhigh", "max"];
|
|
790
810
|
readonly reasoningMaxTokens: true;
|
|
791
811
|
readonly streaming: true;
|
|
792
812
|
readonly vision: true;
|
|
@@ -816,6 +836,7 @@ export declare const anthropicModels: [{
|
|
|
816
836
|
readonly streaming: true;
|
|
817
837
|
readonly vision: true;
|
|
818
838
|
readonly reasoning: true;
|
|
839
|
+
readonly reasoningEfforts: ["low", "medium", "high", "xhigh", "max"];
|
|
819
840
|
readonly reasoningMaxTokens: true;
|
|
820
841
|
readonly tools: true;
|
|
821
842
|
readonly jsonOutputSchema: true;
|
|
@@ -836,6 +857,7 @@ export declare const anthropicModels: [{
|
|
|
836
857
|
readonly streaming: true;
|
|
837
858
|
readonly vision: true;
|
|
838
859
|
readonly reasoning: true;
|
|
860
|
+
readonly reasoningEfforts: ["low", "medium", "high", "xhigh", "max"];
|
|
839
861
|
readonly reasoningMaxTokens: true;
|
|
840
862
|
readonly tools: true;
|
|
841
863
|
readonly jsonOutputSchema: true;
|
|
@@ -1040,6 +1062,7 @@ export declare const anthropicModels: [{
|
|
|
1040
1062
|
readonly contextSize: 200000;
|
|
1041
1063
|
readonly maxOutput: 32000;
|
|
1042
1064
|
readonly reasoning: true;
|
|
1065
|
+
readonly reasoningEfforts: ["low", "medium", "high", "xhigh", "max"];
|
|
1043
1066
|
readonly reasoningMaxTokens: true;
|
|
1044
1067
|
readonly streaming: true;
|
|
1045
1068
|
readonly vision: true;
|
|
@@ -1062,6 +1085,7 @@ export declare const anthropicModels: [{
|
|
|
1062
1085
|
readonly contextSize: 200000;
|
|
1063
1086
|
readonly maxOutput: 32000;
|
|
1064
1087
|
readonly reasoning: true;
|
|
1088
|
+
readonly reasoningEfforts: ["low", "medium", "high", "xhigh", "max"];
|
|
1065
1089
|
readonly reasoningMaxTokens: true;
|
|
1066
1090
|
readonly streaming: true;
|
|
1067
1091
|
readonly vision: true;
|
|
@@ -1086,6 +1110,7 @@ export declare const anthropicModels: [{
|
|
|
1086
1110
|
readonly contextSize: 200000;
|
|
1087
1111
|
readonly maxOutput: 32000;
|
|
1088
1112
|
readonly reasoning: true;
|
|
1113
|
+
readonly reasoningEfforts: ["low", "medium", "high", "xhigh", "max"];
|
|
1089
1114
|
readonly reasoningMaxTokens: true;
|
|
1090
1115
|
readonly streaming: true;
|
|
1091
1116
|
readonly vision: true;
|
|
@@ -1113,6 +1138,7 @@ export declare const anthropicModels: [{
|
|
|
1113
1138
|
readonly contextSize: 1000000;
|
|
1114
1139
|
readonly maxOutput: 128000;
|
|
1115
1140
|
readonly reasoning: true;
|
|
1141
|
+
readonly reasoningEfforts: ["low", "medium", "high", "xhigh", "max"];
|
|
1116
1142
|
readonly reasoningMode: "adaptive";
|
|
1117
1143
|
readonly reasoningOutput: "omit";
|
|
1118
1144
|
readonly streaming: true;
|
|
@@ -1136,6 +1162,7 @@ export declare const anthropicModels: [{
|
|
|
1136
1162
|
readonly contextSize: 1000000;
|
|
1137
1163
|
readonly maxOutput: 128000;
|
|
1138
1164
|
readonly reasoning: true;
|
|
1165
|
+
readonly reasoningEfforts: ["low", "medium", "high", "xhigh", "max"];
|
|
1139
1166
|
readonly reasoningMode: "adaptive";
|
|
1140
1167
|
readonly reasoningOutput: "omit";
|
|
1141
1168
|
readonly streaming: true;
|
|
@@ -1165,6 +1192,7 @@ export declare const anthropicModels: [{
|
|
|
1165
1192
|
readonly contextSize: 1000000;
|
|
1166
1193
|
readonly maxOutput: 128000;
|
|
1167
1194
|
readonly reasoning: true;
|
|
1195
|
+
readonly reasoningEfforts: ["low", "medium", "high", "xhigh", "max"];
|
|
1168
1196
|
readonly reasoningMode: "adaptive";
|
|
1169
1197
|
readonly reasoningOutput: "omit";
|
|
1170
1198
|
readonly streaming: true;
|
|
@@ -1192,6 +1220,7 @@ export declare const anthropicModels: [{
|
|
|
1192
1220
|
readonly contextSize: 1000000;
|
|
1193
1221
|
readonly maxOutput: 128000;
|
|
1194
1222
|
readonly reasoning: true;
|
|
1223
|
+
readonly reasoningEfforts: ["low", "medium", "high", "xhigh", "max"];
|
|
1195
1224
|
readonly reasoningMode: "adaptive";
|
|
1196
1225
|
readonly reasoningOutput: "omit";
|
|
1197
1226
|
readonly streaming: true;
|
|
@@ -1214,6 +1243,7 @@ export declare const anthropicModels: [{
|
|
|
1214
1243
|
readonly contextSize: 1000000;
|
|
1215
1244
|
readonly maxOutput: 128000;
|
|
1216
1245
|
readonly reasoning: true;
|
|
1246
|
+
readonly reasoningEfforts: ["low", "medium", "high", "xhigh", "max"];
|
|
1217
1247
|
readonly reasoningMode: "adaptive";
|
|
1218
1248
|
readonly reasoningOutput: "omit";
|
|
1219
1249
|
readonly streaming: true;
|
|
@@ -1241,6 +1271,7 @@ export declare const anthropicModels: [{
|
|
|
1241
1271
|
readonly contextSize: 1000000;
|
|
1242
1272
|
readonly maxOutput: 128000;
|
|
1243
1273
|
readonly reasoning: true;
|
|
1274
|
+
readonly reasoningEfforts: ["low", "medium", "high", "xhigh", "max"];
|
|
1244
1275
|
readonly reasoningMode: "adaptive";
|
|
1245
1276
|
readonly reasoningOutput: "omit";
|
|
1246
1277
|
readonly streaming: true;
|
|
@@ -1268,6 +1299,7 @@ export declare const anthropicModels: [{
|
|
|
1268
1299
|
readonly contextSize: 1000000;
|
|
1269
1300
|
readonly maxOutput: 128000;
|
|
1270
1301
|
readonly reasoning: true;
|
|
1302
|
+
readonly reasoningEfforts: ["low", "medium", "high", "xhigh", "max"];
|
|
1271
1303
|
readonly reasoningMode: "adaptive";
|
|
1272
1304
|
readonly reasoningOutput: "omit";
|
|
1273
1305
|
readonly streaming: true;
|
|
@@ -1290,6 +1322,7 @@ export declare const anthropicModels: [{
|
|
|
1290
1322
|
readonly contextSize: 1000000;
|
|
1291
1323
|
readonly maxOutput: 128000;
|
|
1292
1324
|
readonly reasoning: true;
|
|
1325
|
+
readonly reasoningEfforts: ["low", "medium", "high", "xhigh", "max"];
|
|
1293
1326
|
readonly reasoningMode: "adaptive";
|
|
1294
1327
|
readonly reasoningOutput: "omit";
|
|
1295
1328
|
readonly streaming: true;
|