diff --git a/src/Infrastructure/BotSharp.Abstraction/Agents/Models/Agent.cs b/src/Infrastructure/BotSharp.Abstraction/Agents/Models/Agent.cs index 7cf8750d..965c2284 100644 --- a/src/Infrastructure/BotSharp.Abstraction/Agents/Models/Agent.cs +++ b/src/Infrastructure/BotSharp.Abstraction/Agents/Models/Agent.cs @@ -14,6 +14,7 @@ public class Agent /// /// Default LLM settings /// + [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] public AgentLlmConfig? LlmConfig { get; set; } /// @@ -71,12 +72,6 @@ public class Agent public List RoutingRules { get; set; } = new List(); - /// - /// Agent LLM Config, i.e., provider & model - /// - [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - public AgentLlmConfig? LlmConfig { get; set; } - /// /// For rendering deferral ///