From 258be22d3644dfc3586bf715ed74228405cd9c7f Mon Sep 17 00:00:00 2001
From: Jicheng Lu <103353@smsassist.com>
Date: Wed, 13 Dec 2023 14:33:36 -0600
Subject: [PATCH] remove code
---
.../BotSharp.Abstraction/Agents/Models/Agent.cs | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
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
///