From fa72856c7524be8b6345ee5454dda3a31f4d8cdb Mon Sep 17 00:00:00 2001
From: hit-cxf <2024111082@stu.hit.edu.cn>
Date: Thu, 11 Jun 2026 22:36:20 +0800
Subject: [PATCH] Optimize video prompt words, assembled from three parts: style control, character list, and scene list

---
 video-claw/video-claw/backend/core/agents/character_agent.py |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/video-claw/video-claw/backend/core/agents/character_agent.py b/video-claw/video-claw/backend/core/agents/character_agent.py
index 01d16e8..490d404 100644
--- a/video-claw/video-claw/backend/core/agents/character_agent.py
+++ b/video-claw/video-claw/backend/core/agents/character_agent.py
@@ -606,6 +606,15 @@
             with ThreadPoolExecutor(max_workers=concurrency) as executor:
                 futs = {}
                 for atype, aid, name, desc, species in all_tasks:
+                    existing_versions = self._list_versions(sid, atype, aid)
+                    self._report_progress("角色设计", f"正在生成: {name}", 10, data={
+                        "asset_complete": {
+                            "type": atype,
+                            "id": aid,
+                            "status": "running",
+                            "versions": existing_versions,
+                        }
+                    })
                     fut = executor.submit(
                         self._generate_one, img_client,
                         aid, name, desc, atype, style, species, t2i_model, vlm_model, sid,

--
Gitblit v1.8.0