Make router agent be the first.
This commit is contained in:
parent
040d583c87
commit
f0e9ac50bf
|
|
@ -2,7 +2,7 @@
|
|||
<PropertyGroup>
|
||||
<LangVersion>10.0</LangVersion>
|
||||
<OutputPath>..\..\..\packages</OutputPath>
|
||||
<BotSharpVersion>0.14.4</BotSharpVersion>
|
||||
<BotSharpVersion>0.14.5</BotSharpVersion>
|
||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
|
@ -27,7 +27,7 @@ public class AgentController : ControllerBase, IApiAdapter
|
|||
|
||||
// Add the router as agent
|
||||
var routing = _services.GetRequiredService<IRoutingService>();
|
||||
agents.Add(routing.LoadRouter());
|
||||
agents.Insert(0, routing.LoadRouter());
|
||||
|
||||
return agents.Select(x => AgentViewModel.FromAgent(x)).ToList();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue