open-code-review/cmd/opencodereview
kite 08bb28ced5 feat(llm): enable Anthropic prompt caching and fix token accounting
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.
2026-06-06 19:26:34 +08:00
..
config_cmd.go refactor(config): rename config directory from .open-code-review to .opencodereview 2026-05-25 23:07:36 +08:00
flags.go feat(cli): add --max-tools flag to control max tool call rounds per file 2026-06-01 20:04:24 +08:00
git.go feat(cli): auto-load commit message as background in commit review mode 2026-06-04 11:54:14 +08:00
llm_cmd.go refactor(config): rename config directory from .open-code-review to .opencodereview 2026-05-25 23:07:36 +08:00
main.go feat(cli): display GitHub repository URL in version and help output 2026-06-02 22:50:36 +08:00
output.go feat(llm): enable Anthropic prompt caching and fix token accounting 2026-06-06 19:26:34 +08:00
review_cmd.go feat(llm): enable Anthropic prompt caching and fix token accounting 2026-06-06 19:26:34 +08:00
rules_cmd.go feat(rules): add ocr rules check command to preview effective rule for a file path 2026-05-26 22:11:39 +08:00
version.go feat(cli): display GitHub repository URL in version and help output 2026-06-02 22:50:36 +08:00
viewer_cmd.go feat: init 2026-05-20 22:03:52 +08:00