diff options
| author | Seth Troisi <[email protected]> | 2025-05-05 17:57:06 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-05-05 10:57:06 -0700 |
| commit | 415b757d4a7e654ebf6eae50b67498d0ae49f7f2 (patch) | |
| tree | ef97e881bbb57547447cffe314cf296a4355d8b2 /packages/cli/src/ui/hooks/useGeminiStream.ts | |
| parent | a0bed3e7169eb6ce89b283b4c1dc0107e3851572 (diff) | |
Remove passthroughCommands (#252)
Diffstat (limited to 'packages/cli/src/ui/hooks/useGeminiStream.ts')
| -rw-r--r-- | packages/cli/src/ui/hooks/useGeminiStream.ts | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/packages/cli/src/ui/hooks/useGeminiStream.ts b/packages/cli/src/ui/hooks/useGeminiStream.ts index 52675145..2931bbc3 100644 --- a/packages/cli/src/ui/hooks/useGeminiStream.ts +++ b/packages/cli/src/ui/hooks/useGeminiStream.ts @@ -30,7 +30,6 @@ import { import { isAtCommand } from '../utils/commandUtils.js'; import { useSlashCommandProcessor } from './slashCommandProcessor.js'; import { useShellCommandProcessor } from './shellCommandProcessor.js'; -import { usePassthroughProcessor } from './passthroughCommandProcessor.js'; import { handleAtCommand } from './atCommandProcessor.js'; import { findSafeSplitPoint } from '../utils/markdownUtilities.js'; @@ -88,14 +87,6 @@ export const useGeminiStream = ( config, ); - const { handlePassthroughCommand } = usePassthroughProcessor( - setHistory, - setStreamingState, - setDebugMessage, - getNextMessageId, - config, - ); - // Initialize Client Effect - uses props now useEffect(() => { setInitError(null); @@ -177,11 +168,6 @@ export const useGeminiStream = ( return; } - // 3. Check for Passthrough Commands - if (handlePassthroughCommand(trimmedQuery)) { - return; - } - // 3. Check for @ Commands using the utility function if (isAtCommand(trimmedQuery)) { const atCommandResult = await handleAtCommand({ @@ -542,7 +528,6 @@ export const useGeminiStream = ( getNextMessageId, updateGeminiMessage, handleSlashCommand, - handlePassthroughCommand, // handleAtCommand is implicitly included via its direct call setDebugMessage, // Added dependency for handleAtCommand & passthrough setStreamingState, // Added dependency for handlePassthroughCommand |
