Commit 5a1a412b

stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
2025-02-03 22:43:52
chore(internal): change default timeout to an int (#2079)
1 parent c27e8cc
Changed files (1)
src
src/openai/_constants.py
@@ -6,7 +6,7 @@ RAW_RESPONSE_HEADER = "X-Stainless-Raw-Response"
 OVERRIDE_CAST_TO_HEADER = "____stainless_override_cast_to"
 
 # default timeout is 10 minutes
-DEFAULT_TIMEOUT = httpx.Timeout(timeout=600.0, connect=5.0)
+DEFAULT_TIMEOUT = httpx.Timeout(timeout=600, connect=5.0)
 DEFAULT_MAX_RETRIES = 2
 DEFAULT_CONNECTION_LIMITS = httpx.Limits(max_connections=1000, max_keepalive_connections=100)