mirror of
https://github.com/alibaba/open-code-review.git
synced 2026-07-10 01:39:12 +00:00
Add cache_control ephemeral breakpoints on system prompt and tool definitions to activate Anthropic prompt caching for multi-turn agent loops. Fix token double-counting by removing the redundant totalTokensUsed accumulator and computing it from sub-items. Surface cache read/write statistics in both text and JSON summary output. |
||
|---|---|---|
| .. | ||
| bpe_data | ||
| client.go | ||
| client_test.go | ||
| embedded_loader.go | ||
| resolver.go | ||
| resolver_test.go | ||
| usage_resolver.go | ||