Undo LoadAgent cache

This commit is contained in:
Haiping Chen 2025-01-09 16:34:21 -06:00
parent 99c74d828b
commit fb58ac3c46

View file

@ -7,7 +7,7 @@ public partial class AgentService
{
public static ConcurrentDictionary<string, Dictionary<string, string>> AgentParameterTypes = new();
// [MemoryCache(10 * 60, perInstanceCache: true)]
[MemoryCache(10 * 60, perInstanceCache: true)]
public async Task<Agent> LoadAgent(string id, bool loadUtility = true)
{
if (string.IsNullOrEmpty(id) || id == Guid.Empty.ToString())