Merge pull request #907 from hchen2020/master

rollback reset states
This commit is contained in:
Haiping 2025-02-28 15:29:01 -06:00 committed by GitHub
commit 0ace41eaf6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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}");
}