diff --git a/servers/nextjs/components/Home.tsx b/servers/nextjs/components/Home.tsx index 3c1ebeb3..f3941d1d 100644 --- a/servers/nextjs/components/Home.tsx +++ b/servers/nextjs/components/Home.tsx @@ -61,7 +61,6 @@ export default function Home() { isDisabled: true, text: "Saving Configuration..." })); - console.log("llmConfig", llmConfig); await handleSaveLLMConfig(llmConfig); if (llmConfig.LLM === "ollama" && llmConfig.OLLAMA_MODEL) { const isPulled = await checkIfSelectedOllamaModelIsPulled(llmConfig.OLLAMA_MODEL); diff --git a/servers/nextjs/components/LLMSelection.tsx b/servers/nextjs/components/LLMSelection.tsx index bdb1d857..670d1c00 100644 --- a/servers/nextjs/components/LLMSelection.tsx +++ b/servers/nextjs/components/LLMSelection.tsx @@ -139,6 +139,7 @@ export default function LLMProviderSelection({ useEffect(() => { if (llmConfig.LLM === "ollama") { + setOllamaConfigHandler(); fetchOllamaModels(); } }, [llmConfig.LLM]);