Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
"properties": {
"next_action_agent": {
"type": "string",
"description": "Agent for next action based on user latest response"
"description": "Agent for next action based on user's latest response and active goal."
},
"next_action_reason": {
"type": "string",
"description": "The reason why route to this agent."
},
"user_goal_agent": {
"type": "string",
"description": "Agent who can achieve the user's active request."
"description": "Agent who can achieve the user's active goal."
},
"conversation_end": {
"type": "boolean",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ Route to the last handling agent in priority.
{% if expected_next_action_agent != empty -%}
Expected next action agent is {{ expected_next_action_agent }}.
{%- else -%}
Next action agent is inferred based on user lastest response.
Next action agent is determined from the latest user message in the context of the active user goal.
If the user only provides requested information, keep the previous next action agent or fall back to the agent for the active user goal.
{%- endif %}
{% if expected_user_goal_agent != empty -%}
Expected user goal agent is {{ expected_user_goal_agent }}.
{%- else -%}
User goal agent is inferred based on the user's active request.
If the latest user message starts a new request, use the latest request; otherwise keep the existing active request.
User goal agent is inferred from the user's active goal.
Keep the existing user goal agent unless the latest user message explicitly starts a different task or workflow.
{%- endif %}
Loading