diff options
Diffstat (limited to 'packages/cli/src/ui/hooks/useGeminiStream.ts')
| -rw-r--r-- | packages/cli/src/ui/hooks/useGeminiStream.ts | 10 |
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, + }; }; |
