fix: remove strict 30s timeout for Ollama chat
Some checks failed
CD Pipeline / deploy (push) Has been cancelled
Some checks failed
CD Pipeline / deploy (push) Has been cancelled
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user