Skip to content

Commit b989ff6

Browse files
committed
Add link
1 parent a3783e7 commit b989ff6

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

docs-devsite/ai.requestoptions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ export interface RequestOptions
2222

2323
| Property | Type | Description |
2424
| --- | --- | --- |
25-
| [baseUrl](./ai.requestoptions.md#requestoptionsbaseurl) | string | Base url for endpoint. Defaults to https://firebasevertexai.googleapis.com |
25+
| [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). |
2626
| [timeout](./ai.requestoptions.md#requestoptionstimeout) | number | Request timeout in milliseconds. Defaults to 180 seconds (180000ms). |
2727

2828
## RequestOptions.baseUrl
2929

30-
Base url for endpoint. Defaults to https://firebasevertexai.googleapis.com
30+
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).
3131

3232
<b>Signature:</b>
3333

packages/ai/src/methods/chrome-adapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export class ChromeAdapterImpl implements ChromeAdapter {
6666
* API existence
6767
* prompt formatting
6868
* model availability, including triggering download if necessary
69-
*
69+
*
7070
*
7171
* Pros: callers needn't be concerned with details of on-device availability.</p>
7272
* Cons: this method spans a few concerns and splits request validation from usage.

packages/ai/src/types/requests.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,10 @@ export interface RequestOptions {
165165
*/
166166
timeout?: number;
167167
/**
168-
* Base url for endpoint. Defaults to https://firebasevertexai.googleapis.com
168+
* Base url for endpoint. Defaults to
169+
* https://firebasevertexai.googleapis.com, which is the
170+
* {@link https://console.cloud.google.com/apis/library/firebasevertexai.googleapis.com?project=_ | Firebase AI Logic API}
171+
* (used regardless of your chosen Gemini API provider).
169172
*/
170173
baseUrl?: string;
171174
}

0 commit comments

Comments
 (0)