mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-25 01:36:29 -05:00
[GH-ISSUE #16019] issue: Prompt variables (e.g., {{CURRENT_DATETIME}}) in Folder's System Prompt are not rendered #17756
Reference in New Issue
Block a user
Originally created by @GSAlex on GitHub (Jul 25, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/16019
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.18
Ollama Version (if applicable)
No response
Operating System
Debian
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
The system message in the request payload sent to the LLM should contain the rendered prompt, with the {{CURRENT_DATETIME}} variable replaced by the actual date and time.
This is the screenshot of folder setting.
Actual Behavior
The system message in the request payload contains the raw, un-rendered prompt. The {{CURRENT_DATETIME}} variable is passed as a literal string.
Steps to Reproduce
Logs & Screenshots
Browser console and Docker logs gives no error.
Additional Information
No response
@rgaricano commented on GitHub (Jul 25, 2025):
Confirmed,
within folder prompted:
Normal Chat (without folder):
@silentoplayz commented on GitHub (Jul 26, 2025):
I can confirm this issue as well!



@GSAlex commented on GitHub (Jul 27, 2025):
Opened a PR to address this: #16071 . Hope this helps.