commit
6ecf249dd7
|
|
@ -69,8 +69,11 @@ public partial class RoutingService
|
||||||
}
|
}
|
||||||
|
|
||||||
// Save to Storage as well
|
// Save to Storage as well
|
||||||
var storage = _services.GetRequiredService<IConversationStorage>();
|
if (!message.StopCompletion && message.FunctionName != "route_to_agent")
|
||||||
storage.Append(Context.ConversationId, message);
|
{
|
||||||
|
var storage = _services.GetRequiredService<IConversationStorage>();
|
||||||
|
storage.Append(Context.ConversationId, message);
|
||||||
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,4 +4,4 @@ Route to the last handling agent in priority.
|
||||||
Expected next action agent is {{ expected_next_action_agent }}.
|
Expected next action agent is {{ expected_next_action_agent }}.
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
If user wants to speak to customer service, use function human_intervention_needed.
|
If user wants to speak to customer service, use function human_intervention_needed.
|
||||||
If user wants to or is processing with a specific task that can be handled by agents, respond with appropriate agents.
|
If user wants to or is processing with a specific task that can be handled by agents, respond in appropriate output format defined to let proper agent to handle the task.
|
||||||
Loading…
Reference in a new issue