mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-24 08:24:46 +00:00
- 完善message_delta中usage数据提取逻辑,支持提取input_tokens、cache_read_input_tokens等所有字段 - 添加兜底保护机制,确保流结束时不会丢失未保存的usage数据 - 提升关键日志级别从debug到info,便于问题排查 - 修复流式请求中input_tokens和cache_read_input_tokens为0的统计bug 作者: DokiDoki1103 PR: https://github.com/Wei-Shaw/claude-relay-service/pull/548