diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte
index 0bd789679..3b3c9cf61 100644
--- a/src/lib/components/chat/Chat.svelte
+++ b/src/lib/components/chat/Chat.svelte
@@ -1679,25 +1679,6 @@
- {
- const model = $models.find((m) => m.id === e);
- if (model) {
- return [...a, model];
- }
- return a;
- }, [])}
- bind:show={showControls}
- bind:chatFiles
- bind:params
- bind:files
- {submitPrompt}
- {stopResponse}
- modelId={selectedModelIds?.at(0) ?? null}
- chatId={$chatId}
- {eventTarget}
-/>
-
{/if}
+
+ {
+ const model = $models.find((m) => m.id === e);
+ if (model) {
+ return [...a, model];
+ }
+ return a;
+ }, [])}
+ bind:show={showControls}
+ bind:chatFiles
+ bind:params
+ bind:files
+ {submitPrompt}
+ {stopResponse}
+ modelId={selectedModelIds?.at(0) ?? null}
+ chatId={$chatId}
+ {eventTarget}
+/>