mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-17 08:21:12 -05:00
[GH-ISSUE #17813] issue: Variables in model recommended prompts #18404
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @aleksanderson94 on GitHub (Sep 27, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17813
Check Existing Issues
Installation Method
Pip Install
Open WebUI Version
v0.6.31
Ollama Version (if applicable)
No response
Operating System
macOS Sequoia
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Clicking a recommended prompt that contains a variable opens an input field for that variable.
Actual Behavior
A recommended prompt with a variable, created in the workspace, has been added to the model. When the prompt is clicked from the recommended list, it adds the command to the chat, but the input field for the variable doesn't pop up.
Steps to Reproduce
Logs & Screenshots
Additional Information
No response
@rgaricano commented on GitHub (Sep 27, 2025):
Add the variable type:
My sign: {{sign | text}}If you want it as required (can't be empty):
My sign: {{sign | text:required}}@aleksanderson94 commented on GitHub (Sep 27, 2025):
It works fine when the prompt is triggered by a command in the chat, but it fails when selected from the recommended list.
@tjbck commented on GitHub (Sep 27, 2025):
Intended behaviour, you should set the prompt directly to the suggestion prompts.
@aleksanderson94 commented on GitHub (Sep 28, 2025):
Up to version 0.6.26, it was possible to specify just the command in the recommended prompts, rather than the entire prompt with all its variables. Now this has become inconvenient for several reasons:
This looks like a bug related to using prompts with variables, or at the very least, a less convenient functionality than in previous versions. I kindly ask you to fix this in future updates.