From f4cae6fb49603d52c4e387ff5df60c346931f36a Mon Sep 17 00:00:00 2001 From: Classic298 <27028174+Classic298@users.noreply.github.com> Date: Fri, 23 May 2025 08:33:21 +0200 Subject: [PATCH] Update Prompts.svelte --- src/lib/components/chat/MessageInput/Commands/Prompts.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();