From 953a53c4bc00eb798b48efb418bb39d6a9ea65aa Mon Sep 17 00:00:00 2001 From: Jicheng Lu Date: Sun, 26 May 2024 22:19:06 -0500 Subject: [PATCH] clean code --- .../Conversations/Services/ConversationService.Summary.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/Infrastructure/BotSharp.Core/Conversations/Services/ConversationService.Summary.cs b/src/Infrastructure/BotSharp.Core/Conversations/Services/ConversationService.Summary.cs index 00924b93..252d1e7f 100644 --- a/src/Infrastructure/BotSharp.Core/Conversations/Services/ConversationService.Summary.cs +++ b/src/Infrastructure/BotSharp.Core/Conversations/Services/ConversationService.Summary.cs @@ -1,4 +1,3 @@ -using BotSharp.Abstraction.Conversations.Enums; using BotSharp.Abstraction.Templating; namespace BotSharp.Core.Conversations.Services; @@ -52,9 +51,4 @@ public partial class ConversationService return response.Content; } - - private void SaveState(string summary) - { - _state.SetState("conversation_summary", summary, source: StateSource.Application); - } }