qwen-code/packages/cli
pomelo-nwu 3bfe34a1dc telemetry: track cached content tokens for accurate context calculation
- Add cachedContentTokenCount tracking in uiTelemetry service
- Collect cached_content_token_count from streaming usage metadata
- Use cached tokens instead of estimated overhead when available
- Fix messages token calculation to avoid 'messages = 0' issue

This improves context window display accuracy when using providers
that support prefix caching (e.g., DashScope).

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-18 17:51:50 +08:00
..
src telemetry: track cached content tokens for accurate context calculation 2026-03-18 17:51:50 +08:00
index.ts fix(cli): suppress Windows pty resize race condition 2026-03-11 18:40:04 +08:00
package.json chore: bump version to 0.13.0 2026-03-18 10:41:32 +08:00
test-setup.ts # 🚀 Sync Gemini CLI v0.2.1 - Major Feature Update (#483) 2025-09-01 14:48:55 +08:00
tsconfig.json feat: move extension to core package 2026-01-14 15:30:27 +08:00
vitest.config.ts refactor(core): Unify package exports and improve dev experience 2026-02-01 11:59:05 +08:00