-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
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
如何获取 花费的 token 数? #231
Comments
我有一樣的問題,有人能回覆嗎? |
俺也一样 |
当stream = true时,接口不会返回tokenNum,需要用户自己去计算 |
Closing this due to lack of comments for an extended period. Hopefully, the proposed solution has resolved your issue. |
4 tasks
Related: #62 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题:
为什么 1.6.1 取消了 response.Usage 对象?
也就是说,现在 无法得知 返回内容 花费的 token 了。。
有什么办法 得知么?
The text was updated successfully, but these errors were encountered: