commit
6ecf249dd7
|
|
@ -69,8 +69,11 @@ public partial class RoutingService
|
|||
}
|
||||
|
||||
// Save to Storage as well
|
||||
var storage = _services.GetRequiredService<IConversationStorage>();
|
||||
storage.Append(Context.ConversationId, message);
|
||||
if (!message.StopCompletion && message.FunctionName != "route_to_agent")
|
||||
{
|
||||
var storage = _services.GetRequiredService<IConversationStorage>();
|
||||
storage.Append(Context.ConversationId, message);
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,4 +4,4 @@ Route to the last handling agent in priority.
|
|||
Expected next action agent is {{ expected_next_action_agent }}.
|
||||
{%- endif %}
|
||||
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