diff --git a/src/Infrastructure/BotSharp.Core/Conversations/Services/ConversationStorage.cs b/src/Infrastructure/BotSharp.Core/Conversations/Services/ConversationStorage.cs index e523ce48..532f56d4 100644 --- a/src/Infrastructure/BotSharp.Core/Conversations/Services/ConversationStorage.cs +++ b/src/Infrastructure/BotSharp.Core/Conversations/Services/ConversationStorage.cs @@ -28,11 +28,11 @@ public class ConversationStorage : IConversationStorage var dialogElements = new List(); // Prevent duplicate record to be inserted - var dialogs = db.GetConversationDialogs(conversationId); + /*var dialogs = db.GetConversationDialogs(conversationId); if (dialogs.Any(x => x.MetaData.MessageId == dialog.MessageId && x.Content == dialog.Content)) { return; - } + }*/ if (dialog.Role == AgentRole.Function) {