修复:CI 部署环境与 ref 错配、迁移碎片化、图片意图 source_span、章节物化脏版式、会话历史与本地语音不一致
新增:TTS 上传 COS 与分片、章节 reading_segments 物化与快照、markdown 清洗、会话消息 repository、语音 store 重构与相关测试
This commit is contained in:
@@ -47,6 +47,11 @@ def collect_asset_ids_for_chapter(chapter) -> set[str]:
|
||||
continue
|
||||
smd = getattr(st, "canonical_markdown", None) or ""
|
||||
ids.update(collect_asset_ids_from_markdown(smd))
|
||||
for intent in getattr(st, "image_intents", None) or []:
|
||||
if getattr(intent, "intent_role", None) == "primary":
|
||||
aid = getattr(intent, "asset_id", None)
|
||||
if aid:
|
||||
ids.add(str(aid))
|
||||
return ids
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user