Skip to content
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

令牌查询额度的问题 #330

Closed
woodchen-ink opened this issue Aug 13, 2024 · 2 comments
Closed

令牌查询额度的问题 #330

woodchen-ink opened this issue Aug 13, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@woodchen-ink
Copy link
Contributor

image
目前切换是在这里

  1. 如果启用了, 那么就无法查询令牌的设置额度(有限);
  2. 如果不启用, 当令牌额度设置为无限的时候, 查出来的额度是$99999965.76这样.

希望的效果

当令牌额度有限时, 查出来是令牌的额度.
当令牌额度无限时, 查出来是账户的额度.

@woodchen-ink woodchen-ink added the enhancement New feature or request label Aug 13, 2024
@MartialBE
Copy link
Owner

删除了后台设置 Billing 相关 API 显示令牌额度而非用户额度 设置。
直接按照下面规则返回数据:
当令牌额度有限时, 查出来是令牌的额度.
当令牌额度无限时, 查出来是账户的额度.

@woodchen-ink
Copy link
Contributor Author

TKS~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants