enableLocalLlm constant

bool const enableLocalLlm

Whether the on-device LLM provider (llama.cpp via llama_cpp_dart) is exposed in the UI. Off by default; turn on with --dart-define=ENABLE_LOCAL_LLM=true. The code that powers the provider (datasource, GGUF specs, isolate engine) is still compiled — this only hides the user-facing surface and skips runtime wiring.

Implementation

static const bool enableLocalLlm = bool.fromEnvironment(
  'ENABLE_LOCAL_LLM',
  defaultValue: false,
);