mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 16:57:46 +00: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