| 1 | /// Runtime capabilities of the native packages wrapped by `apple_mlx`. |
| 2 | /// |
| 3 | /// Keep these flags conservative. A capability should only become available |
| 4 | /// after the native dependency performs real inference on a supported device. |
| 5 | abstract final class AppleMlxCapabilities { |
| 6 | /// Whether native MLX LLM inference is available on supported Apple platforms (iOS, iPadOS, macOS). |
| 7 | static const bool nativeLlmInferenceAvailable = true; |
| 8 | |
| 9 | static const String nativeLlmUnavailableReason = |
| 10 | 'Apple MLX text generation is only supported on Apple platforms (iOS, iPadOS, macOS).'; |
| 11 | } |