diff --git a/src/agentex/_constants.py b/src/agentex/_constants.py index 6ddf2c71..44ad5b2d 100644 --- a/src/agentex/_constants.py +++ b/src/agentex/_constants.py @@ -6,9 +6,9 @@ OVERRIDE_CAST_TO_HEADER = "____stainless_override_cast_to" # default timeout is 1 minute -DEFAULT_TIMEOUT = httpx.Timeout(timeout=60, connect=5.0) -DEFAULT_MAX_RETRIES = 2 -DEFAULT_CONNECTION_LIMITS = httpx.Limits(max_connections=100, max_keepalive_connections=20) +DEFAULT_TIMEOUT = httpx.Timeout(timeout=300, connect=5.0) +DEFAULT_MAX_RETRIES = 0 +DEFAULT_CONNECTION_LIMITS = httpx.Limits(max_connections=1000, max_keepalive_connections=1000) INITIAL_RETRY_DELAY = 0.5 MAX_RETRY_DELAY = 8.0