docs: document package KV cache effects

This commit is contained in:
Tianyi Cui
2026-07-19 17:39:50 +08:00
parent b3c4b732d8
commit bcc920369c
93 changed files with 366 additions and 34 deletions

View File

@@ -44,6 +44,8 @@ Unit suites drive a real agent loop against a mock adapter (no network) and cove
**Token effect**: Zero tokens before the threshold. The reminder is retained history for that agent.
**KV Cache effect**: Append-only; newly visible content follows the reusable request prefix and does not invalidate existing KV-cache entries.
#### First-threshold reminder
```markdown
@@ -56,6 +58,8 @@ You are repeating the exact same tool call with identical arguments. Carefully a
**Token effect**: Each reminder is retained history; `argumentsPreviewChars` bounds its data-dependent argument text, while agents keep independent counters.
**KV Cache effect**: Append-only; newly visible content follows the reusable request prefix and does not invalidate existing KV-cache entries.
#### Later-threshold reminder
```markdown