diff --git a/.changeset/brown-sloths-search.md b/.changeset/brown-sloths-search.md new file mode 100644 index 00000000..15536644 --- /dev/null +++ b/.changeset/brown-sloths-search.md @@ -0,0 +1,5 @@ +--- +"claude-dev": patch +--- + +Add the o4-mini model in the isOminiModel diff --git a/src/api/providers/litellm.ts b/src/api/providers/litellm.ts index 239a2c53..0d1514ce 100644 --- a/src/api/providers/litellm.ts +++ b/src/api/providers/litellm.ts @@ -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