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

    Function resolveVersionOptions

    • Builds the selectable model options for a version dropdown: the live list probed from the provider (or local Ollama server) when known, otherwise the curated catalog suggestions, always keeping the saved model selectable even when it is missing from the list (e.g. retired by the provider or removed locally) so the dropdown never loses its current value.

      Parameters

      • curatedOptions: readonly string[]

        The static suggestion list from the model catalog

      • availableModels: readonly string[]

        Models probed from the provider (may be empty)

      • OptionalsavedVersion: string

        The currently saved model name, if any

      Returns string[]

      The options to render in the dropdown