mcp-use TypeScript API
    Preparing search index...

    Interface ProviderConfig

    Provider-neutral model and HTTP request configuration.

    interface ProviderConfig {
        apiKey: string;
        baseUrl?: string;
        credentials?: RequestCredentials;
        extraHeaders?: Record<string, string>;
        maxTokens?: number;
        model: string;
        provider: ProviderName;
        reasoningEffort?: "none" | "low" | "medium" | "high";
        temperature?: number;
    }
    Index
    apiKey: string

    Provider API key. Ollama may use an empty string.

    baseUrl?: string

    Provider API base URL override.

    credentials?: RequestCredentials

    Fetch credentials (e.g. include for session-cookie auth against a proxy).

    extraHeaders?: Record<string, string>

    Extra HTTP headers to merge into every request (e.g. OpenRouter's HTTP-Referer).

    maxTokens?: number

    Maximum number of output tokens requested from the provider.

    model: string

    Provider-specific model identifier.

    provider: ProviderName

    Provider implementation used for requests.

    reasoningEffort?: "none" | "low" | "medium" | "high"

    Responses API reasoning effort (direct OpenAI provider).

    temperature?: number

    Sampling temperature forwarded to the provider.