Skip to content

Make datetime info message more explicit to prevent LLM confusion about current year #3

@tlongwell-block

Description

@tlongwell-block

Problem

Users are reporting that Goose defaults to thinking it's 2024 even when the info message contains the correct 2025 datetime. This has been observed in version 1.15.0-block.202511212016-e9b9d.

Current Behavior

The current info message format is:

<info-msg>
Datetime: 2025-12-10 19:01:27

</info-msg>

Despite this message being present near the top of the context, the LLM still defaults to 2024 when making queries (e.g., looking at 2024 data instead of 2025 data).

Proposed Solution

Make the datetime message more verbose and explicit, such as:

<info-msg>
It is currently 2025-12-10 19:01:27

</info-msg>

Or even more explicit:

<info-msg>
The current date and time is: 2025-12-10 19:01:27
The current year is: 2025

</info-msg>

This would make it clearer to the LLM what the actual current date/time is, reducing confusion about which year's data to query.

@goose go ahead and get on this. Thanks

Additional Context

  • Reported by: @jom in #goose-help
  • Version: 1.15.0-block.202511212016-e9b9d
  • The issue occurs consistently across multiple chat windows
  • Users currently have to explicitly tell Goose "it's currently December 2025" to work around this

cc: @tlongwell-block

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions