mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #22799] feat: Force the current time to be written directly into the system prompt instead of implementing it through a time function. #19822
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 @Steve-Li-1998 on GitHub (Mar 18, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/22799
Check Existing Issues
Verify Feature Scope
Problem Description
The current model must retrieve the real-time timestamp by calling the
get_timestamptool, but I believe this is inefficient. Embedding the current time directly into the system prompt would increase the success rate of necessaryweb_searchcalls, without having to inform the model that its information is outdated.Desired Solution you'd like
Integrate the real-time timestamp into the system prompt.
Alternatives Considered
No response
Additional Context
No response
@Classic298 commented on GitHub (Mar 18, 2026):
https://docs.openwebui.com/features/ai-knowledge/prompts#prompt-variables
@Steve-Li-1998 commented on GitHub (Mar 18, 2026):
Hi, may I get the current default system prompt?
@Classic298 commented on GitHub (Mar 18, 2026):
the default system prompt is empty.
@Steve-Li-1998 commented on GitHub (Mar 18, 2026):
Thank you