Base url for endpoint. Defaults to https://firebasevertexai.googleapis.com, which is the Firebase AI Logic API (used regardless of your chosen Gemini API provider).
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 (used regardless of your chosen Gemini API provider).
Signature:
baseUrl?:string;
RequestOptions.timeout
Request timeout in milliseconds. Defaults to 180 seconds (180000ms).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["Params passed to [getGenerativeModel()](./ai.md#getgenerativemodel_c63f46a).\n\n**Signature:** \n\n export interface RequestOptions \n\nProperties\n\n| Property | Type | Description |\n|---------------------------------------------------------|--------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [baseUrl](./ai.requestoptions.md#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). |\n| [timeout](./ai.requestoptions.md#requestoptionstimeout) | number | Request timeout in milliseconds. Defaults to 180 seconds (180000ms). |\n\nRequestOptions.baseUrl\n\nBase 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).\n\n**Signature:** \n\n baseUrl?: string;\n\nRequestOptions.timeout\n\nRequest timeout in milliseconds. Defaults to 180 seconds (180000ms).\n\n**Signature:** \n\n timeout?: number;"]]