Moved theme to slashCommand

This commit is contained in:
Seth Troisi
2025-04-30 22:26:28 +00:00
parent 5f5edb4c9b
commit 2616e965a7
3 changed files with 31 additions and 24 deletions

View File

@@ -49,6 +49,7 @@ const addHistoryItem = (
export const useGeminiStream = (
setHistory: React.Dispatch<React.SetStateAction<HistoryItem[]>>,
config: Config,
openThemeDialog: () => void,
) => {
const toolRegistry = config.getToolRegistry();
const [streamingState, setStreamingState] = useState<StreamingState>(
@@ -74,6 +75,7 @@ export const useGeminiStream = (
setHistory,
setDebugMessage,
getNextMessageId,
openThemeDialog,
);
const { handleShellCommand } = useShellCommandProcessor(