mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #16154] issue: Create prompt does not allow underscore in command #33332
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 @erhhung on GitHub (Jul 30, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/16154
Check Existing Issues
Installation Method
Other
Open WebUI Version
v0.6.18
Ollama Version (if applicable)
No response
Operating System
macOS 15.5
Browser (if applicable)
Arc
Confirmation
README.md.Expected Behavior
When creating a new prompt under
Workspace>Prompts, the UI forbids the prompt's/command to contain the underscore (_) character. It requires the command to contain only alphanumeric and hyphen (-) characters.While this could be interpreted as a bug in the Prompts Examples documentation, I see no reason why a prompt command cannot use underscores when hyphens are allowed.
Actual Behavior
I tried to copy the prompt examples in the documentation, but the prompt command failed naming validation.
Steps to Reproduce
Workspace>Prompts/command with an underscore (_)Save & CreatebuttonLogs & Screenshots
Error bubble pops up upon clicking the
Save & Createbutton:"Only alphanumeric characters and hyphens are allowed in the command string."
Additional Information
No response
@tjbck commented on GitHub (Jul 31, 2025):
Should be addressed with 05895d9657f7dd15526916cb706c2b68c2a37ed2!