Closed flynntsang closed 1 week ago
Action Item: Let's make it very clear that we are getting this response back from openAI (or other llm providers)
Received Error from OpenAI: { request.status_code } { request.human_readable_status_code }
{ request.body }
todo, preview request.body to see if this is reasonable to expose to the user
Describe the problem When my OpenAI billing account reaches $0, I get a RateLimitError, when in fact my account balance is zero.
To Reproduce Steps to reproduce the behavior:
Error APU Error: RateLimitError while processing request
Error An error occurred. Please try starting a new conversation.
Expected behavior PaymentRequiredError, which corresponds to an HTTP 402 status code: "402 Payment Required".