[KongchangAI]
Unverified50% confidenceSolutionExact time

If sliding-window memory slides once per turn, it causes the tokens at the beginning of the history to change, invalidating the entire KV cache of the history; the fix is batch eviction (for example, growing from 20 to 40 and then cutting back to 20 all at once), so that the cache keeps hitting between two trims.

1
Sources
50%
Confidence
Long-term
Relevance
10/16/2026
First Seen

Sources

Related Entities

Related Claims

Cite This Claim

Stable URI
https://kongchang.com/claim/1048068
API
curl https://kongchang.com/api/v1/knowledge/claims/1048068
MCP
get_claim(id=1048068)