From 9ece9c1ae24ae8c98f602e2e9ccc9b53df6de28c Mon Sep 17 00:00:00 2001 From: Chandrapal Badshah <12944530+Chan9390@users.noreply.github.com> Date: Thu, 24 Apr 2025 15:23:24 +0530 Subject: [PATCH] Update default configuration --- ui/app/(ai)/analyst/route.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/app/(ai)/analyst/route.ts b/ui/app/(ai)/analyst/route.ts index 146ec4807b..3035bbe920 100644 --- a/ui/app/(ai)/analyst/route.ts +++ b/ui/app/(ai)/analyst/route.ts @@ -85,17 +85,17 @@ const initializeModels = async () => { // Initialize models without API keys const llm = new ChatOpenAI({ - model: modelConfig?.model || "gpt-4", + model: modelConfig?.model || "gpt-4o", temperature: modelConfig?.temperature || 0, - maxTokens: modelConfig?.max_tokens || 5000, + maxTokens: modelConfig?.max_tokens || 4000, apiKey: apiKey, tags: ["agent"], }); const supervisorllm = new ChatOpenAI({ - model: modelConfig?.model || "gpt-4", + model: modelConfig?.model || "gpt-4o", temperature: modelConfig?.temperature || 0, - maxTokens: modelConfig?.max_tokens || 5000, + maxTokens: modelConfig?.max_tokens || 4000, apiKey: apiKey, streaming: true, tags: ["supervisor"],