Skip to content

Commit 5fafb46

Browse files
author
Gemini CLI
committed
docs: update README with google_api_key input
1 parent 0434cc5 commit 5fafb46

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ environment variables, and secrets.
5555

5656
<!-- BEGIN_AUTOGEN_INPUTS -->
5757

58+
- <a name="google_api_key"></a><a href="#user-content-google_api_key"><code>google_api_key</code></a>: _(Optional)_ The Google API key to use for authentication. This can be
59+
used as an alternative to the `GEMINI_API_KEY` secret.
60+
5861
- <a name="prompt"></a><a href="#user-content-prompt"><code>prompt</code></a>: _(Optional, default: `You are a helpful assistant.`)_ A specific prompt to guide Gemini.
5962

6063
- <a name="settings"></a><a href="#user-content-settings"><code>settings</code></a>: _(Optional)_ A JSON string to configure the Gemini CLI. This will be written to
@@ -98,7 +101,7 @@ The following secrets are required for security:
98101

99102
| Name | Description | Required | When Required |
100103
|-------------------|-----------------------------------------------|----------|----------------------------------------|
101-
| GEMINI_API_KEY | Your Gemini API key. | No | If using API key from AI Studio |
104+
| GEMINI_API_KEY | Your Gemini API key. You can also pass this as the `google_api_key` input. | No | If using API key from AI Studio |
102105
| APP_PRIVATE_KEY | Private key for your GitHub App (PEM format). | No | If using a custom GitHub App |
103106

104107
To add a secret, go to your repository's **Settings > Secrets and variables >
@@ -187,4 +190,4 @@ started.
187190
[Google AI Studio]: https://aistudio.google.com/apikey
188191
[Gemini CLI]: https://github.com/google-github-actions/run-gemini-cli
189192
[Google Cloud support]: https://cloud.google.com/support
190-
[variables]: https://docs.github.com/en/actions/learn-github-actions/variables
193+
[variables]: https://docs.github.com/en/actions/learn-github-actions/variables

0 commit comments

Comments
 (0)