Chatoyant - v0.9.0
    Preparing search index...

    Interface LocalClientConfig

    Local provider client configuration.

    Like OpenAIClientConfig but baseUrl is required and apiKey is optional (defaults to "local").

    interface LocalClientConfig {
        baseUrl: string;
        apiKey?: string;
        timeout?: number;
        defaultModel?: string;
        headers?: Record<string, string>;
    }
    Index

    Properties

    baseUrl: string

    Base URL of the local inference server (required).

    apiKey?: string

    API key. Defaults to "local" for servers that don't validate it.

    timeout?: number

    Default timeout in ms.

    defaultModel?: string

    Default model for chat.

    headers?: Record<string, string>

    Additional headers.