feat: fix product suite reference prompt rule
This commit is contained in:
+5
-2
@@ -1,7 +1,7 @@
|
||||
---
|
||||
id: T-660
|
||||
title: 商品套图未逐图主图模式使用固定参考图规则文案
|
||||
status: TODO
|
||||
status: DONE
|
||||
phase: 7
|
||||
deps: [T-658c]
|
||||
created: 2026-07-17
|
||||
@@ -64,4 +64,7 @@ git diff --check
|
||||
|
||||
## 执行记录
|
||||
|
||||
- 待实现。
|
||||
- 2026-07-17:`product_suite_reference_rule()` 改为仅在勾选「每张上传图分别作为主图生成」时使用既有单图规则;未勾选时无论实际参考图数量均返回固定文案“参考图规则:使用第一張上傳圖作為主商品圖,其餘圖片只作為參考。”。
|
||||
- 2026-07-17:保留 `reference_asset_ids` 快照、最多 8 张图片提交与确认提示的原有逻辑;提示词设置弹窗预览和 `build_job_specs()` 继续共用同一 helper。
|
||||
- 2026-07-17:补充 1、3、8 张原图实际 job prompt 与多图预览一致性回归测试;同步架构和 API 文档。
|
||||
- 验证通过:`py -3.10 -m unittest tests.test_product_suite tests.test_product_suite_gui`(67 项)、`py -3.10 -m unittest discover -s tests`(588 项)、`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