From a76d9b4dcfa291c182c4fb1320992db448f0285c Mon Sep 17 00:00:00 2001 From: Juliette Love Date: Sun, 20 Apr 2025 21:06:22 +0100 Subject: Adds shell command allowlist (#68) * Wire through passthrough commands * Add default passthrough commands * Clean up config passing to useGeminiStream --- packages/cli/src/ui/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/cli/src/ui/App.tsx') 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([]); const [startupWarnings, setStartupWarnings] = useState([]); const { streamingState, submitQuery, initError, debugMessage } = - useGeminiStream(setHistory, config.getApiKey(), config.getModel()); + useGeminiStream(setHistory, config); const { elapsedTime, currentLoadingPhrase } = useLoadingIndicator(streamingState); -- cgit v1.2.3