diff options
| author | Seth Troisi <[email protected]> | 2025-04-29 23:38:26 +0000 |
|---|---|---|
| committer | Seth Troisi <[email protected]> | 2025-04-29 17:20:38 -0700 |
| commit | fb23321514dbc8d1c0243457e8d5d8d953bb3985 (patch) | |
| tree | 1600685a1ab5aad8361701122d9212e91131fb60 /packages/cli/src/ui/App.tsx | |
| parent | bf659f19776ddc4eb9825bd5376c66288aed06c8 (diff) | |
Add Intro text with list of /commands
Diffstat (limited to 'packages/cli/src/ui/App.tsx')
| -rw-r--r-- | packages/cli/src/ui/App.tsx | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/packages/cli/src/ui/App.tsx b/packages/cli/src/ui/App.tsx index ce326af5..4bf7123e 100644 --- a/packages/cli/src/ui/App.tsx +++ b/packages/cli/src/ui/App.tsx @@ -32,8 +32,13 @@ interface AppProps { export const App = ({ config, cliVersion }: AppProps) => { const [history, setHistory] = useState<HistoryItem[]>([]); const [startupWarnings, setStartupWarnings] = useState<string[]>([]); - const { streamingState, submitQuery, initError, debugMessage } = - useGeminiStream(setHistory, config); + const { + streamingState, + submitQuery, + initError, + debugMessage, + slashCommands, + } = useGeminiStream(setHistory, config); const { elapsedTime, currentLoadingPhrase } = useLoadingIndicator(streamingState); @@ -104,7 +109,7 @@ export const App = ({ config, cliVersion }: AppProps) => { <Box flexDirection="column" key={'header-' + index}> <Header /> <Tips /> - <Intro /> + <Intro commands={slashCommands} /> </Box> ); } |
