Add Intro text with list of /commands

This commit is contained in:
Seth Troisi
2025-04-29 23:38:26 +00:00
parent bf659f1977
commit fb23321514
4 changed files with 46 additions and 28 deletions

View File

@@ -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,
};
};