| 1 | import SwiftUI |
| 2 | |
| 3 | @main |
| 4 | struct OndeExampleApp: App { |
| 5 | |
| 6 | init() { |
| 7 | // Must be called before any OndeChatEngine interaction so the Rust |
| 8 | // core can find its cache directories inside the app sandbox. |
| 9 | setupInferenceEnvironment() |
| 10 | } |
| 11 | |
| 12 | var body: some Scene { |
| 13 | WindowGroup { |
| 14 | ContentView() |
| 15 | } |
| 16 | } |
| 17 | } |