Fork
0
代码
介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
Fork
0
main
PilotDeck
/
src
/
model
/
response
下载当前目录
Kaguya-19
refactor: 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 天前