@zimtsui/brainswitch
    Preparing search index...

    Interface Options<fdm>

    interface Options<in out fdm extends Function.Declaration.Map = {}> {
        apiKey: string;
        apiType:
            | "openai-chatcompletions"
            | "openai-responses"
            | "google"
            | "qwen"
            | "openrouter-monolith"
            | "openrouter-stream"
            | "huggingface-cerebras-qwen3-thinking";
        baseUrl: string;
        cachedPrice?: number;
        customOptions?: { [key: string]: any };
        functionCallMode?: Function.ToolChoice<fdm>;
        functionDeclarationMap: fdm;
        inputPrice?: number;
        model: string;
        name: string;
        outputPrice?: number;
        proxy?: string;
        rpm?: number;
        throttle: Throttle;
        timeout?: number;
        tpm?: number;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    apiKey: string = ...
    apiType:
        | "openai-chatcompletions"
        | "openai-responses"
        | "google"
        | "qwen"
        | "openrouter-monolith"
        | "openrouter-stream"
        | "huggingface-cerebras-qwen3-thinking" = ...
    baseUrl: string = ...
    cachedPrice?: number = ...
    customOptions?: { [key: string]: any } = ...
    functionCallMode?: Function.ToolChoice<fdm>
    functionDeclarationMap: fdm
    inputPrice?: number = ...
    model: string = ...
    name: string = ...
    outputPrice?: number = ...
    proxy?: string = ...
    rpm?: number = ...
    throttle: Throttle
    timeout?: number = ...
    tpm?: number = ...