OllamaModels class

Ollama Models capability implementation

This module handles model listing functionality for Ollama providers. Ollama supports listing available models through the /api/tags endpoint.

Implemented types

Constructors

OllamaModels.new(OllamaClient client, OllamaConfig config)

Properties

client OllamaClient
final
config OllamaConfig
final
hashCode int
The hash code for this object.
no setterinherited
modelsEndpoint String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

models() Future<List<AIModel>>
Get available models from the provider
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited