runModelGenerator top-level property
Implementation
final FigGenerator runModelGenerator = FigGenerator(
script: ['bash', '-c', "ollama ps | awk '!/NAME/ { print \$1 }'"],
postProcess: (String out, [List<String>? tokens]) {
return out
.trim()
.split('\n')
.map((model) => FigSuggestion(name: model))
.toList();
},
);