MAIDR Documentation - v3.69.0
    Preparing search index...

    Function getValidVersion

    • Resolves a saved model version for the given provider. Any non-empty saved version is accepted — model dropdowns are populated from each provider's live models API (and the local Ollama server), so valid selections are not limited to the curated catalog above. Only a blank version falls back to the provider default.

      Parameters

      • modelKey: Llm

        The LLM provider identifier

      • currentVersion: string | undefined

        The saved model version, if any

      Returns LlmVersion

      The resolved model version