We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3d69e4 commit 2ff1ba3Copy full SHA for 2ff1ba3
lib/cohere/client.rb
@@ -182,7 +182,7 @@ def summarize(
182
183
# standard:disable Lint/DuplicateMethods
184
def connection
185
- @connection ||= Faraday.new(url: ENDPOINT_URL, request: { timeout: @timeout }) do |faraday|
+ @connection ||= Faraday.new(url: ENDPOINT_URL, request: {timeout: @timeout}) do |faraday|
186
if api_key
187
faraday.request :authorization, :Bearer, api_key
188
end
0 commit comments