penguineer / HareAIris

A software bridge connecting RabbitMQ to the OpenAI API
MIT License
1 stars 0 forks source link

Add simple rate limiting #6

Closed penguineer closed 3 weeks ago

penguineer commented 1 month ago

Try to use resilience4j to add simple rate-limiting on serivce calls.

This has still some short-comings and since the OpenAI service gives backpressure information itself, it might be better to use that.

Leaving it as a draft PR for the time being.