diff --git a/packages/cli/src/ui/hooks/useGeminiStream.ts b/packages/cli/src/ui/hooks/useGeminiStream.ts index 37e62d93..dc108701 100644 --- a/packages/cli/src/ui/hooks/useGeminiStream.ts +++ b/packages/cli/src/ui/hooks/useGeminiStream.ts @@ -17,7 +17,7 @@ import { import { globalConfig } from '../../config/config.js'; import { getErrorMessage, isNodeError } from '../../utils/errors.js'; -const allowlistedCommands = ['ls']; // TODO: make this configurable +const allowlistedCommands = ['ls']; // TODO: make this configurable const addHistoryItem = ( setHistory: React.Dispatch>, @@ -123,7 +123,6 @@ export const useGeminiStream = ( }); return; } - } else if ( // HACK to detect errored function responses. typeof query === 'object' &&