fix creation agent session sync and publish gate alignment

This commit is contained in:
2026-04-23 13:35:40 +08:00
parent cabceb998c
commit 1e200ec5ba
7 changed files with 343 additions and 12 deletions

View File

@@ -1545,7 +1545,10 @@ fn build_compiled_profile_payload_json(
}
}
if let Some(scene_chapters) = draft.get("sceneChapters") {
if let Some(scene_chapters) = draft
.get("sceneChapterBlueprints")
.or_else(|| draft.get("sceneChapters"))
{
payload.insert("sceneChapterBlueprints".to_string(), scene_chapters.clone());
}