diff options
| author | Taylor Mullen <[email protected]> | 2025-05-12 00:04:21 -0700 |
|---|---|---|
| committer | N. Taylor Mullen <[email protected]> | 2025-05-12 00:06:20 -0700 |
| commit | df74594b8ff9d277f0358f89f7ef7bc568a7b8ec (patch) | |
| tree | 37bedec074804cc8b68f8004b0f7ce7b78f3ffb1 /packages/cli/src | |
| parent | 8537aabba49543af5c96138285578e4e9d36a76f (diff) | |
When an error occurs stop processing.
Diffstat (limited to 'packages/cli/src')
| -rw-r--r-- | packages/cli/src/ui/hooks/useGeminiStream.ts | 2 |
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 |
