Interface LanguageModelAlias

Represents an alias for a language model, allowing fallback and selection.

interface LanguageModelAlias {
    defaultModelIds: string[];
    description?: string;
    id: string;
    selectedModelId?: string;
}

Properties

defaultModelIds: string[]

The list of default model IDs to use if no selectedModelId is set. Ordered by priority. The first entry also serves as fallback.

description?: string

A human-readable description of the alias.

id: string

The unique identifier for the alias.

selectedModelId?: string

The currently selected model ID, if any.