From bcd7e46174ea5bcaeee4d6198ed4a4b53dda4054 Mon Sep 17 00:00:00 2001 From: Rostyslav Manko Date: Fri, 10 Jan 2025 11:31:03 -0500 Subject: [PATCH] refactor(tools-handler): use gpt-4o-mini for free users --- lib/tools/tool-store/tools-handler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tools/tool-store/tools-handler.ts b/lib/tools/tool-store/tools-handler.ts index 0b69eb40..0efc952e 100644 --- a/lib/tools/tool-store/tools-handler.ts +++ b/lib/tools/tool-store/tools-handler.ts @@ -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