Skip to content

[Feature] 部分链路的 LLM 请求的 token 未被记录 #7373

@Foolllll-J

Description

@Foolllll-J

Description / 描述

v4.22.3 更新的数据统计可以记录 llm 调用与 token 花费,但一些来自插件的直接调用无法统计到,希望这部分也可以加入统计

Use Case / 使用场景

更全面地展示调用的模型与耗费的 token

Willing to Submit PR? / 是否愿意提交PR?

  • Yes, I am willing to submit a PR. / 是的,我愿意提交 PR。

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:coreThe bug / feature is about astrbot's core, backendenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions