mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-17 17:41:24 -07:00
When an error occurs stop processing.
This commit is contained in:
committed by
N. Taylor Mullen
parent
8537aabba4
commit
df74594b8f
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user