open-code-review/internal
kite 0d530f3b73 fix(viewer): use real API token usage in session page instead of tiktoken estimates
The session page was showing significantly lower token counts than the console
summary because it used local tiktoken estimation while the console used actual
API-reported usage data. Now SetResponse prefers resp.Usage when available
(falling back to tiktoken), persists cache token fields to JSONL, and the
viewer displays cache read/write stats alongside prompt/completion totals.
2026-06-06 21:17:47 +08:00
..
agent feat(tool): add global git subprocess concurrency limiter and propagate context.Context to diff layer 2026-06-06 20:20:34 +08:00
config feat(config): increase default max tool call rounds from 20 to 30 2026-06-06 20:35:32 +08:00
diff feat(tool): add global git subprocess concurrency limiter and propagate context.Context to diff layer 2026-06-06 20:20:34 +08:00
gitcmd perf(tool): stream file reads line-by-line to avoid full-file memory allocation 2026-06-06 20:59:05 +08:00
llm feat(llm): enable Anthropic prompt caching and fix token accounting 2026-06-06 19:26:34 +08:00
model feat: init 2026-05-20 22:03:52 +08:00
release fix(build): improve Windows support based on PR #13 review feedback 2026-06-02 22:37:27 +08:00
session fix(viewer): use real API token usage in session page instead of tiktoken estimates 2026-06-06 21:17:47 +08:00
stdout style: apply go fmt formatting 2026-06-03 17:34:28 +08:00
suggestdiff feat: init 2026-05-20 22:03:52 +08:00
telemetry feat(llm): enable Anthropic prompt caching and fix token accounting 2026-06-06 19:26:34 +08:00
tool perf(tool): stream file reads line-by-line to avoid full-file memory allocation 2026-06-06 20:59:05 +08:00
viewer fix(viewer): use real API token usage in session page instead of tiktoken estimates 2026-06-06 21:17:47 +08:00