diff --git a/src/agentex/_constants.py b/src/agentex/_constants.py index 44ad5b2d..ccb3ec52 100644 --- a/src/agentex/_constants.py +++ b/src/agentex/_constants.py @@ -7,7 +7,7 @@ # default timeout is 1 minute DEFAULT_TIMEOUT = httpx.Timeout(timeout=300, connect=5.0) -DEFAULT_MAX_RETRIES = 0 +DEFAULT_MAX_RETRIES = 2 DEFAULT_CONNECTION_LIMITS = httpx.Limits(max_connections=1000, max_keepalive_connections=1000) INITIAL_RETRY_DELAY = 0.5