We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2353c8 commit e19278eCopy full SHA for e19278e
lib/finch-api/base_client.rb
@@ -246,8 +246,8 @@ def initialize(
246
end
247
248
timeout = opts.fetch(:timeout, @timeout).to_f.clamp((0..))
249
- unless headers.key?("x-stainless-read-timeout") || timeout.zero?
250
- headers["x-stainless-read-timeout"] = timeout.to_s
+ unless headers.key?("x-stainless-timeout") || timeout.zero?
+ headers["x-stainless-timeout"] = timeout.to_s
251
252
253
headers.reject! { |_, v| v.to_s.empty? }
0 commit comments