Add the o4-mini model in the isOminiModel (#3035)

This commit is contained in:
Peter Dave Hello authored and GitHub committed 2025-05-05 20:58:58 -07:00
1 parent 9eea9d04b5
commit 3e9c83b99d
2 files changed
+6 -1

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"claude-dev": patch
---
Add the o4-mini model in the isOminiModel
+1 -1
View File
@@ -58,7 +58,7 @@ export class LiteLlmHandler implements ApiHandler {
content: systemPrompt,
}
const modelId = this.options.liteLlmModelId || liteLlmDefaultModelId
const isOminiModel = modelId.includes("o1-mini") || modelId.includes("o3-mini")
const isOminiModel = modelId.includes("o1-mini") || modelId.includes("o3-mini") || modelId.includes("o4-mini")
// Configuration for extended thinking
const budgetTokens = this.options.thinkingBudgetTokens || 0