From c3ca241e5706dc75cf53d1492da68c290969bb62 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Sun, 10 Aug 2025 15:10:50 +0400 Subject: [PATCH] fix: quick actions input --- src/lib/components/chat/ContentRenderer/FloatingButtons.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/chat/ContentRenderer/FloatingButtons.svelte b/src/lib/components/chat/ContentRenderer/FloatingButtons.svelte index ee922f43b1..1bb63515f0 100644 --- a/src/lib/components/chat/ContentRenderer/FloatingButtons.svelte +++ b/src/lib/components/chat/ContentRenderer/FloatingButtons.svelte @@ -104,7 +104,7 @@ // Remove all TOOL placeholders from the prompt prompt = prompt.replace(toolIdPattern, ''); - if (prompt.includes('{{INPUT_CONTENT}}') && !floatingInput) { + if (prompt.includes('{{INPUT_CONTENT}}') && floatingInput) { prompt = prompt.replace('{{INPUT_CONTENT}}', floatingInputValue); floatingInputValue = ''; }