Params passed to [getGenerativeModel()](https://firebase.google.com/docs/reference/js/ai#getgenerativemodel_c63f46a).

**Signature:**

    export interface RequestOptions 

## Properties

| Property | Type | Description |
|---|---|---|
| [baseUrl](https://firebase.google.com/docs/reference/js/ai.requestoptions#requestoptionsbaseurl) | string | Base url for endpoint. Defaults to https://firebasevertexai.googleapis.com, which is the [Firebase AI Logic API](https://console.cloud.google.com/apis/library/firebasevertexai.googleapis.com?project=_) (used regardless of your chosen Gemini API provider). |
| [maxSequentialFunctionCalls](https://firebase.google.com/docs/reference/js/ai.requestoptions#requestoptionsmaxsequentialfunctioncalls) | 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. |
| [timeout](https://firebase.google.com/docs/reference/js/ai.requestoptions#requestoptionstimeout) | number | Request timeout in milliseconds. Defaults to 180 seconds (180000ms). |

## RequestOptions.baseUrl

Base url for endpoint. Defaults to https://firebasevertexai.googleapis.com, which is the [Firebase AI Logic API](https://console.cloud.google.com/apis/library/firebasevertexai.googleapis.com?project=_) (used regardless of your chosen Gemini API provider).

**Signature:**

    baseUrl?: string;

## RequestOptions.maxSequentialFunctionCalls

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.

**Signature:**

    maxSequentialFunctionCalls?: number;

## RequestOptions.timeout

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

**Signature:**

    timeout?: number;