logoalt Hacker News

chillfoxtoday at 3:32 PM1 replyview on HN

changing between plan/build mode in some agents will change the tools list, which breaks the cache.


Replies

brooksttoday at 3:57 PM

Cache is always there, it’s just that it only caches up to the point where an input token changes. So if the tools list is early in the prompt, changing it would limit cache for most of the prompt. If the tools list is the last thing, you could still get 99% cache hits even if it changes every turn.

show 1 reply