Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels