From 9d0e08350407fb22fa84c52734e18620a0d75bdd Mon Sep 17 00:00:00 2001 From: ogt Date: Sat, 25 Apr 2026 11:06:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20increase=20Hermes=20timeout=2020s?= =?UTF-8?q?=E2=86=9225s=20(measured=2017s=20from=20container=20to=20111)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- services/hermes_analyst_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/hermes_analyst_service.py b/services/hermes_analyst_service.py index 730d70b..3cf5744 100644 --- a/services/hermes_analyst_service.py +++ b/services/hermes_analyst_service.py @@ -154,7 +154,7 @@ class HermesAnalystService: resp = requests.post( f"{HERMES_URL}/api/generate", json=payload, - timeout=20, # 意圖分類,hermes3 on 111 實測 ~10s + timeout=25, # 意圖分類,hermes3 on 111 實測 ~17s ) resp.raise_for_status() raw = (resp.json().get("response", "") or "").strip()