From 64a1f686c3d7d01d5bdc57bd0678d35b4a5dcb5f Mon Sep 17 00:00:00 2001 From: Haiping Chen Date: Mon, 26 Aug 2024 16:30:17 -0500 Subject: [PATCH] Ignore StepId for cache key --- .../BotSharp.Abstraction/Browsing/Models/MessageInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Infrastructure/BotSharp.Abstraction/Browsing/Models/MessageInfo.cs b/src/Infrastructure/BotSharp.Abstraction/Browsing/Models/MessageInfo.cs index 61ca1c15..48c1253a 100644 --- a/src/Infrastructure/BotSharp.Abstraction/Browsing/Models/MessageInfo.cs +++ b/src/Infrastructure/BotSharp.Abstraction/Browsing/Models/MessageInfo.cs @@ -12,5 +12,5 @@ public class MessageInfo : ICacheKey public string StepId { get; set; } = Guid.NewGuid().ToString(); public string GetCacheKey() - => $"{nameof(MessageInfo)}-{AgentId}-{UserId}-{ContextId}-{MessageId}-{TaskId}-{StepId}"; + => $"{nameof(MessageInfo)}-{AgentId}-{UserId}-{ContextId}-{MessageId}-{TaskId}"; }