diff --git a/pkg/agent/steering_test.go b/pkg/agent/steering_test.go index 25e06d7a2..0d8648f1b 100644 --- a/pkg/agent/steering_test.go +++ b/pkg/agent/steering_test.go @@ -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,