Skip to content

Commit

Permalink
refactor(tools-handler): use gpt-4o-mini for free users
Browse files Browse the repository at this point in the history
  • Loading branch information
RostyslavManko committed Jan 10, 2025
1 parent bbc6b0c commit bcd7e46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tools/tool-store/tools-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export async function commandGeneratorHandler({
apiKey: llmConfig.openai.apiKey
})
} else {
model = "openai/gpt-4o-2024-08-06"
model = "openai/gpt-4o-mini"
provider = createOpenAI({
baseURL: llmConfig.openrouter.baseURL,
headers: providerHeaders
Expand Down

0 comments on commit bcd7e46

Please sign in to comment.