We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
补全的价格是提示的两倍,但是现在实际计算的时候是按照 tokens 的总和扣除额度
"usage": { "completion_tokens": 13, "prompt_tokens": 17, "total_tokens": 30 }
目前倍率设置为15的情况下,扣除了450额度 正确的情况是扣除 (17+13*2)*15=645
或者提示和补全可以分别自定义倍率
The text was updated successfully, but these errors were encountered:
Okay,主要是不同模型 token 消耗计算方式不一样,为了省事这样搞的。
我先想一想怎么处理比较方便。
Sorry, something went wrong.
d9db16e
已修复,已推送 v0.2.2,期待测试反馈。
v0.2.2
🐛 fix: stream mode delay issue (songquanpeng#53)
d7193b8
No branches or pull requests
补全的价格是提示的两倍,但是现在实际计算的时候是按照 tokens 的总和扣除额度
目前倍率设置为15的情况下,扣除了450额度
正确的情况是扣除 (17+13*2)*15=645
或者提示和补全可以分别自定义倍率
The text was updated successfully, but these errors were encountered: