Resolved return handling in MacContentView and improved ChatViewModel’s Swift 6 capture semantics.
Changes
- Refactored return handling logic in MacContentView to ensure proper state management.
- Updated ChatViewModel to utilize Swift 6 capture semantics for better memory management.
- Implemented error handling in MacContentView to prevent crashes during return transitions.