Skip to content

Commit 5a1a412

Browse files
chore(internal): change default timeout to an int (#2079)
1 parent c27e8cc commit 5a1a412

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/openai/_constants.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
OVERRIDE_CAST_TO_HEADER = "____stainless_override_cast_to"
77

88
# default timeout is 10 minutes
9-
DEFAULT_TIMEOUT = httpx.Timeout(timeout=600.0, connect=5.0)
9+
DEFAULT_TIMEOUT = httpx.Timeout(timeout=600, connect=5.0)
1010
DEFAULT_MAX_RETRIES = 2
1111
DEFAULT_CONNECTION_LIMITS = httpx.Limits(max_connections=1000, max_keepalive_connections=100)
1212

0 commit comments

Comments
 (0)