summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/hooks/useGeminiStream.ts
diff options
context:
space:
mode:
authorSeth Troisi <[email protected]>2025-04-29 23:38:26 +0000
committerSeth Troisi <[email protected]>2025-04-29 17:20:38 -0700
commitfb23321514dbc8d1c0243457e8d5d8d953bb3985 (patch)
tree1600685a1ab5aad8361701122d9212e91131fb60 /packages/cli/src/ui/hooks/useGeminiStream.ts
parentbf659f19776ddc4eb9825bd5376c66288aed06c8 (diff)
Add Intro text with list of /commands
Diffstat (limited to 'packages/cli/src/ui/hooks/useGeminiStream.ts')
-rw-r--r--packages/cli/src/ui/hooks/useGeminiStream.ts10
1 files changed, 8 insertions, 2 deletions
diff --git a/packages/cli/src/ui/hooks/useGeminiStream.ts b/packages/cli/src/ui/hooks/useGeminiStream.ts
index 7e1f2177..f166bc1e 100644
--- a/packages/cli/src/ui/hooks/useGeminiStream.ts
+++ b/packages/cli/src/ui/hooks/useGeminiStream.ts
@@ -69,7 +69,7 @@ export const useGeminiStream = (
}, []);
// Instantiate command processors
- const { handleSlashCommand } = useSlashCommandProcessor(
+ const { handleSlashCommand, slashCommands } = useSlashCommandProcessor(
setHistory,
setDebugMessage,
getNextMessageId,
@@ -532,5 +532,11 @@ export const useGeminiStream = (
],
);
- return { streamingState, submitQuery, initError, debugMessage };
+ return {
+ streamingState,
+ submitQuery,
+ initError,
+ debugMessage,
+ slashCommands,
+ };
};