fix(test): read back history after SetHistory in steering test for CreatedAt normalization

This commit is contained in:
LiusCraft 2026-05-11 01:20:50 +08:00
parent 16749110fa
commit 2546b10171

View file

@ -1306,6 +1306,8 @@ func TestAgentLoop_InterruptHard_RestoresSession(t *testing.T) {
}
defaultAgent.Sessions.SetHistory(sessionKey, originalHistory)
originalHistory = defaultAgent.Sessions.GetHistory(sessionKey)
runtimeCh, closeRuntimeEvents := subscribeRuntimeEventsForTest(
t,
al,