From 871934d101a60dd4c9a1b858ec2cf71699a79979 Mon Sep 17 00:00:00 2001 From: KoalaTrapLord <265133236+KoalaTrapLord@users.noreply.github.com> Date: Sat, 21 Mar 2026 19:40:19 -0400 Subject: [PATCH] fix: raise VALIDATOR_TIMEOUT default from 60s to 120s (#71) --- routes/deepseek.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/deepseek.py b/routes/deepseek.py index 5305e0e..0afd3a2 100644 --- a/routes/deepseek.py +++ b/routes/deepseek.py @@ -58,7 +58,7 @@ def _get_validator_brain() -> ValidatorBrain | None: api_base=os.environ.get("VALIDATOR_API_BASE", "http://localhost:11434"), model=os.environ.get("VALIDATOR_MODEL", "deepseek-r1:14b"), max_tokens=int(os.environ.get("VALIDATOR_MAX_TOKENS", "2048")), - request_timeout=float(os.environ.get("VALIDATOR_TIMEOUT", "60.0")), + request_timeout=float(os.environ.get("VALIDATOR_TIMEOUT", "120.0")), ) _validator_brain = ValidatorBrain(cfg) return _validator_brain