mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #11829] feat: automatically add temporal information in every prompt by default (switchable off in preference) #16370
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 @Fade78 on GitHub (Mar 18, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/11829
Check Existing Issues
Problem Description
LLM doesn't now the date and time. You have multiple way to add it into context (I tried with tools but tools doesn't seem to understand the timezone, unless specified by the user). I have some very newbies users and it shouldn't require any setting to have temporal information.
Desired Solution you'd like
A setting that an administrator could switch on would include the following in every prompt made by any user of the system. There could be an additional setting to use 12AM/PM or 24H, if the user didn't specify anything.
Emphasis on user timezone which is the main difficulty on my side.
Alternatives Considered
Additional Context
"Give me some news from march 2025"
Use case is a success.
"Give me the latest news"
Use case is a failure.
@Classic298 commented on GitHub (Mar 18, 2025):
You can just add this in the system prompt of every model you add in the admin panel (not sure if that's what you meant by "Putting this prompt snippet in every model").
Adding an extra toggle for such a simple thing will extra complexity to OpenWebUI.
"I have some very newbies users and it shouldn't require any setting to have temporal information."
So did or did you not try to add this to the system prompt of a model? This would ultimately solve this problem you are facing.
@Fade78 commented on GitHub (Mar 19, 2025):
I tried and succeeded to add this to the model prompt. But I have currently 84 models ready to be served and it's a lot to do by hand, especially if you want this to be switchable to off for testing or other purpose.