From fb58ac3c4679443de12cef4468190d04ef216a18 Mon Sep 17 00:00:00 2001 From: Haiping Chen <101423@smsassist.com> Date: Thu, 9 Jan 2025 16:34:21 -0600 Subject: [PATCH] Undo LoadAgent 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 6c57168b..9e6ad8ee 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(); - // [MemoryCache(10 * 60, perInstanceCache: true)] + [MemoryCache(10 * 60, perInstanceCache: true)] public async Task LoadAgent(string id, bool loadUtility = true) { if (string.IsNullOrEmpty(id) || id == Guid.Empty.ToString())