Files
cc-switch/src-tauri
T
YoVinchen 3a692c84fb fix(proxy): improve usage logging and cache token parsing
- Log requests even when usage parsing fails (with default values)
- Add detailed debug logging for usage metrics
- Support cache_read_input_tokens field in Codex responses
- Fallback to input_tokens_details.cached_tokens if needed
- Add test case for cached_tokens in input_tokens_details
- Ensure all requests are tracked in database for analytics

This fixes missing request logs when API responses lack usage data
and improves cache token detection across different response formats.
3a692c84fb ยท 2025-12-30 18:58:01 +08:00
History
..
2025-11-22 19:18:35 +08:00
2025-12-21 21:10:00 +08:00
2025-12-30 09:03:53 +08:00
2025-12-30 09:03:53 +08:00
2025-12-30 09:03:53 +08:00