Skip to content

Commit

Permalink
make sure client with access token has been created at least once whe…
Browse files Browse the repository at this point in the history
…n using connection_client
  • Loading branch information
tannalynn committed Jan 23, 2025
1 parent 4734723 commit 18be24f
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 18be24f

Please sign in to comment.