briansunter / logseq-plugin-gpt3-openai

A plugin for GPT-3 AI assisted note taking in Logseq
https://twitter.com/bsunter
MIT License
717 stars 77 forks source link

feat(error-handling): Improve error handling and messaging #31

Closed briansunter closed 2 years ago

briansunter commented 2 years ago

OpenAI will return a 429 error when your free trial is over or you run out of credits. It will also return a 429 error if you call the API too fast. This PR will show a better error message when you run out of credits, and retry behind the scenes for normal rate limiting errors.

briansunter commented 2 years ago

:tada: This PR is included in version 1.1.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: