feat: align product suite prompts with reference images
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---
|
||||
id: T-658c
|
||||
title: 商品套图多图参考生成计划与提示词一致性
|
||||
status: TODO
|
||||
status: DONE
|
||||
phase: 7
|
||||
deps: [T-655, T-656, T-657, T-658b]
|
||||
created: 2026-07-17
|
||||
@@ -49,4 +49,7 @@ git diff --check
|
||||
|
||||
## 执行记录
|
||||
|
||||
- 待实现。
|
||||
- 2026-07-17:新增 `product_suite_reference_rule()` 与参考图数量计算 helper,单图和多图规则都保留 `参考图规则:` 前缀;多图规则中的 N 以实际提交总图片数渲染。
|
||||
- 2026-07-17:`build_job_specs()` 以冻结的 `reference_asset_ids` 数量构建 job prompt;提示词设置弹窗接收当前可用原图数并使用同一 context,预览与新 job prompt 保持一致。
|
||||
- 2026-07-17:补充单图、逐图主图、多图及3张原图预览一致性测试;同步路由、架构和 API 文档。
|
||||
- 验证通过:`py -3.10 -m unittest tests.test_product_suite tests.test_product_suite_gui`(66项)、`py -3.10 -m ruff check app tests main.py`、`py -3.10 -m compileall app main.py`、`git diff --check`。离屏 GUI 测试有 Qt 字体/插件告警,但无测试失败。
|
||||
|
||||
Reference in New Issue
Block a user