diff --git a/src/lib/components/chat/MessageInput/Commands/Prompts.svelte b/src/lib/components/chat/MessageInput/Commands/Prompts.svelte index 7a7251be3..9d49cee25 100644 --- a/src/lib/components/chat/MessageInput/Commands/Prompts.svelte +++ b/src/lib/components/chat/MessageInput/Commands/Prompts.svelte @@ -23,7 +23,7 @@ let filteredPrompts = []; $: { - if (command && command.length > 1) { + if (command && command.length > 0) { const commandName = command.substring(1).toLowerCase(); const cleanedCommandName = commandName.replace(/<\/?p>/gi, '').trim();