Fix current agent id for routing rule.
This commit is contained in:
parent
c3c28e282b
commit
d6ac3c09ea
|
|
@ -118,6 +118,7 @@ public class RoutingContext : IRoutingContext
|
|||
|
||||
var message = new RoleDialogModel(AgentRole.User, $"Try to route to agent {agent.Name}")
|
||||
{
|
||||
CurrentAgentId = currentAgentId,
|
||||
FunctionName = "route_to_agent",
|
||||
FunctionArgs = JsonSerializer.Serialize(new FunctionCallFromLlm
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue