Originally created by @CookSleep on GitHub (Feb 22, 2025).
Is your feature request related to a problem? Please describe.
If the model could know the sending time of the current message, I believe it would greatly improve the model's response effect in many scenarios. (I have also experienced this in other open source projects.)
Describe the solution you'd like
Support adding current date and time variables in the system prompt
Describe alternatives you've considered
I tried a function, but it works by adding a piece of text at the beginning of the message, which seriously affects the aesthetics of the conversation history (adding a large and obtrusive prompt), and its time zone setting is problematic, I cannot change the time zone correctly.
I believe that introducing current date and time variables in the system prompt can completely eliminate this shortcoming and bring a better experience
Originally created by @CookSleep on GitHub (Feb 22, 2025).
**Is your feature request related to a problem? Please describe.**
If the model could know the sending time of the current message, I believe it would greatly improve the model's response effect in many scenarios. (I have also experienced this in other open source projects.)
Describe the solution you'd like
Support adding current date and time variables in the system prompt
**Describe alternatives you've considered**
I tried a function, but it works by adding a piece of text at the beginning of the message, which seriously affects the aesthetics of the conversation history (adding a large and obtrusive prompt), and its time zone setting is problematic, I cannot change the time zone correctly.
I believe that introducing current date and time variables in the system prompt can completely eliminate this shortcoming and bring a better experience
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @CookSleep on GitHub (Feb 22, 2025).
Is your feature request related to a problem? Please describe.
If the model could know the sending time of the current message, I believe it would greatly improve the model's response effect in many scenarios. (I have also experienced this in other open source projects.)
Describe the solution you'd like
Support adding current date and time variables in the system prompt
Describe alternatives you've considered
I tried a function, but it works by adding a piece of text at the beginning of the message, which seriously affects the aesthetics of the conversation history (adding a large and obtrusive prompt), and its time zone setting is problematic, I cannot change the time zone correctly.
I believe that introducing current date and time variables in the system prompt can completely eliminate this shortcoming and bring a better experience
@tjbck commented on GitHub (Feb 22, 2025):
Is supported.