farrael004 / Quest

This is a web app that integrates GPT-3 with google searches
Apache License 2.0
74 stars 14 forks source link

RetryError #2

Closed farrael004 closed 1 year ago

farrael004 commented 1 year ago

image

farrael004 commented 1 year ago

My current theory is that this happens when the user has the wrong API key. My terminal gives this error right before the RetryError: raise self.handle_error_response(openai.error.AuthenticationError: Incorrect API key provided: Hey. You can find your API key at https://beta.openai.com.

farrael004 commented 1 year ago

I have confirmed this theory was the case. Managed to reproduce the error by passing an incorrect API key. A similar issue can happen when a user exceeds their rate limit. A warning will now pop up when either of these scenarios happens.