You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[BREAKING] Try to JSON parse everything. If it fails, fall back gracefully to returning the raw response. Thank you to @gregszero and the many others who raised this issue.
[BREAKING] An unknown file type will no longer prevent file upload, but instead raise a warning.
[BREAKING] ruby-openai longer requires "faraday/multipart" for Faraday 1 users (Faraday 1 already includes it and it was causing a warning). Thanks to ajGingrich for raising this!
Add user_data and evals as options for known File types - thank you to jontec for this fix!
Fix a syntax ambiguity in Client.rb - thank you to viralpraxis.
Removed
[BREAKING] Backwards compatibility for require "ruby/openai" is removed - from v8 on you MUST use require "openai". This fixes a deprecation warning with Ruby 3.4. Thanks to @ndemianc for this PR.
[BREAKING] Removed support for Ruby 2.6. ruby-openai may still work with this version but it's no longer supported.
Removed the 'OpenAI-Beta' header from Batches API requests.