From 27e2f97a0eedf9f53f9ba43fd2072730c68bba26 Mon Sep 17 00:00:00 2001 From: Andrew Heard Date: Wed, 31 Jul 2024 21:33:13 -0400 Subject: [PATCH] Fix caution alert in README (#220) --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 49d0327e..74d5dd5c 100644 --- a/README.md +++ b/README.md @@ -7,12 +7,13 @@ build with the Gemini API. The Gemini API gives you access to Gemini Gemini models are built from the ground up to be multimodal, so you can reason seamlessly across text, images, and code. -> [!CAUTION] **Using the Google AI SDK for JavaScript directly from a -> client-side app is recommended for prototyping only.** If you plan to enable -> billing, we strongly recommend that you call the Google AI Gemini API only -> server-side to keep your API key safe. You risk potentially exposing your API -> key to malicious actors if you embed your API key directly in your JavaScript -> app or fetch it remotely at runtime. +> [!CAUTION] +> **Using the Google AI SDK for JavaScript directly from a client-side app is +> recommended for prototyping only.** If you plan to enable billing, we strongly +> recommend that you call the Google AI Gemini API only server-side to keep your +> API key safe. You risk potentially exposing your API key to malicious actors +> if you embed your API key directly in your JavaScript app or fetch it remotely +> at runtime. ## Get started with the Gemini API