agentscope-ai / agentscope-ai/agentscope

[Feature]: ChatUsage 支持 cached_token

未关闭
#1,324 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Feature stale-issue
主要语言
Python
星标
31.5k
派生
3.5k
平均合并
1 天 23 小时
30 天内合并 PR
95

描述

**AgentScope is an open-source project. To involve a broader community, we recommend asking your questions in English.**

**Is your feature request related to a problem? Please describe.**
trace 上报时不会携带 cached_token 属性

**Describe the solution you'd like**
ChatUsage 支持 OpenAI SDK 的 prompt_tokens_details.cached_tokens

**Describe alternatives you've considered**

**Additional context**

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。