-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
Question
refer: #4266
In the previous version of Supervisor Agent, there were default system prompt. In the current version, when using Supervisor Agent, you need to write your own system prompt to inform the LLM decision-making, choose different sub agents to handle tasks or decide whether the task has been completed and ended. However, many people are not familiar with the logic of decision implementation and do not know how to write prompt words well, which can easily lead to problems. Moreover, writing system prompt will waste a lot of unnecessary time, and using frameworks should free up more time to spend on implementing product logic and business requirements.
Previously, the built-in system prompt were in the SupervisorEdgeAction class. Now, the classes related to Supervisor Agent routing decisions include MainAgentNodeAction, MainAgentToSupervisorEdgeAction and SupervisorNodeFromState.