mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 20:07:49 +01:00
fix: quick actions input
This commit is contained in:
@@ -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