ix
ix copied to clipboard
Gracefully handle quota issues
3d-b129-d4d6d8311c50 message_id=bd76ec63-538b-46c2-bec3-a306b0decd27 error_type=RateLimitError 2023-12-22 14:24:45 [2023-12-22 20:24:45,459: ERROR/MainProcess] @@@@ EXECUTE ERROR Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}} 2023-12-22 14:24:45 [2023-12-22 20:24:45,477: ERROR/MainProcess] File "/var/app/ix/utils/asyncio.py", line 25, in wrapper
This should probably be displayed in the chat.