Claude is unaware of his knowledge cutoff #1312

Closed
opened 2026-02-16 17:30:24 -05:00 by yindo · 5 comments
Owner

Originally created by @tylerlaprade on GitHub (Aug 15, 2025).

Originally assigned to: @rekram1-node on GitHub.

Image

I might just be lucky/unlucky, but I haven't ever seen this happen with the same model in other tools.

Originally created by @tylerlaprade on GitHub (Aug 15, 2025). Originally assigned to: @rekram1-node on GitHub. <img width="612" height="461" alt="Image" src="https://github.com/user-attachments/assets/79cdf281-4ef2-4e6b-9926-7ec659e04203" /> I might just be lucky/unlucky, but I haven't ever seen this happen with the same model in other tools.
yindo closed this issue 2026-02-16 17:30:24 -05:00
Author
Owner

@rekram1-node commented on GitHub (Aug 15, 2025):

I don’t know if there is anything we can do here

@rekram1-node commented on GitHub (Aug 15, 2025): I don’t know if there is anything we can do here
Author
Owner

@tylerlaprade commented on GitHub (Aug 15, 2025):

@rekram1-node, I believe the Beast Mode prompt has a sentence that specifically addresses this, but AFAIK that prompt is not used for Claude models.

EDIT: This is the line I had in mind: https://github.com/sst/opencode/blob/6e0e87fb2ad5cc440cc5455c4e43cafc9d07aff0/packages/opencode/src/session/prompt/beast.txt#L15

@tylerlaprade commented on GitHub (Aug 15, 2025): @rekram1-node, I believe the Beast Mode prompt has a sentence that specifically addresses this, but AFAIK that prompt is not used for Claude models. EDIT: This is the line I had in mind: https://github.com/sst/opencode/blob/6e0e87fb2ad5cc440cc5455c4e43cafc9d07aff0/packages/opencode/src/session/prompt/beast.txt#L15
Author
Owner

@rekram1-node commented on GitHub (Aug 15, 2025):

@tylerlaprade we do already include information about the current date here:

`Here is some useful information about the environment you are running in:`,
        `<env>`,
        `  Working directory: ${app.path.cwd}`,
        `  Is directory a git repo: ${app.git ? "yes" : "no"}`,
        `  Platform: ${process.platform}`,
        `  Today's date: ${new Date().toDateString()}`,
        `</env>`,

I think this is an edge case, if it pops up more we should probably update prompts but I think for now we can just leave it be unless this is a super frequent issue.

What do you think?

@rekram1-node commented on GitHub (Aug 15, 2025): @tylerlaprade we do already include information about the current date [here](https://github.com/sst/opencode/blob/57b04d9eb703c05e4f3c720839d90a94ada5f1af/packages/opencode/src/session/system.ts#L35-L41): ```ts `Here is some useful information about the environment you are running in:`, `<env>`, ` Working directory: ${app.path.cwd}`, ` Is directory a git repo: ${app.git ? "yes" : "no"}`, ` Platform: ${process.platform}`, ` Today's date: ${new Date().toDateString()}`, `</env>`, ``` I think this is an edge case, if it pops up more we should probably update prompts but I think for now we can just leave it be unless this is a super frequent issue. What do you think?
Author
Owner

@tylerlaprade commented on GitHub (Aug 15, 2025):

I wouldn't expect it to infer just from that context that today's date could potentially be radically different from the training date, unless Anthropic has explicitly instructed it to be aware of such discrepancies during post-training. I'll keep you updated if it happens again.

@tylerlaprade commented on GitHub (Aug 15, 2025): I wouldn't expect it to infer just from that context that today's date could potentially be radically different from the training date, unless Anthropic has explicitly instructed it to be aware of such discrepancies during post-training. I'll keep you updated if it happens again.
Author
Owner

@rekram1-node commented on GitHub (Aug 16, 2025):

closing for now, if this happens more often I will reopen, thanks for pointing this out

@rekram1-node commented on GitHub (Aug 16, 2025): closing for now, if this happens more often I will reopen, thanks for pointing this out
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1312