Files
wrong-notebook/doc
margrop 367de1e094 fix: AI 调用增加 10 分钟总时限,识别不再长时间卡住
OpenAI 兼容接口的 SDK 未设置超时,单次请求默认可等 10 分钟、失败后再重试 2 次,
推理模型识别大图时自动分题最长要 30 分钟以上才失败,任务一直显示识别中。
基类 run 统一为每次调用设置 10 分钟总时限,并把中止信号传给 OpenAI、Azure、
Anthropic、Gemini 各 SDK(Gemini 到期后不再重试),超时按 AI_TIMEOUT_ERROR 失败,
可在识别任务中重试;超时提示补充换用更快模型或缩小识别区域的建议。

Refs: https://github.com/margrop/wrong-notebook/issues/17
Refs: https://github.com/margrop/wrong-notebook/issues/15
2026-11-11 19:43:56 +08:00
..
2025-12-02 09:07:27 +08:00
2025-12-02 09:07:27 +08:00