Skip to content

Commit a92a413

Browse files
author
Jicheng Lu
committed
fix init state
1 parent 2025d18 commit a92a413

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Infrastructure/BotSharp.OpenAPI/Controllers/ConversationController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,8 +367,8 @@ public async Task<ChatResponseModel> SendMessage([FromRoute] string agentId,
367367
var routing = _services.GetRequiredService<IRoutingService>();
368368
routing.Context.SetMessageId(conversationId, inputMsg.MessageId);
369369

370-
SetStates(conv, input);
371370
conv.SetConversationId(conversationId, input.States);
371+
SetStates(conv, input);
372372

373373
var response = new ChatResponseModel();
374374

0 commit comments

Comments
 (0)