Available Ollama model versions. Ollama models are installed locally by the
user (ollama pull <model>), so any model name is valid. The intersection
with Record<never, never> keeps autocomplete for the curated suggestions
in the union below without restricting the accepted values.
Deliberate tradeoff: because this type accepts any string, the LlmVersion
union below also widens to accept any string for every provider. That is
intentional — model dropdowns are populated from live provider APIs, so
valid versions are not limited to the curated literals; correctness is
enforced at runtime (getValidVersion, provider responses), not at compile
time.
Available Ollama model versions. Ollama models are installed locally by the user (
ollama pull <model>), so any model name is valid. The intersection withRecord<never, never>keeps autocomplete for the curated suggestions in the union below without restricting the accepted values.Deliberate tradeoff: because this type accepts any string, the LlmVersion union below also widens to accept any string for every provider. That is intentional — model dropdowns are populated from live provider APIs, so valid versions are not limited to the curated literals; correctness is enforced at runtime (getValidVersion, provider responses), not at compile time.