anarchy-ai / LLM-VM

irresponsible innovation. Try now at https://chat.dev/
https://anarchy.ai/
MIT License
477 stars 148 forks source link

AttributeError: module 'openai' has no attribute 'error' #390 - corre… #392

Closed bpanahij closed 10 months ago

bpanahij commented 10 months ago

…cting reference to RateLimitError

This is the first part of a fix for this issue, caused when there is not enough backoff to stay under the rate limit

-- The openai library interface changed, so that now RateLimitError is at the top level of the module: openai.RateLimitError. This is the only place in the entire codebase where the old reference exists.