Skip to content

Commit c7bf41a

Browse files
committed
chore: update models data in tests
1 parent 5707d5f commit c7bf41a

2 files changed

Lines changed: 28 additions & 28 deletions

File tree

‎test/index.test.ts‎

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ const MODELS_DEV_DATA = {
3131
name: "GPT-5.4 Nano",
3232
limit: { context: 400000, output: 128000 },
3333
attachment: true,
34-
reasoning: false,
35-
temperature: true,
34+
reasoning: true,
35+
temperature: false,
3636
tool_call: true,
3737
modalities: {
38-
input: ["text", "image", "audio"],
38+
input: ["text", "image"],
3939
output: ["text"],
4040
},
4141
cost: { input: 0.2, output: 1.25, cache_read: 0.02, cache_write: 0 },
@@ -70,8 +70,8 @@ const MODELS_DEV_DATA = {
7070
"deepseek-v4-pro": {
7171
id: "deepseek-v4-pro",
7272
name: "DeepSeek V4 Pro",
73-
limit: { context: 128000, output: 32000 },
74-
attachment: true,
73+
limit: { context: 1000000, output: 384000 },
74+
attachment: false,
7575
reasoning: true,
7676
temperature: true,
7777
tool_call: true,
@@ -84,8 +84,8 @@ const MODELS_DEV_DATA = {
8484
"deepseek-v4-flash": {
8585
id: "deepseek-v4-flash",
8686
name: "DeepSeek V4 Flash",
87-
limit: { context: 128000, output: 32000 },
88-
attachment: true,
87+
limit: { context: 1000000, output: 384000 },
88+
attachment: false,
8989
reasoning: true,
9090
temperature: true,
9191
tool_call: true,
@@ -182,10 +182,10 @@ describe("config hook", () => {
182182
npm: "@ai-sdk/openai",
183183
},
184184
attachment: true,
185-
reasoning: false,
186-
temperature: true,
185+
reasoning: true,
186+
temperature: false,
187187
tool_call: true,
188-
modalities: { input: ["text", "image", "audio"], output: ["text"] },
188+
modalities: { input: ["text", "image"], output: ["text"] },
189189
cost: { input: 0.2, output: 1.25, cache_read: 0.02, cache_write: 0 },
190190
limit: { context: 400000, output: 128000 },
191191
interleaved: true,
@@ -220,13 +220,13 @@ describe("config hook", () => {
220220
api: "https://hub.coreinfra.ai/claude/api/v1",
221221
npm: "@ai-sdk/anthropic",
222222
},
223-
attachment: true,
223+
attachment: false,
224224
reasoning: true,
225225
temperature: true,
226226
tool_call: true,
227227
modalities: { input: ["text"], output: ["text"] },
228228
cost: { input: 1.5, output: 6, cache_read: 0.15, cache_write: 1.5 },
229-
limit: { context: 128000, output: 32000 },
229+
limit: { context: 1000000, output: 384000 },
230230
interleaved: { field: "reasoning_content" },
231231
headers: {
232232
"anthropic-beta":
@@ -241,13 +241,13 @@ describe("config hook", () => {
241241
api: "https://hub.coreinfra.ai/claude/api/v1",
242242
npm: "@ai-sdk/anthropic",
243243
},
244-
attachment: true,
244+
attachment: false,
245245
reasoning: true,
246246
temperature: true,
247247
tool_call: true,
248248
modalities: { input: ["text"], output: ["text"] },
249249
cost: { input: 0.15, output: 0.6, cache_read: 0.015, cache_write: 0.15 },
250-
limit: { context: 128000, output: 32000 },
250+
limit: { context: 1000000, output: 384000 },
251251
interleaved: { field: "reasoning_content" },
252252
headers: {
253253
"anthropic-beta":

‎test/models.test.ts‎

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ const MODELS_DEV_FIXTURE = {
1818
name: "GPT-5.4 Nano",
1919
limit: { context: 400000, output: 128000 },
2020
attachment: true,
21-
reasoning: false,
22-
temperature: true,
21+
reasoning: true,
22+
temperature: false,
2323
tool_call: true,
2424
modalities: {
25-
input: ["text", "image", "audio", "video", "pdf"],
25+
input: ["text", "image"],
2626
output: ["text"],
2727
},
2828
cost: { input: 0.2, output: 1.25, cache_read: 0.02, cache_write: 0 },
@@ -57,8 +57,8 @@ const MODELS_DEV_FIXTURE = {
5757
"deepseek-v4-pro": {
5858
id: "deepseek-v4-pro",
5959
name: "DeepSeek V4 Pro",
60-
limit: { context: 128000, output: 32000 },
61-
attachment: true,
60+
limit: { context: 1000000, output: 384000 },
61+
attachment: false,
6262
reasoning: true,
6363
temperature: true,
6464
tool_call: true,
@@ -71,8 +71,8 @@ const MODELS_DEV_FIXTURE = {
7171
"deepseek-v4-flash": {
7272
id: "deepseek-v4-flash",
7373
name: "DeepSeek V4 Flash",
74-
limit: { context: 128000, output: 32000 },
75-
attachment: true,
74+
limit: { context: 1000000, output: 384000 },
75+
attachment: false,
7676
reasoning: true,
7777
temperature: true,
7878
tool_call: true,
@@ -131,11 +131,11 @@ describe("buildConfigModels", () => {
131131
npm: "@ai-sdk/openai",
132132
},
133133
attachment: true,
134-
reasoning: false,
135-
temperature: true,
134+
reasoning: true,
135+
temperature: false,
136136
tool_call: true,
137137
modalities: {
138-
input: ["text", "image", "audio", "video", "pdf"],
138+
input: ["text", "image"],
139139
output: ["text"],
140140
},
141141
cost: { input: 0.2, output: 1.25, cache_read: 0.02, cache_write: 0 },
@@ -177,7 +177,7 @@ describe("buildConfigModels", () => {
177177
api: "https://hub.coreinfra.ai/claude/api/v1",
178178
npm: "@ai-sdk/anthropic",
179179
},
180-
attachment: true,
180+
attachment: false,
181181
reasoning: true,
182182
temperature: true,
183183
tool_call: true,
@@ -186,7 +186,7 @@ describe("buildConfigModels", () => {
186186
output: ["text"],
187187
},
188188
cost: { input: 1.5, output: 6, cache_read: 0.15, cache_write: 1.5 },
189-
limit: { context: 128000, output: 32000 },
189+
limit: { context: 1000000, output: 384000 },
190190
interleaved: { field: "reasoning_content" },
191191
headers: {
192192
"anthropic-beta":
@@ -202,7 +202,7 @@ describe("buildConfigModels", () => {
202202
api: "https://hub.coreinfra.ai/claude/api/v1",
203203
npm: "@ai-sdk/anthropic",
204204
},
205-
attachment: true,
205+
attachment: false,
206206
reasoning: true,
207207
temperature: true,
208208
tool_call: true,
@@ -211,7 +211,7 @@ describe("buildConfigModels", () => {
211211
output: ["text"],
212212
},
213213
cost: { input: 0.15, output: 0.6, cache_read: 0.015, cache_write: 0.15 },
214-
limit: { context: 128000, output: 32000 },
214+
limit: { context: 1000000, output: 384000 },
215215
interleaved: { field: "reasoning_content" },
216216
headers: {
217217
"anthropic-beta":

0 commit comments

Comments
 (0)