Timothy Jaeryang Baek 6 месяцев назад
Родитель
Сommit
c3ca241e57
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/lib/components/chat/ContentRenderer/FloatingButtons.svelte

+ 1 - 1
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 = '';
 		}