From 532c8da6e85e48b8d4a04ef507a6d166eb35a0cf Mon Sep 17 00:00:00 2001 From: Haiping Date: Wed, 16 Apr 2025 16:17:34 -0500 Subject: [PATCH] Disable load agent cache --- .../BotSharp.Core/Agents/Services/AgentService.LoadAgent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Infrastructure/BotSharp.Core/Agents/Services/AgentService.LoadAgent.cs b/src/Infrastructure/BotSharp.Core/Agents/Services/AgentService.LoadAgent.cs index e10b79cc..12c2637e 100644 --- a/src/Infrastructure/BotSharp.Core/Agents/Services/AgentService.LoadAgent.cs +++ b/src/Infrastructure/BotSharp.Core/Agents/Services/AgentService.LoadAgent.cs @@ -7,7 +7,7 @@ public partial class AgentService { public static ConcurrentDictionary> AgentParameterTypes = new(); - [SharpCache(10, perInstanceCache: true)] + // [SharpCache(10, perInstanceCache: true)] public async Task LoadAgent(string id, bool loadUtility = true) { if (string.IsNullOrEmpty(id) || id == Guid.Empty.ToString())