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