-
Notifications
You must be signed in to change notification settings - Fork 478
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
ai-quota只能查询,无法刷新和增减配额 #1357
Comments
|
看了配置,refresh URL应该是 http://www.domain1.com:30296/v1/chat/completions/quota1/refresh |
这个配置是我自己随便改的,我用quota也不行 |
我的quota只配置了路由级别的,我理解不需要在整个网关层启用的吧 |
我测试一下官方 ai-quota 插件,需要重新拉取一下最新 1.0.0 版本, 我测试下来没有问题。 测试 yaml 配置如下: basic-auth 插件
ai-quota.yaml
这里用 imagePullPolicy: Always 重新拉取插件。 ai-statistic.yaml
同时可以打开 wasm 插件 DEBUG 日志,可以看到更加详细输出。
这是refresh 测试结果如下:
ai-quota DEBUG 日志如下:
|
Console 默认用的应该是 latest 这个 tag。我刚刚把 1.0.0 同步到了 latest 上。你可以随便改一下插件配置让 Higress 重新拉取插件再试一下。 @ilovedumplings |
If you are reporting any crash or any potential security issue, do not
open an issue in this repo. Please report the issue via ASRC(Alibaba Security Response Center) where the issue will be triaged appropriately.
Ⅰ. Issue Description
ai-quota只能查询,无法刷新和增减配额,调用Post的时候超时
Ⅱ. Describe what happened
If there is an exception, please attach the exception trace:
Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)
Ⅴ. Anything else we need to know?
Ⅵ. Environment:
The text was updated successfully, but these errors were encountered: