From 84bbf331479be97767f601eb644e6bc1740787b6 Mon Sep 17 00:00:00 2001 From: Roman Buryan Date: Fri, 6 Nov 2026 18:33:21 +0300 Subject: [PATCH] =?UTF-8?q?[WORK]=20Advisor:=20=D1=82=D0=B0=D0=B9=D0=BC?= =?UTF-8?q?=D0=B0=D1=83=D1=82=20LLM=2020=D1=81=20=D1=81=20fallback=20?= =?UTF-8?q?=D0=BD=D0=B0=20=D0=B4=D0=B0=D0=BD=D0=BD=D1=8B=D0=B5=20=D0=B4?= =?UTF-8?q?=D0=B2=D0=B8=D0=B6=D0=BA=D0=B0;=20=D1=81=D0=BC=D0=BE=D1=83?= =?UTF-8?q?=D0=BA-=D1=82=D0=B5=D1=81=D1=82=D1=8B=2025/25=20=D0=B7=D0=B5?= =?UTF-8?q?=D0=BB=D1=91=D0=BD=D1=8B=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ops/work/web/services/svc_engine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ops/work/web/services/svc_engine.py b/ops/work/web/services/svc_engine.py index c458bf6..d08e042 100644 --- a/ops/work/web/services/svc_engine.py +++ b/ops/work/web/services/svc_engine.py @@ -380,7 +380,7 @@ def ask(q, body): req = urllib.request.Request("http://192.168.1.229:11434/api/generate", data=body_req, headers={"Content-Type": "application/json"}) - with urllib.request.urlopen(req, timeout=90) as r: + with urllib.request.urlopen(req, timeout=20) as r: answer = _json.loads(r.read().decode()).get("response", "").strip() except Exception: answer = None