0
代码介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
0
  1. PilotDeck
  2. /
  3. src
  4. /
  5. model
  6. /
  7. response
Kaguya-19Kaguya-19refactor: enhance token usage normalization and cost calculations
ae3c0202创建于 12 天前历史提交
文件最后提交记录最后更新时间
normalizeFinishReason.ts
feat: add model runtime foundation Co-authored-by: Cursor <cursoragent@cursor.com> 26 天前
normalizeUsage.ts
refactor: enhance token usage normalization and cost calculations Updated the normalizeOpenAIUsage function to improve token calculations by introducing cache read and write tokens. Adjusted the TokenStatsCollector to account for cache write costs in total calculations and refined baseline cost handling. This ensures more accurate cost estimations and better reflects usage metrics. 12 天前
parseModelResponse.ts
feat: add model runtime foundation Co-authored-by: Cursor <cursoragent@cursor.com> 26 天前