From d0ed5cefe7ac2b46261d048acf08112767193dee Mon Sep 17 00:00:00 2001 From: Jicheng Lu <103353@smsassist.com> Date: Tue, 11 Jun 2024 22:43:35 -0500 Subject: [PATCH] revert --- .../BotSharp.Core/Agents/Services/AgentService.GetAgents.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Infrastructure/BotSharp.Core/Agents/Services/AgentService.GetAgents.cs b/src/Infrastructure/BotSharp.Core/Agents/Services/AgentService.GetAgents.cs index 91e62c93..15ce6eca 100644 --- a/src/Infrastructure/BotSharp.Core/Agents/Services/AgentService.GetAgents.cs +++ b/src/Infrastructure/BotSharp.Core/Agents/Services/AgentService.GetAgents.cs @@ -44,6 +44,7 @@ public partial class AgentService if (profile.LlmConfig == null) { profile.LlmConfig = agentSetting.LlmConfig; + profile.LlmConfig.IsInherit = true; } else if (string.IsNullOrEmpty(profile.LlmConfig?.Provider) || string.IsNullOrEmpty(profile.LlmConfig?.Model)) {