listModels method

  1. @override
Future<List<AiModel>> listModels()
override

Fetch available models from the provider's API.

Implementation

@override
Future<List<AiModel>> listModels() async => const [
  AiModel(id: 'llama-3.2-1b', name: 'Llama 3.2 1B Instruct (~0.8 GB)'),
  AiModel(id: 'gemma-2-2b', name: 'Gemma 2 2B (~1.7 GB)'),
  AiModel(id: 'qwen2.5-1.5b', name: 'Qwen 2.5 1.5B (~1.0 GB) — low-RAM'),
  AiModel(
    id: 'deepseek-r1-distill-1.5b',
    name: 'DeepSeek R1 Distill 1.5B (~1.1 GB) — reasoning',
  ),
];