Files
sundynix-agentix/sundynix-dispatcher/internal
Blizzard 718140239d fix(dispatcher): 报告 LLM 调用加单次超时上限,治偶发卡死
之前 writeSection/planOutline/planItems 的 pool.Chat 用无 deadline 的 ctx,个别
DeepSeek 流连接挂住会一直占着(曾累积把整篇卡死)。给每次 LLM 调用套 60s 超时
(llmCtx):超时即 cancel → 底层 http 请求中断 → Chat 返回错误 → 走兜底,不无限等。
happy path(约18s 完成)不变,仅加上限。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-18 11:47:46 +08:00
..