summaryrefslogtreecommitdiff
path: root/packages/cli/src
diff options
context:
space:
mode:
authorTaylor Mullen <[email protected]>2025-05-12 00:04:21 -0700
committerN. Taylor Mullen <[email protected]>2025-05-12 00:06:20 -0700
commitdf74594b8ff9d277f0358f89f7ef7bc568a7b8ec (patch)
tree37bedec074804cc8b68f8004b0f7ce7b78f3ffb1 /packages/cli/src
parent8537aabba49543af5c96138285578e4e9d36a76f (diff)
When an error occurs stop processing.
Diffstat (limited to 'packages/cli/src')
-rw-r--r--packages/cli/src/ui/hooks/useGeminiStream.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/packages/cli/src/ui/hooks/useGeminiStream.ts b/packages/cli/src/ui/hooks/useGeminiStream.ts
index 7ab30463..6ff41d2f 100644
--- a/packages/cli/src/ui/hooks/useGeminiStream.ts
+++ b/packages/cli/src/ui/hooks/useGeminiStream.ts
@@ -333,8 +333,6 @@ export const useGeminiStream = (
{ type: 'error', text: `[API Error: ${event.value.message}]` },
userMessageTimestamp,
);
- setStreamingState(StreamingState.Idle);
- // Allow stream to end naturally
}
} // End stream loop