[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

Closed
opened 2026-04-20 02:19:22 -05:00 by GiteaMirror · 4 comments
Owner

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

  • I have searched for all existing open AND closed issues and discussions for similar requests. I have found none that is comparable to my request.

Verify Feature Scope

  • I have read through and understood the scope definition for feature requests in the Issues section. I believe my feature request meets the definition and belongs in the Issues section instead of the Discussions.

Problem Description

The current model must retrieve the real-time timestamp by calling the get_timestamp tool, but I believe this is inefficient. Embedding the current time directly into the system prompt would increase the success rate of necessary web_search calls, 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

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 - [x] I have searched for all existing **open AND closed** issues and discussions for similar requests. I have found none that is comparable to my request. ### Verify Feature Scope - [x] I have read through and understood the scope definition for feature requests in the Issues section. I believe my feature request meets the definition and belongs in the Issues section instead of the Discussions. ### Problem Description The current model must retrieve the real-time timestamp by calling the `get_timestamp` tool, but I believe this is inefficient. Embedding the current time directly into the system prompt would increase the success rate of necessary `web_search` calls, 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_
Author
Owner

@Classic298 commented on GitHub (Mar 18, 2026):

https://docs.openwebui.com/features/ai-knowledge/prompts#prompt-variables

<!-- gh-comment-id:4083395487 --> @Classic298 commented on GitHub (Mar 18, 2026): https://docs.openwebui.com/features/ai-knowledge/prompts#prompt-variables
Author
Owner

@Steve-Li-1998 commented on GitHub (Mar 18, 2026):

Hi, may I get the current default system prompt?

<!-- gh-comment-id:4083411278 --> @Steve-Li-1998 commented on GitHub (Mar 18, 2026): Hi, may I get the current default system prompt?
Author
Owner

@Classic298 commented on GitHub (Mar 18, 2026):

the default system prompt is empty.

<!-- gh-comment-id:4083424999 --> @Classic298 commented on GitHub (Mar 18, 2026): the default system prompt is empty.
Author
Owner

@Steve-Li-1998 commented on GitHub (Mar 18, 2026):

Thank you

<!-- gh-comment-id:4083430779 --> @Steve-Li-1998 commented on GitHub (Mar 18, 2026): Thank you
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#19822