mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-13 23:51:16 -07:00
Handle cleaning up the response text in the UI when a response stream retry occurs (#7416)
This commit is contained in:
@@ -650,6 +650,9 @@ export const useGeminiStream = (
|
||||
// before we add loop detected message to history
|
||||
loopDetectedRef.current = true;
|
||||
break;
|
||||
case ServerGeminiEventType.Retry:
|
||||
// Will add the missing logic later
|
||||
break;
|
||||
default: {
|
||||
// enforces exhaustive switch-case
|
||||
const unreachable: never = event;
|
||||
|
||||
Reference in New Issue
Block a user