Skip to content

Commit

Permalink
Merge pull request #3030 from newrelic/ruby_openai_340_intermittent_f…
Browse files Browse the repository at this point in the history
…ailure

Ruby openai intermittent failure fix
  • Loading branch information
tannalynn authored Jan 23, 2025
2 parents 4734723 + 18be24f commit 3d4264e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/multiverse/suites/ruby_openai/openai_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def client
end

def connection_client
client # can cause failure if this has never been created before on older versions for the test that uses connection_client
Gem::Version.new(::OpenAI::VERSION) <= Gem::Version.new('4.3.2') ? OpenAI::Client : client
end

Expand Down

0 comments on commit 3d4264e

Please sign in to comment.