Skip to content
Merged
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 @@ -104,7 +104,8 @@ private string GetNextStepPrompt(Agent router)
return render.Render(template, new Dictionary<string, object>
{
{ StateConst.EXPECTED_ACTION_AGENT, states.GetState(StateConst.EXPECTED_ACTION_AGENT) },
{ StateConst.EXPECTED_GOAL_AGENT, states.GetState(StateConst.EXPECTED_GOAL_AGENT) }
{ StateConst.EXPECTED_GOAL_AGENT, states.GetState(StateConst.EXPECTED_GOAL_AGENT) },
{ StateConst.USER_GOAL_AGENT, states.GetState(StateConst.USER_GOAL_AGENT) }
});
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ If the user only provides requested information, keep the previous next action a
Expected user goal agent is {{ expected_user_goal_agent }}.
{%- else -%}
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.
Keep the existing user goal agent{% if user_goal_agent != blank %} ({{ user_goal_agent }}){% endif %} unless the latest user message explicitly starts a different task or workflow.
{%- endif %}
Loading