Add router description.
This commit is contained in:
parent
8b135e8c32
commit
040d583c87
|
|
@ -2,7 +2,7 @@
|
|||
<PropertyGroup>
|
||||
<LangVersion>10.0</LangVersion>
|
||||
<OutputPath>..\..\..\packages</OutputPath>
|
||||
<BotSharpVersion>0.14.3</BotSharpVersion>
|
||||
<BotSharpVersion>0.14.4</BotSharpVersion>
|
||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
|
@ -7,7 +7,9 @@ public class RoutingSettings
|
|||
/// </summary>
|
||||
public string RouterId { get; set; } = string.Empty;
|
||||
|
||||
public string RouteName { get; set; } = "Router";
|
||||
public string RouterName { get; set; } = "Router";
|
||||
|
||||
public string Description { get; set; } = string.Empty;
|
||||
|
||||
public bool EnableReasoning { get; set; } = false;
|
||||
|
||||
|
|
|
|||
|
|
@ -210,7 +210,8 @@ public class RoutingService : IRoutingService
|
|||
var router = new Agent()
|
||||
{
|
||||
Id = _settings.RouterId,
|
||||
Name = _settings.RouteName
|
||||
Name = _settings.RouterName,
|
||||
Description = _settings.Description
|
||||
};
|
||||
var agents = db.Agents.Where(x => !x.Disabled && x.AllowRouting).ToArray();
|
||||
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@
|
|||
"Router": {
|
||||
"RouterId": "01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a",
|
||||
"RouterName": "PizzaBot",
|
||||
"Description": "Pizza restaurant AI Bot",
|
||||
"EnableReasoning": false,
|
||||
"Model": "gpt-3.5"
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue