No release in over a year
Helpful ChatGpt hints for your Rails app
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 7.0, >= 7.0.4.3
 Project Readme

ChatGptErrorHandler

This gem pops a little helpful ChatGPT message before your error stacktrace.

example

Usage

Add this line to your application's Gemfile:

gem "chat_gpt_error_handler"

Set your OpenAI API Token and enable the gem in an initializer:

# config/initializers/chat_gpt_error_handler.rb
ChatGptErrorHandler.openai_access_token = 'your_openai_access_token_here'
ChatGptErrorHandler.enabled = true

And you're off!

License

The gem is available as open source under the terms of the MIT License.