From 857052ff7534b564748ddbf5e35427fc24220548 Mon Sep 17 00:00:00 2001 From: Nick Veitch Date: Fri, 17 Jan 2025 18:10:52 +0000 Subject: [PATCH 1/2] Add warning for Gemini custom hosts --- docs/integrations/builtin/credentials/googleai.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/integrations/builtin/credentials/googleai.md b/docs/integrations/builtin/credentials/googleai.md index f53291a1af7..7adb8219783 100644 --- a/docs/integrations/builtin/credentials/googleai.md +++ b/docs/integrations/builtin/credentials/googleai.md @@ -35,9 +35,14 @@ To configure this credential, you'll need: - The API **Host** URL: Both PaLM and Gemini use the default `https://generativelanguage.googleapis.com`. - An **API Key**: Create a key in [Google AI Studio](https://makersuite.google.com/app/apikey){:target=_blank .external-link}. +/// warning | Custom hosts not supported + +The related nodes do not currently support custom hosts or proxies for the API host and must use 'https://generativelanguage.googleapis.com'. +/// + To create an API key: 1. Go to the API Key page in Google AI Studio: [https://makersuite.google.com/app/apikey](https://makersuite.google.com/app/apikey){:target=_blank .external-link}. 2. Select **Create API Key**. 3. You can choose whether to **Create API key in new project** or search for an existing Google Cloud project to **Create API key in existing project**. -4. Copy the generated API key and add it to your n8n credential. \ No newline at end of file +4. Copy the generated API key and add it to your n8n credential. From b392dd72aaea98c58ccbbfeeea4531ff13cf1737 Mon Sep 17 00:00:00 2001 From: Nick Veitch Date: Fri, 17 Jan 2025 18:13:04 +0000 Subject: [PATCH 2/2] rm line --- docs/integrations/builtin/credentials/googleai.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/integrations/builtin/credentials/googleai.md b/docs/integrations/builtin/credentials/googleai.md index 7adb8219783..6733d213c0a 100644 --- a/docs/integrations/builtin/credentials/googleai.md +++ b/docs/integrations/builtin/credentials/googleai.md @@ -36,7 +36,6 @@ To configure this credential, you'll need: - An **API Key**: Create a key in [Google AI Studio](https://makersuite.google.com/app/apikey){:target=_blank .external-link}. /// warning | Custom hosts not supported - The related nodes do not currently support custom hosts or proxies for the API host and must use 'https://generativelanguage.googleapis.com'. ///