ListModels

1
2
3
4
5
6
7
using var api = new OllamaApiClient();

var models = await api.Models.ListModelsAsync();

await api.Models.PullModelAsync("all-minilm").EnsureSuccessAsync();

models = await api.Models.ListModelsAsync();