mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-10-16 13:20:43 +08:00
Fix unittests, set strategy for rate limter
This commit is contained in:
@@ -68,7 +68,8 @@ class Backend_Api(Api):
|
||||
app=app,
|
||||
default_limits=["200 per day", "50 per hour"],
|
||||
storage_uri="memory://",
|
||||
auto_check=False
|
||||
auto_check=False,
|
||||
strategy="moving-window",
|
||||
)
|
||||
|
||||
if has_flask_limiter and app.demo:
|
||||
|
Reference in New Issue
Block a user