juzeon / poe-openai-proxy

A wrapper that lets you use the reverse-engineered Python library poe-api library as if it was the OpenAI API for ChatGPT. You can connect your favorite OpenAI API based apps to this proxy and enjoy the ChatGPT API for free!
GNU General Public License v3.0
424 stars 98 forks source link

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

Open fkx816 opened 1 year ago

fkx816 commented 1 year ago

目前支持一分钟内一个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 commented 1 year ago

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

可以再讨论。