- Add state *state.Manager field to AgentLoop struct - Initialize stateManager in NewAgentLoop using state.NewManager - Implement RecordLastChannel method that calls state.SetLastChannel - Implement RecordLastChatID method for chat ID tracking - Add comprehensive tests for state persistence - Verify state survives across AgentLoop instances Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| context.go | ||
| loop.go | ||
| loop_test.go | ||
| memory.go | ||