Documentation
    Preparing search index...

    Interface LlmProviderPreset

    One well-known provider configuration a host can offer in its connection editor.

    interface LlmProviderPreset {
        baseUrl: string;
        credentialHeader?: LlmCredentialHeader;
        docsUrl: string;
        exampleModels: readonly string[];
        id: string;
        label: string;
        local: boolean;
        modelsPath?: string;
        protocol: LlmProviderProtocol;
        requiresCredential: boolean;
    }
    Index

    Properties

    baseUrl: string

    Default API root; local presets point at the server's usual loopback port.

    credentialHeader?: LlmCredentialHeader

    Credential header when the protocol default does not apply.

    docsUrl: string

    Where to obtain a key or read model names.

    exampleModels: readonly string[]

    Example model identifiers to seed the editor; the user may type any model.

    id: string

    Stable preset identifier.

    label: string

    User-facing provider name.

    local: boolean

    Whether the default endpoint runs on the user's machine. The route still names it.

    modelsPath?: string

    Listing path when the provider serves one (GET <baseUrl><modelsPath>). Hosts may offer a model dropdown seeded from it instead of free-text entry; a provider that omits this keeps manual model entry.

    requiresCredential: boolean

    Whether a credential is normally required. Local servers usually need none.