Time Injector extension: inject current date/time into every prompt (prevents “still 2024” drift) #7392
mistbyte-ai
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Time Injector extension: inject current date/time into every prompt (prevents “still 2024” drift)
Hi! I made a small extension for text-generation-webui that injects a strict “time anchor” into every prompt.
It adds 4 machine-readable lines:
CURRENT_UTC_DATETIMECURRENT_LOCAL_DATETIMEUTC_OFFSET_MINUTESLOCAL_TIME_OF_DAYThis helps a lot with models that tend to drift without a real current date/time (especially in long chats / long context).
Repo: https://github.com/mistbyte-ai/time-injector-mistbyte
Beta Was this translation helpful? Give feedback.
All reactions