fix: quick actions input
This commit is contained in:
1 parent
d5ad0ae862
commit
c3ca241e57
1 file changed
+1
-1
@@ -104,7 +104,7 @@
|
|||||||
// Remove all TOOL placeholders from the prompt
|
// Remove all TOOL placeholders from the prompt
|
||||||
prompt = prompt.replace(toolIdPattern, '');
|
prompt = prompt.replace(toolIdPattern, '');
|
||||||
|
|
||||||
if (prompt.includes('{{INPUT_CONTENT}}') && !floatingInput) {
|
if (prompt.includes('{{INPUT_CONTENT}}') && floatingInput) {
|
||||||
prompt = prompt.replace('{{INPUT_CONTENT}}', floatingInputValue);
|
prompt = prompt.replace('{{INPUT_CONTENT}}', floatingInputValue);
|
||||||
floatingInputValue = '';
|
floatingInputValue = '';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user