diff --git a/src/Infrastructure/BotSharp.Core/Conversations/Services/ConversationService.SendMessage.cs b/src/Infrastructure/BotSharp.Core/Conversations/Services/ConversationService.SendMessage.cs index 15500ee5..f79995c5 100644 --- a/src/Infrastructure/BotSharp.Core/Conversations/Services/ConversationService.SendMessage.cs +++ b/src/Infrastructure/BotSharp.Core/Conversations/Services/ConversationService.SendMessage.cs @@ -74,7 +74,7 @@ public partial class ConversationService _storage.Append(_conversationId, message); // Add to thread - dialogs.Add(message); + dialogs.Add(RoleDialogModel.From(message)); if (!stopCompletion) {