Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement ENV["OPENAI_LOG_ERRORS"] to display OpenAI http log_errors #614

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

navidemad
Copy link

@navidemad navidemad commented Jan 25, 2025

bundle exec i18n-tasks translate-missing --backend=openai 
bundler: failed to load command: i18n-tasks (/Users/dev/.rbenv/versions/3.4.1/lib/ruby/gems/3.4.0/bin/i18n-tasks)                                                                                                                           >  ETA: ??:??:?? 0/161 (0%)
/Users/dev/.rbenv/versions/3.4.1/lib/ruby/gems/3.4.0/gems/faraday-2.12.2/lib/faraday/response/raise_error.rb:30:in 'Faraday::Response::RaiseError#on_complete': the server responded with status 400 (Faraday::BadRequestError)

In order to have more detailed informations you can pass now OPENAI_LOG_ERRORS as environment variable to display more informations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant