You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to be taken. If a step involves multiple actions, separate them into distinct steps with an agent included in each step.
56
60
If the step is taken by an agent that is not part of the team, such as the MagenticManager, please always list the MagenticManager as the agent for that step. At any time, if more information is needed from the user, use the ProxyAgent to request this information.
57
61
62
+
CRITICAL: Each agent should only be called ONCE to perform their task. Do NOT call the same agent multiple times.
63
+
After an agent has provided their response, move on to the next agent in the plan.
64
+
58
65
Here is an example of a well-structured plan:
59
66
- **EnhancedResearchAgent** to gather authoritative data on the latest industry trends and best practices in employee onboarding
60
67
- **EnhancedResearchAgent** to gather authoritative data on Innovative onboarding techniques that enhance new hire engagement and retention.
61
68
- **DocumentCreationAgent** to draft a comprehensive onboarding plan that includes a detailed schedule of onboarding activities and milestones.
62
69
- **DocumentCreationAgent** to draft a comprehensive onboarding plan that includes a checklist of resources and materials needed for effective onboarding.
63
70
- **ProxyAgent** to review the drafted onboarding plan for clarity and completeness.
64
71
- **MagenticManager** to finalize the onboarding plan and prepare it for presentation to stakeholders.
72
+
"""
73
+
74
+
# Add progress ledger prompt to prevent re-calling agents
75
+
progress_append="""
76
+
CRITICAL RULE: DO NOT call the same agent more than once unless absolutely necessary.
77
+
If an agent has already provided a response, consider their task COMPLETE and move to the next agent.
78
+
Only re-call an agent if their previous response was explicitly an error or failure.
0 commit comments