Skip to content

Commit df4e381

Browse files
committed
fix: L2诊断超时从25秒调到40秒,避免复杂分析超时失败
实际L2响应时间12-19秒,25秒经常卡在边界超时。 L1弹窗检测只要1-3秒,保持20秒不变。 L2是遇到大问题才调用,多等15秒值得。
1 parent 9f000ef commit df4e381

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/testing/ai_hub.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ async def _try_l2_diagnose(self, ctx: StepContext) -> HubDecision:
427427
response = await loop.run_in_executor(
428428
None, lambda: self._ai.analyze_screenshot(
429429
str(screenshot_path), prompt,
430-
reasoning_effort="low", timeout=25,
430+
reasoning_effort="low", timeout=40,
431431
)
432432
)
433433

0 commit comments

Comments
 (0)