Skip to content

Commit 0eab7f0

Browse files
committed
Fix tsc error
1 parent 5a99bd3 commit 0eab7f0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/types/src/providers/openrouter.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,13 @@ export const OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS = new Set([
7373
])
7474

7575
export const OPEN_ROUTER_REASONING_BUDGET_MODELS = new Set([
76-
...OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS,
7776
"anthropic/claude-3.7-sonnet:beta",
7877
"anthropic/claude-opus-4",
7978
"anthropic/claude-sonnet-4",
8079
"google/gemini-2.5-pro-preview",
8180
"google/gemini-2.5-flash-preview-05-20",
81+
// Also include the models that require the reasoning budget to be enabled
82+
// even though `OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS` takes precedence.
83+
"anthropic/claude-3.7-sonnet:thinking",
84+
"google/gemini-2.5-flash-preview-05-20:thinking",
8285
])

0 commit comments

Comments
 (0)