Skip to content

Commit 2cd1989

Browse files
committed
Revert this
1 parent 9fa009f commit 2cd1989

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/api/providers/fetchers/openrouter.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ export const parseOpenRouterModel = ({
201201
// and we want to use 128k.
202202
if (id.startsWith("anthropic/claude-3.7-sonnet")) {
203203
modelInfo.maxTokens = id.includes("thinking")
204-
? anthropicModels["claude-sonnet-4-20250514:thinking"].maxTokens
205-
: anthropicModels["claude-sonnet-4-20250514"].maxTokens
204+
? anthropicModels["claude-3-7-sonnet-20250219:thinking"].maxTokens
205+
: anthropicModels["claude-3-7-sonnet-20250219"].maxTokens
206206
}
207207

208208
return modelInfo

0 commit comments

Comments
 (0)