fix: self_repair call_llm加concurrent=True——走OCG router round-robin分摊key,避免直连401的key1
This commit is contained in:
@@ -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=90, retries=0, backoff=0)
|
||||
res = call_llm(prompt, max_tokens=300, timeout=90, retries=0, backoff=0, concurrent=True)
|
||||
if not res["ok"]:
|
||||
raise RuntimeError(res["error"][:120])
|
||||
text = res["content"]
|
||||
|
||||
Reference in New Issue
Block a user