diff options
| author | Juliette Love <[email protected]> | 2025-04-20 21:06:22 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-04-20 21:06:22 +0100 |
| commit | a76d9b4dcfa291c182c4fb1320992db448f0285c (patch) | |
| tree | 02390710cfc6deb73657a1d400f534c93030aaeb /packages/cli/src/ui/App.tsx | |
| parent | f480ef4bbcc9dc03b5a9a1e80e5f428038c8d34e (diff) | |
Adds shell command allowlist (#68)
* Wire through passthrough commands
* Add default passthrough commands
* Clean up config passing to useGeminiStream
Diffstat (limited to 'packages/cli/src/ui/App.tsx')
| -rw-r--r-- | packages/cli/src/ui/App.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/cli/src/ui/App.tsx b/packages/cli/src/ui/App.tsx index cfbc024e..daf7845c 100644 --- a/packages/cli/src/ui/App.tsx +++ b/packages/cli/src/ui/App.tsx @@ -32,7 +32,7 @@ export const App = ({ config }: AppProps) => { const [history, setHistory] = useState<HistoryItem[]>([]); const [startupWarnings, setStartupWarnings] = useState<string[]>([]); const { streamingState, submitQuery, initError, debugMessage } = - useGeminiStream(setHistory, config.getApiKey(), config.getModel()); + useGeminiStream(setHistory, config); const { elapsedTime, currentLoadingPhrase } = useLoadingIndicator(streamingState); |
