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-16 11:49:25 +08:00
2026-06-18 15:21:49 +08:00
2026-06-15 16:26:55 +08:00
2026-06-15 16:44:33 +08:00
2026-06-15 15:19:30 +08:00
S
Description
自动化图生图
Readme
3.7 MiB
Languages
Python 98.5%
PowerShell 1.5%