cost

按仓库与会话记录缓存加权后的等效 token:把每个 DSH 会话折算成一个数字,保留最近若干会话的历史,遇到未知模型时用默认权重兜底而不是拒绝运行,并通过 /te-cost 打印合计。

模型与费用Apache-2.0☆ 0

插件介绍

按仓库与会话记录缓存加权后的等效 token:把每个 DSH 会话折算成一个数字,保留最近若干会话的历史,遇到未知模型时用默认权重兜底而不是拒绝运行,并通过 /te-cost 打印合计。

安装方式

通过 npm 安装

dsh plugin --profile web add dsh-te-cost

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。

安装提示

  • 可能调用终端命令