diff --git a/lib/openai.rb b/lib/openai.rb index 0ddc1301..06415a73 100644 --- a/lib/openai.rb +++ b/lib/openai.rb @@ -1,5 +1,5 @@ require "faraday" -require "faraday/multipart" +require "faraday/multipart" if Gem::Version.new(Faraday::VERSION) >= Gem::Version.new('2.0') require_relative "openai/http" require_relative "openai/client"