Youssef Benhammouda
Results
1
issues of
Youssef Benhammouda
``` rate_limiter = ChatRateLimiterWithRedis( request_limit=1, token_limit=40000, redis_url="redis://localhost:6379" ) chat_params = { "model": "gpt-4", "messages": [{"role": "user", "content": "Hello!"}], } with rate_limiter.limit(**chat_params): response = openai.ChatCompletion.create(**chat_params) ``` The code above is hanging...