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
Tried creating a breaking test first by hijacking an existing test, but the problem I ran into is I couldn't get VCR + WebMock + Async:HTTP play well. The mocking isn't working yet: #550
Describe the bug
Unable to use ruby-openai with the 'async' fiber scheduler, the faraday adapter throws an error.
To Reproduce
Add async-http-faraday gem to Gemfile
include
require 'async/http/faraday'
somewhere.Use
client = OpenAI::Client.new do{ |f| f.adapter = :async_http }
for a streaming completion.raises error Faraday::NilStatusError: http status could not be derived from the server response
Expected behavior
Works as normal
The text was updated successfully, but these errors were encountered: