fix: quick actions input

This commit is contained in:
Timothy Jaeryang Baek 2025-08-10 15:10:50 +04:00
parent d5ad0ae862
commit c3ca241e57

View file

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