Merge pull request #1091 from iceljc/master

revert
This commit is contained in:
iceljc 2025-07-07 17:47:09 -05:00 committed by GitHub
commit 847f8459db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -167,13 +167,11 @@ public class BotSharpConversationSideCar : IConversationSideCar
private void AfterExecute()
{
var state = _services.GetRequiredService<IConversationStateService>();
var routing = _services.GetRequiredService<IRoutingService>();
var node = _contextStack.Pop();
// Recover
state.SetCurrentState(node.State);
RestoreStates(node.State);
routing.Context.SetRecursiveCounter(node.RecursiveCounter);
routing.Context.SetAgentStack(node.RoutingStack);
routing.Context.SetDialogs(node.RoutingDialogs);