feat: add ai cost tracking foundation

This commit is contained in:
2026-07-31 16:24:35 +08:00
parent ec9f8a015a
commit a84650bb9e
14 changed files with 327 additions and 2 deletions

View File

@@ -649,6 +649,10 @@ AI 日志增加:
- 不同问题类型可以走不同模型;
- 日志能解释为什么选这个模型。
#### 开发进度
- 2026-07-31一期已新增模型输入/输出千 Token 单价、币种、适用场景和可用能力字段AI 请求日志记录模型 ID、估算成本、币种、问题类型、知识命中和路由原因数据看板展示筛选范围内估算成本。暂未自动切换模型避免影响正式回答稳定性后续再基于这些字段做模型分流。
---
### 10. 用户端“我的实修档案”