fix(ai): 新建模式下规划数据不再携带旧时间轴 #16

Merged
xhgit merged 1 commits from fix/fresh-no-old-timeline into main 2026-11-14 18:02:42 +08:00
Owner

实测发现

V2 规划两次返回空方案:fresh 模式提示词要求「先 remove 现有全部片段再重建」,但项目数据里仍带着旧时间轴(V1 的重复片段),模型把注意力放在旧片段的「重复与逻辑混乱」上,无法输出新方案。

修改

  • 新建(fresh)模式下规划数据 clips 置空、timelineDuration 归零,模型只看到素材与新要求
  • 应用侧仍会自动补上 remove 全部旧片段的操作,行为不变
  • 新增测试:fresh 数据无旧片段;modify 数据保留旧片段

本地 11 个用例全部通过。

## 实测发现 V2 规划两次返回空方案:fresh 模式提示词要求「先 remove 现有全部片段再重建」,但项目数据里仍带着旧时间轴(V1 的重复片段),模型把注意力放在旧片段的「重复与逻辑混乱」上,无法输出新方案。 ## 修改 - 新建(fresh)模式下规划数据 clips 置空、timelineDuration 归零,模型只看到素材与新要求 - 应用侧仍会自动补上 remove 全部旧片段的操作,行为不变 - 新增测试:fresh 数据无旧片段;modify 数据保留旧片段 本地 11 个用例全部通过。
xhgit added 1 commit 2026-11-14 18:02:37 +08:00
实测 V2 规划失败:fresh 模式提示词要求先 remove 重建,但数据里
仍带着旧时间轴(含重复片段),模型把注意力放在旧片段的
「重复与逻辑混乱」上,最终返回空方案。
新建模式下 clips 置空、timelineDuration 归零,模型只看到素材与
新要求;应用侧仍会自动补上 remove 全部旧片段的操作。
新增测试:fresh 数据无旧片段、modify 数据保留旧片段。
xhgit merged commit 2b8cc45023 into main 2026-11-14 18:02:42 +08:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: xhgit/AI-cut#16