Skip to content

Commit ce7ad18

Browse files
authored
Merge branch 'google-gemini:main' into feat/explicit-proxy-option
2 parents bab58c5 + e7b0b49 commit ce7ad18

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ You are now ready to use the Gemini CLI!
4040

4141
### Use a Gemini API key:
4242

43-
The Gemini API provides a free tier with [100 requets per day](https://ai.google.dev/gemini-api/docs/rate-limits#free-tier) using Gemini 2.5 Pro, control over which model you use, and access to higher rate limits (with a paid plan):
43+
The Gemini API provides a free tier with [100 requests per day](https://ai.google.dev/gemini-api/docs/rate-limits#free-tier) using Gemini 2.5 Pro, control over which model you use, and access to higher rate limits (with a paid plan):
4444

4545
1. Generate a key from [Google AI Studio](https://aistudio.google.com/apikey).
4646
2. Set it as an environment variable in your terminal. Replace `YOUR_API_KEY` with your generated key.

packages/cli/src/ui/App.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,9 @@ const App = ({ config, settings, startupWarnings = [] }: AppProps) => {
567567
return (
568568
<StreamingContext.Provider value={streamingState}>
569569
<Box flexDirection="column" marginBottom={1} width="90%">
570+
{/* Move UpdateNotification outside Static so it can re-render when updateMessage changes */}
571+
{updateMessage && <UpdateNotification message={updateMessage} />}
572+
570573
{/*
571574
* The Static component is an Ink intrinsic in which there can only be 1 per application.
572575
* Because of this restriction we're hacking it slightly by having a 'header' item here to
@@ -584,7 +587,6 @@ const App = ({ config, settings, startupWarnings = [] }: AppProps) => {
584587
<Box flexDirection="column" key="header">
585588
<Header terminalWidth={terminalWidth} />
586589
{!settings.merged.hideTips && <Tips config={config} />}
587-
{updateMessage && <UpdateNotification message={updateMessage} />}
588590
</Box>,
589591
...history.map((h) => (
590592
<HistoryItemDisplay

0 commit comments

Comments
 (0)