
adminandClaude Opus 4.8
bc40905b38
feat(ai-title): 标题生成读取超时改用 4K 档 600 秒 (§19.30)
标题是「一次请求·纯提示词·生成多条」,需经中转站转发 + 大模型排队 +
整段返回,比一张图更耗时。原借 1K 档 240 秒读取超时,慢/排队型模型常在
返回前 ReadTimeout。改为借 4K 档 600 秒(resolution_timeout 512/1K/2K/4K →
180/240/360/600s),仅改标题链路,不动 generate_texts 默认 1K;模型条目
timeout_seconds>0 仍优先覆盖。
- ai_title.py:加常量 _TITLE_TIMEOUT_RESOLUTION="4K",generate_titles
显式传 resolution 借 600s
- docs/11 §17.2 补读取超时说明、新增 §17.8 决策
- tests/test_ai_title:断言以 resolution="4K" 调 generate_texts
- tasks.md:新增 §19.30;同时含 match_stamp §19.30–§19.34 任务段的移除
(用户回退 match_stamp 功能,本提交仅移除其 tasks.md 段落)
验证:test_ai_title / test_ai_text_service + 全套 py37(232 测试)通过,
唯一失败为无关的 test_config_service packaging 模板;离屏冒烟确认读取超时
=600s、timeout_seconds>0 优先覆盖。
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-04 15:09:46 +08:00
..
2026-06-15 15:53:01 +08:00
2026-06-18 18:03:52 +08:00
2026-06-24 08:58:40 +08:00
2026-06-23 16:46:49 +08:00
2026-06-23 16:24:34 +08:00
2026-07-04 15:09:46 +08:00
2026-06-17 16:42:20 +08:00
2026-06-23 17:51:46 +08:00
2026-06-23 17:35:13 +08:00
2026-06-22 17:49:59 +08:00
2026-06-18 11:58:06 +08:00
2026-06-23 17:51:46 +08:00
2026-06-23 16:46:49 +08:00
2026-06-16 15:11:56 +08:00
2026-06-18 11:09:29 +08:00
2026-06-16 11:21:21 +08:00