diff --git a/src/Infrastructure/BotSharp.OpenAPI/Controllers/ConversationController.cs b/src/Infrastructure/BotSharp.OpenAPI/Controllers/ConversationController.cs index b7391be7..2da3251b 100644 --- a/src/Infrastructure/BotSharp.OpenAPI/Controllers/ConversationController.cs +++ b/src/Infrastructure/BotSharp.OpenAPI/Controllers/ConversationController.cs @@ -80,7 +80,7 @@ public class ConversationController : ControllerBase public async Task> GetDialogs([FromRoute] string conversationId) { var conv = _services.GetRequiredService(); - conv.SetConversationId(conversationId, new List()); + conv.SetConversationId(conversationId, new List(), isReadOnly: true); var history = conv.GetDialogHistory(fromBreakpoint: false); var userService = _services.GetRequiredService();