diff --git a/src/lib/components/chat/MessageInput.svelte b/src/lib/components/chat/MessageInput.svelte
index aa79720bd1..5c81683280 100644
--- a/src/lib/components/chat/MessageInput.svelte
+++ b/src/lib/components/chat/MessageInput.svelte
@@ -1420,30 +1420,32 @@
- {
- await tick();
+ {#if showWebSearchButton || showImageGenerationButton || showCodeInterpreterButton || showToolsButton || (toggleFilters && toggleFilters.length > 0)}
+ {
+ await tick();
- const chatInput = document.getElementById('chat-input');
- chatInput?.focus();
- }}
- >
-
-
-
-
+
+
+
+
+ {/if}
{#if showToolsButton}