diff --git a/src/Infrastructure/BotSharp.OpenAPI/Controllers/ConversationController.cs b/src/Infrastructure/BotSharp.OpenAPI/Controllers/ConversationController.cs index c4850b1f..effc0392 100644 --- a/src/Infrastructure/BotSharp.OpenAPI/Controllers/ConversationController.cs +++ b/src/Infrastructure/BotSharp.OpenAPI/Controllers/ConversationController.cs @@ -242,8 +242,8 @@ public class ConversationController : ControllerBase var routing = _services.GetRequiredService(); routing.Context.SetMessageId(conversationId, inputMsg.MessageId); - conv.SetConversationId(conversationId, input.States); SetStates(conv, input); + conv.SetConversationId(conversationId, input.States); var response = new ChatResponseModel();