mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
Have /clear clear <Static> content by remounting (#250)
This commit is contained in:
@@ -48,6 +48,7 @@ const addHistoryItem = (
|
||||
// Hook now accepts apiKey and model
|
||||
export const useGeminiStream = (
|
||||
setHistory: React.Dispatch<React.SetStateAction<HistoryItem[]>>,
|
||||
refreshStatic: () => void,
|
||||
config: Config,
|
||||
openThemeDialog: () => void,
|
||||
) => {
|
||||
@@ -73,6 +74,7 @@ export const useGeminiStream = (
|
||||
// Instantiate command processors
|
||||
const { handleSlashCommand, slashCommands } = useSlashCommandProcessor(
|
||||
setHistory,
|
||||
refreshStatic,
|
||||
setDebugMessage,
|
||||
getNextMessageId,
|
||||
openThemeDialog,
|
||||
|
||||
Reference in New Issue
Block a user