summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/hooks/useGeminiStream.ts
diff options
context:
space:
mode:
authorSeth Troisi <[email protected]>2025-04-30 22:26:28 +0000
committerSeth Troisi <[email protected]>2025-04-30 22:32:29 +0000
commit2616e965a7caa39d731bda881db5a2feb851aa34 (patch)
tree96c2e6e0eea6a8b976f2c0c43d51d0f1659789af /packages/cli/src/ui/hooks/useGeminiStream.ts
parent5f5edb4c9bac24c4875ffc1a5a97ad8cf11f4436 (diff)
Moved theme to slashCommand
Diffstat (limited to 'packages/cli/src/ui/hooks/useGeminiStream.ts')
-rw-r--r--packages/cli/src/ui/hooks/useGeminiStream.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/cli/src/ui/hooks/useGeminiStream.ts b/packages/cli/src/ui/hooks/useGeminiStream.ts
index 89cd5223..9e2901ec 100644
--- a/packages/cli/src/ui/hooks/useGeminiStream.ts
+++ b/packages/cli/src/ui/hooks/useGeminiStream.ts
@@ -49,6 +49,7 @@ const addHistoryItem = (
export const useGeminiStream = (
setHistory: React.Dispatch<React.SetStateAction<HistoryItem[]>>,
config: Config,
+ openThemeDialog: () => void,
) => {
const toolRegistry = config.getToolRegistry();
const [streamingState, setStreamingState] = useState<StreamingState>(
@@ -74,6 +75,7 @@ export const useGeminiStream = (
setHistory,
setDebugMessage,
getNextMessageId,
+ openThemeDialog,
);
const { handleShellCommand } = useShellCommandProcessor(