Caching doesn’t work the way the bug reporter implies. Caches are shared (at least across the enterprise), but its key is always a function of the input before it. We achieved significant savings simply by moving everything that varies across individuals out of the system prompt so every session starts from a cache point. For example you never want your system prompt to start with the time that the session started. M…
Potential session/cache leakage between workspace instances or consumer accounts
11–20 of 151 posts
Re: Potential session/cache leakage between workspace instances or consumer accounts
#12Caching doesn’t work the way the bug reporter implies. Caches are shared (at least across the enterprise), but its key is always a function of the input before it. We achieved significant savings simply by moving everything that varies across individuals out of the system prompt so every session starts from a cache point. For example you never want your system prompt to start with the time that the session started. M…
Re: Potential session/cache leakage between workspace instances or consumer accounts
#13Re: Potential session/cache leakage between workspace instances or consumer accounts
#14Sounds like a hallucination unless proven otherwise, even the leading LLMs can do those from time to time, and they will always appear plausible like that. Also could be the session having a lot previous context, like 800K+, which (I think) makes hallucinations more likely. Relevant comment from the OP which makes a hallucination more likely: > There is one tool call result that includes a string that printed a pathn…
> Same thing just happened on a Claude Mobile session in same Enterprise account. Common theme in both is Sonnet 5, first response after more than 5 minutes (cache miss).
Re: Potential session/cache leakage between workspace instances or consumer accounts
#15Caching doesn’t work the way the bug reporter implies. Caches are shared (at least across the enterprise), but its key is always a function of the input before it. We achieved significant savings simply by moving everything that varies across individuals out of the system prompt so every session starts from a cache point. For example you never want your system prompt to start with the time that the session started. M…
Caching is not supposed to work like that, but that doesn’t preclude the cache key computation function from having bugs.
Re: Potential session/cache leakage between workspace instances or consumer accounts
#16Earlier quoted context omitted.
"Coding is largely solved"
While abused by LLM vendors, that phrase in one form or another I've been hearing since the early '00s and it's likely way older.
Re: Potential session/cache leakage between workspace instances or consumer accounts
#17Is there anything particular about LLMs that would make separating customer data harder than in all SaaS cases?
Re: Potential session/cache leakage between workspace instances or consumer accounts
#18Re: Potential session/cache leakage between workspace instances or consumer accounts
#19Is there anything particular about LLMs that would make separating customer data harder than in all SaaS cases?