diff --git a/deploy/profile-scripts/per_stock_reassess.py b/deploy/profile-scripts/per_stock_reassess.py index d06c471d..477504f9 100644 --- a/deploy/profile-scripts/per_stock_reassess.py +++ b/deploy/profile-scripts/per_stock_reassess.py @@ -441,7 +441,7 @@ def main(): if _prompt: try: # 2026-08-13 超时修复:timeout 150→90, retries 1→0(3只×(90+90+20)=600s临界,减到90+0重试=270s安全) - _llm_result = call_llm(_prompt, max_tokens=None, timeout=300, retries=0, backoff=0) # 2026-08-24 90→300: ocg_router单key上游180s+失败换key重试,90s客户端先断=自己限死自己 + _llm_result = call_llm(_prompt, max_tokens=None, timeout=300, retries=0, backoff=0, concurrent=True) # 2026-08-24 并发模式: router round-robin分key(6 key齐用),90→300防自断 if _llm_result["ok"]: _full_analysis_text = _llm_result["content"] print(f" ✅ LLM12维分析完成({len(_full_analysis_text)}字, {_llm_result['elapsed']:.1f}s)", flush=True)