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

能否支持更灵活的cool down设定? #28

Open
fkx816 opened this issue Jun 15, 2023 · 1 comment
Open

能否支持更灵活的cool down设定? #28

fkx816 opened this issue Jun 15, 2023 · 1 comment

Comments

@fkx816
Copy link

fkx816 commented Jun 15, 2023

目前支持一分钟内一个token的频率限制和一个token在几秒内只能用一次,能否将上面的所有数值都能开放设定?比如可以自己设定十分钟内一个token只能用30次
下面是已有的可设定参数

Rate limit. Default to 10 api calls per token in 1 minute

rate-limit = 10

Cool down of seconds. One same token cannot be used more than once in n seconds

cool-down = 3

@juzeon
Copy link
Owner

juzeon commented Jun 15, 2023

个人目前认为没有必要,因为根据poe-api的用户反馈,poe实际上是按照分钟限流的。

可以再讨论。

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

No branches or pull requests

2 participants