AI Cross-Platform Application Features Vertical navigation panel with main functions Split-screen UI for request/response State persistence History tracking Multi-model AI support File context handling with confirmation dialogs Smart model switching with fallback mechanisms Architecture MVC Pattern: Clear separation between components Pekko Actors: For async history management ScalaFX: Reactive UI components JSON Serialization: Using uPickle for state persistence Request Pipeline: Modular request processing with context handling File Manager: Intelligent file context processing and validation Best Practices Actor-based concurrency for history management Immutable state handling Dependency separation Type-safe configuration Proper error handling Content validation and sanitization User confirmation for sensitive operations Graceful fallback mechanisms Build & Run sbt compile sbt run