feat: 接入新动作 update_canvas
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ def plan_block_reason(state: QueryState) -> str | None:
|
||||
if state["requirement"].needs_clarification:
|
||||
return "需求尚未澄清,不能生成规划动作"
|
||||
if plan.canvas_changes:
|
||||
return "规划包含画布修改,当前尚未接入对应动作"
|
||||
return "规划中的画布修改尚未接入,当前仅支持无需规划的画布修改"
|
||||
if plan.resource_needs:
|
||||
return "规划仍有待获取资源,不能直接生成动作"
|
||||
additions = [item for item in plan.components if item.disposition == "add"]
|
||||
|
||||
Reference in New Issue
Block a user