Skip to content

Commit 3c06d8f

Browse files
committed
feat: add google/gemini-2.5-pro-preview to required reasoning budget models
1 parent 5a7e8f0 commit 3c06d8f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

packages/types/src/providers/openrouter.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,6 @@ export const OPEN_ROUTER_REASONING_BUDGET_MODELS = new Set([
7272

7373
export const OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS = new Set([
7474
"anthropic/claude-3.7-sonnet:thinking",
75+
"google/gemini-2.5-pro-preview",
7576
"google/gemini-2.5-flash-preview-05-20:thinking",
7677
])

src/api/providers/fetchers/__tests__/openrouter.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ describe("OpenRouter API", () => {
190190
supportsImages: true,
191191
supportsPromptCache: true,
192192
supportsReasoningBudget: true,
193+
requiredReasoningBudget: true,
193194
inputPrice: 1.25,
194195
outputPrice: 10,
195196
cacheWritesPrice: 1.625,
@@ -204,6 +205,7 @@ describe("OpenRouter API", () => {
204205
supportsImages: true,
205206
supportsPromptCache: true,
206207
supportsReasoningBudget: true,
208+
requiredReasoningBudget: true,
207209
inputPrice: 1.25,
208210
outputPrice: 10,
209211
cacheWritesPrice: 1.625,

0 commit comments

Comments
 (0)