feat: 完成后端处理链路、优化部分提示词
This commit is contained in:
@@ -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"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user