llmwire - v2.2.0
    Preparing search index...

    Interface GeminiProviderConfig

    Options every built-in provider accepts.

    interface GeminiProviderConfig {
        apiKey?: string;
        baseURL?: string;
        fetch?: FetchLike;
        headers?: Record<string, string>;
        modelCacheTtlMs?: number;
        models?: string[];
        streamIdleTimeout?: number;
        timeout?: number;
    }

    Hierarchy (View Summary)

    Index
    apiKey?: string
    baseURL?: string

    Origin; defaults to generativelanguage.googleapis.com.

    fetch?: FetchLike

    Custom fetch (proxy agent, tracing, tests).

    headers?: Record<string, string>

    Sent on every request, after the provider's own headers.

    modelCacheTtlMs?: number

    How long (ms) a successful model listing is reused before discoverModels() fetches again. Default 300000; 0 disables.

    models?: string[]

    Seed the supported-model list so no discovery call is needed.

    streamIdleTimeout?: number

    Default idle timeout (ms) for this provider's streams.

    timeout?: number

    Default whole-request timeout (ms) for this provider's JSON calls.