From 571b5101ffea0542f6002721db4813c3e5427933 Mon Sep 17 00:00:00 2001 From: liailing1026 <1815388873@qq.com> Date: Fri, 16 Jan 2026 11:11:57 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E4=BB=BB=E5=8A=A1=E8=BF=87=E7=A8=8B?= =?UTF-8?q?=E6=8E=A2=E7=B4=A2=E5=88=86=E6=94=AF=E6=8F=90=E7=A4=BA=E8=AF=8D?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PlanEngine/branch_TaskProcess.py | 34 ++++++++++++++----- 1 file changed, 26 insertions(+), 8 deletions(-) diff --git a/backend/AgentCoord/PlanEngine/branch_TaskProcess.py b/backend/AgentCoord/PlanEngine/branch_TaskProcess.py index fd5ccb8..ccd96b1 100644 --- a/backend/AgentCoord/PlanEngine/branch_TaskProcess.py +++ b/backend/AgentCoord/PlanEngine/branch_TaskProcess.py @@ -57,27 +57,40 @@ Note: "Modification Requirement" specifies how to modify the "Baseline Completio "ID": "Action4", "ActionType": "Propose", "AgentName": "Mia", - "Description": "Propose psychological theories on love and attachment that could be applied to AI's emotional development.", + "Description": "提议关于人工智能情感发展的心理学理论,重点关注爱与依恋的概念。", "ImportantInput": [ "InputObject:Story Outline" ] }}, {{ "ID": "Action5", - "ActionType": "Propose", + "ActionType": "Critique", "AgentName": "Noah", - "Description": "Propose ethical considerations and philosophical questions regarding AI's capacity for love.", - "ImportantInput": [] + "Description": "对Mia提出的心理学理论进行批判性评估,分析其在AI情感发展场景中的适用性和局限性。", + "ImportantInput": [ + "ActionResult:Action4" + ] }}, {{ "ID": "Action6", - "ActionType": "Finalize", + "ActionType": "Improve", "AgentName": "Liam", - "Description": "Combine the poetic elements and ethical considerations into a cohesive set of core love elements for the story.", + "Description": "基于Noah的批判性反馈,改进和完善心理学理论框架,使其更贴合AI情感发展的实际需求。", "ImportantInput": [ - "ActionResult:Action1", + "ActionResult:Action4", "ActionResult:Action5" ] + }}, + {{ + "ID": "Action7", + "ActionType": "Finalize", + "AgentName": "Mia", + "Description": "综合所有提议、批判和改进意见,整合并提交最终的AI情感发展心理学理论框架。", + "ImportantInput": [ + "ActionResult:Action4", + "ActionResult:Action5", + "ActionResult:Action6" + ] }} ] }} @@ -86,7 +99,12 @@ Note: "Modification Requirement" specifies how to modify the "Baseline Completio ImportantInput: Specify if there is any previous result that should be taken special consideration during the execution the action. Should be of format "InputObject:xx" or "ActionResult:xx". InputObject_List: List existing objects that should be utilized in current step. AgentName: Specify the agent who will perform the action, You CAN ONLY USE THE NAME APPEARS IN "AgentInvolved". -ActionType: Specify the type of action, note that only the last action can be of type "Finalize", and the last action must be "Finalize". +ActionType: Specify the type of action. **CRITICAL REQUIREMENTS:** + 1. The "Remaining Steps" MUST include ALL FOUR action types in the following order: Propose -> Critique -> Improve -> Finalize + 2. Each action type (Propose, Critique, Improve, Finalize) MUST appear at least once + 3. The actions must follow the sequence: Propose actions first, then Critique actions, then Improve actions, and Finalize must be the last action + 4. Even if only one agent is involved in a phase, that phase must still have its corresponding action type + 5. The last action must ALWAYS be of type "Finalize" """