React Native Firebase
    Preparing search index...

    Interface SingleRequestOptions

    Options that can be provided per-request.

    Options specified here will override any default RequestOptions configured on a model.

    interface SingleRequestOptions {
        baseUrl?: string;
        maxSequentialFunctionCalls?: number;
        signal?: AbortSignal;
        timeout?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    baseUrl?: string

    Base url for endpoint. Defaults to https://firebasevertexai.googleapis.com

    maxSequentialFunctionCalls?: number

    Limits amount of sequential function calls the SDK can make during automatic function calling, in order to prevent infinite loops. If not specified, this value defaults to 10.

    When it reaches this limit, it will return the last response received from the model, whether it is a text response or further function calls.

    signal?: AbortSignal

    An AbortSignal instance that allows cancelling ongoing requests.

    timeout?: number

    Request timeout in milliseconds. Defaults to 180 seconds (180000ms).