Expand description
Undo/Redo system for conversation management
This module provides functionality to track conversation states and enable undo/redo operations with branch preservation and memory-efficient snapshots.
Structsยง
- Branch
Info - Information about a branch in the conversation
- Conversation
Diff - Diff between two conversation states (for efficient storage)
- Conversation
Snapshot - Represents a complete snapshot of conversation state at a point in time
- Memory
Info - Memory usage information
- Snapshot
Metadata - Metadata associated with a conversation snapshot
- Undo
Redo Manager - Manages undo/redo operations for a conversation