Interface LmChatOpenRouterNodeParameters

Source

interface LmChatOpenRouterNodeParameters {
    model?: string;
    options?: {
        frequencyPenalty?: number;
        maxRetries?: number;
        maxTokens?: number;
        presencePenalty?: number;
        providerRouting?: {
            allowFallbacks?: boolean;
            dataCollection?: "allow" | "deny";
            ignore?: string;
            only?: string;
            order?: string;
            requireParameters?: boolean;
            sort?: "price" | "throughput" | "latency";
            zdr?: boolean;
        };
        responseFormat?: "text"
        | "json_object";
        temperature?: number;
        timeout?: number;
        topP?: number;
    };
}

Properties§

§readonly model?: string

The model which will generate the completion. Learn more. Default: "openai/gpt-4.1-mini" Type options: {"loadOptions":{"routing":{"request":{"method":"GET","url":"/models"},"output":{"postReceive":[{"type":"rootProperty","properties":{"property":"data"}},{"type":"setKeyValue","properties":{"name":"={{$responseItem.id}}","value":"={{$responseItem.id}}"}},{"type":"sort","properties":{"key":"name"}}]}}}}

§readonly options?: { ... }

Additional options to add Default: {}