Skip to content

Commit 3e9c83b

Browse files
Add the o4-mini model in the isOminiModel (RooCodeInc#3035)
1 parent 9eea9d0 commit 3e9c83b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/brown-sloths-search.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"claude-dev": patch
3+
---
4+
5+
Add the o4-mini model in the isOminiModel

src/api/providers/litellm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export class LiteLlmHandler implements ApiHandler {
5858
content: systemPrompt,
5959
}
6060
const modelId = this.options.liteLlmModelId || liteLlmDefaultModelId
61-
const isOminiModel = modelId.includes("o1-mini") || modelId.includes("o3-mini")
61+
const isOminiModel = modelId.includes("o1-mini") || modelId.includes("o3-mini") || modelId.includes("o4-mini")
6262

6363
// Configuration for extended thinking
6464
const budgetTokens = this.options.thinkingBudgetTokens || 0

0 commit comments

Comments
 (0)