| ▲ | simonw a day ago | |||||||||||||||||||||||||||||||
Including the date in the system prompt - at the cost of a cache invalidation at midnight - is an entirely reasonable decision. Most other harnesses do the same thing. Including the full datetime would be irresponsible, but that's not what OpenCode does. | ||||||||||||||||||||||||||||||||
| ▲ | wren6991 21 hours ago | parent [-] | |||||||||||||||||||||||||||||||
It felt unreasonable when I was using it at midnight and had to wait 10 minutes to refill the KV cache on my local GPU :-) A simple solution here would be to evaluate the date once per session, or once each time the `opencode` binary is launched (to avoid old, long-running sessions getting stuck in the past). | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||