fix: remove strict 30s timeout for Ollama chat
Some checks failed
CD Pipeline / deploy (push) Has been cancelled

This commit is contained in:
OoO
2026-04-28 12:28:57 +08:00
parent b766edfde2
commit 433e37d241

View File

@@ -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