Skip to content

Commit 27e2f97

Browse files
authored
Fix caution alert in README (google-gemini#220)
1 parent 4ee32e5 commit 27e2f97

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@ build with the Gemini API. The Gemini API gives you access to Gemini
77
Gemini models are built from the ground up to be multimodal, so you can reason
88
seamlessly across text, images, and code.
99

10-
> [!CAUTION] **Using the Google AI SDK for JavaScript directly from a
11-
> client-side app is recommended for prototyping only.** If you plan to enable
12-
> billing, we strongly recommend that you call the Google AI Gemini API only
13-
> server-side to keep your API key safe. You risk potentially exposing your API
14-
> key to malicious actors if you embed your API key directly in your JavaScript
15-
> app or fetch it remotely at runtime.
10+
> [!CAUTION]
11+
> **Using the Google AI SDK for JavaScript directly from a client-side app is
12+
> recommended for prototyping only.** If you plan to enable billing, we strongly
13+
> recommend that you call the Google AI Gemini API only server-side to keep your
14+
> API key safe. You risk potentially exposing your API key to malicious actors
15+
> if you embed your API key directly in your JavaScript app or fetch it remotely
16+
> at runtime.
1617
1718
## Get started with the Gemini API
1819

0 commit comments

Comments
 (0)