Module model_listing

Module model_listing 

Source
Expand description

Dynamic and static model listing for all LLM providers.

This module centralises model discovery so that both the GUI (Tauri commands) and the CLI can fetch / fall back to the same lists without duplicating HTTP logic.

Each provider’s listing is feature-gated to match the rest of gestura-core-llm.

Structs§

ModelInfo
A single model entry returned by listing endpoints.

Functions§

check_ollama_connectivity
Ping the Ollama endpoint to verify it is reachable.
list_models_for_provider
List available models for the given provider.
static_models_for_provider
Return the static / fallback model list for a provider (no network).