feapaydin / rubygpt

Ruby wrapper for OpenAI's ChatGPT APIs.
MIT License
21 stars 0 forks source link

Graceful Error Handling #13

Open feapaydin opened 4 months ago

feapaydin commented 4 months ago

Currently we're leaving the API error raising to Faraday. That is not ideal since it's not possible to spot which Rubygpt call causes the issue.

Rubygpt must have it's own error handling.

Implementation Plan

feapaydin commented 4 months ago

Related: Raise an Rubygpt::NotConfiguredError when Rubygpt.chat.create is called before configuration.