yera.setup.model_discovery.ollama
Ollama model discovery handler.
Symbols
OllamaModelSetup
Inherits:
ModelSetup[OllamaConnection]Handler for discovering models from an Ollama instance.
This class connects to an Ollama server, retrieves the list of available model tags, and queries each model's capabilities to categorise them as either LLMs or embedding models.
Methods
get_config — Obtain model configuration from the configured Ollama server.
OllamaModelSetup.get_config
get_config() → SetupResult[list[BaseModelConfig]]Obtain model configuration from the configured Ollama server.
Failure to list server models is returned as a blocking error. Failure to inspect an individual model is recoverable: that model is omitted with a warning and contributes to the skipped count.
Returns
type: SetupResult[list[BaseModelConfig]]
Supported Ollama model configuration and discovery diagnostics.