feat: 完成后端处理链路、优化部分提示词

This commit is contained in:
2026-09-26 12:53:07 +08:00
parent 0e5738788e
commit d3e2c6b544
11 changed files with 133 additions and 54 deletions
+2
View File
@@ -58,6 +58,8 @@ def build_action_prompt(
action_types = set()
if any(item.disposition == "add" for item in screen_plan.components):
action_types.add("add")
if any(item.disposition == "remove" for item in screen_plan.components):
action_types.add("delete")
modifications = [
item for item in screen_plan.components if item.disposition == "modify"
]