From 433e37d24189da3a56df9d6ba8861e689b3fd14f Mon Sep 17 00:00:00 2001 From: OoO Date: Tue, 28 Apr 2026 12:28:57 +0800 Subject: [PATCH] fix: remove strict 30s timeout for Ollama chat --- routes/openclaw_bot_routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/openclaw_bot_routes.py b/routes/openclaw_bot_routes.py index f0065d8..59b0b5e 100644 --- a/routes/openclaw_bot_routes.py +++ b/routes/openclaw_bot_routes.py @@ -4106,7 +4106,7 @@ def openclaw_answer(question: str): + "請用繁體中文直接回答,不要開場白,300字以內。" ) - resp = ollama_service.generate(question, system_prompt=sys_prompt, timeout=30) + resp = ollama_service.generate(question, system_prompt=sys_prompt, timeout=180) if resp.success and resp.content: if _LEARNING_ENABLED: import threading as _thr