diff --git a/web/src/app/chat/input/ChatInputBar.tsx b/web/src/app/chat/input/ChatInputBar.tsx
index 31e26ce01..231fb03de 100644
--- a/web/src/app/chat/input/ChatInputBar.tsx
+++ b/web/src/app/chat/input/ChatInputBar.tsx
@@ -56,7 +56,7 @@ export function ChatInputBar({
}, [message]);
const { llmProviders } = useChatContext();
- const [_, llmName] = getFinalLLM(llmProviders, selectedAssistant);
+ const [_, llmName] = getFinalLLM(llmProviders, selectedAssistant, null);
return (
diff --git a/web/src/app/chat/modal/configuration/AssistantsTab.tsx b/web/src/app/chat/modal/configuration/AssistantsTab.tsx
index d5a6b4d44..220adc250 100644
--- a/web/src/app/chat/modal/configuration/AssistantsTab.tsx
+++ b/web/src/app/chat/modal/configuration/AssistantsTab.tsx
@@ -19,7 +19,7 @@ export function AssistantsTab({
llmProviders,
onSelect,
}: AssistantsTabProps) {
- const [_, llmName] = getFinalLLM(llmProviders, null);
+ const [_, llmName] = getFinalLLM(llmProviders, null, null);
return (
<>
diff --git a/web/src/app/chat/modal/configuration/LlmTab.tsx b/web/src/app/chat/modal/configuration/LlmTab.tsx
index 74ece8af5..a4fd5259b 100644
--- a/web/src/app/chat/modal/configuration/LlmTab.tsx
+++ b/web/src/app/chat/modal/configuration/LlmTab.tsx
@@ -34,7 +34,7 @@ export function LlmTab({
debouncedSetTemperature(value);
};
- const [_, defaultLlmName] = getFinalLLM(llmProviders, currentAssistant);
+ const [_, defaultLlmName] = getFinalLLM(llmProviders, currentAssistant, null);
const llmOptions: { name: string; value: string }[] = [];
const structureValue = (