From ac8c9749b45a0a356f835f270f1370c2de4b2143 Mon Sep 17 00:00:00 2001 From: Jicheng Lu <103353@smsassist.com> Date: Tue, 4 Jun 2024 11:33:41 -0500 Subject: [PATCH] remove conversation header --- .../Conversations/Services/ConversationService.Summary.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Infrastructure/BotSharp.Core/Conversations/Services/ConversationService.Summary.cs b/src/Infrastructure/BotSharp.Core/Conversations/Services/ConversationService.Summary.cs index de0b00eb..2e7657ba 100644 --- a/src/Infrastructure/BotSharp.Core/Conversations/Services/ConversationService.Summary.cs +++ b/src/Infrastructure/BotSharp.Core/Conversations/Services/ConversationService.Summary.cs @@ -41,10 +41,10 @@ public partial class ConversationService var template = agent.Templates.First(x => x.Name == "conversation.summary").Content; var render = _services.GetRequiredService(); - var texts = string.Empty; + var texts = new List(); for (int i = 0; i < contents.Count; i++) { - texts += $"[Conversation {i+1}]\r\n{contents[i]}"; + texts.Add($"{contents[i]}"); } return render.Render(template, new Dictionary