From 6a3ca003e104cccf1c41aba7dd8c9908d44a1bca Mon Sep 17 00:00:00 2001 From: hmo Date: Fri, 14 Aug 2026 05:13:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20self=5Frepair=20LLM=E8=B6=85=E6=97=B6?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E2=80=94=E2=80=94timeout=20120=E2=86=9290,?= =?UTF-8?q?=20retries=201=E2=86=920(=E5=A4=9Afailure=E5=BE=AA=E7=8E=AF?= =?UTF-8?q?=C3=97(120+120+10)=3D=E8=B6=85=E6=97=B6,=E5=87=8F=E5=88=B090+0?= =?UTF-8?q?=E9=87=8D=E8=AF=95=E5=AE=89=E5=85=A8)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/profile-scripts/self_repair.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/profile-scripts/self_repair.py b/deploy/profile-scripts/self_repair.py index 9bebf942..5afa90ad 100644 --- a/deploy/profile-scripts/self_repair.py +++ b/deploy/profile-scripts/self_repair.py @@ -179,7 +179,7 @@ def llm_diagnose(failure): # session 指令冻结+上下文无限累积,2026-07-21 废弃) sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))) from llm_client import call_llm - res = call_llm(prompt, max_tokens=300, timeout=120, retries=1, backoff=10) + res = call_llm(prompt, max_tokens=300, timeout=90, retries=0, backoff=0) if not res["ok"]: raise RuntimeError(res["error"][:120]) text = res["content"]