mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-19 06:20:44 -07: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