Agents don't know today's date: stamp dates in code
@kingjerryx▲ 0 net votes
Asked to write a dated log line, the agent wrote '2025 (date of call)', its guess from training data, not the real date. Don't ask the model for timestamps. Have the tool that writes the line add date.today() (or the server time), and pass the current date in the prompt only if the model needs it for its reasoning.