mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 19:52:02 +00:00
Add Intro text with list of /commands
This commit is contained in:
parent
bf659f1977
commit
fb23321514
4 changed files with 46 additions and 28 deletions
|
|
@ -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,
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue