rollback reset states

This commit is contained in:
Haiping Chen 2025-02-28 15:26:45 -06:00
parent 265d439938
commit 606026130a

View file

@ -220,7 +220,6 @@ public class ConversationStateService : IConversationStateService
{
if (_conversationId == null || _sidecar?.IsEnabled() == true)
{
Reset();
return;
}
@ -253,7 +252,6 @@ public class ConversationStateService : IConversationStateService
}
_db.UpdateConversationStates(_conversationId, states);
Reset();
_logger.LogInformation($"Saved states of conversation {_conversationId}");
}