qyle commited on
Commit
0a52db6
·
verified ·
1 Parent(s): 0ef1f88

higher rate limit

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -169,7 +169,7 @@ limiter = Limiter(key_func=get_remote_address)
169
 
170
 
171
  @app.post("/chat")
172
- @limiter.limit("20/minute")
173
  async def chat_endpoint(
174
  payload: ChatRequest, background_tasks: BackgroundTasks, request: Request
175
  ):
 
169
 
170
 
171
  @app.post("/chat")
172
+ @limiter.limit("450/minute")
173
  async def chat_endpoint(
174
  payload: ChatRequest, background_tasks: BackgroundTasks, request: Request
175
  ):