mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 20:50:34 +00:00
Handle cleaning up the response text in the UI when a response stream retry occurs (#7416)
This commit is contained in:
parent
dfa9dda1dd
commit
a2a3c66e28
8 changed files with 371 additions and 140 deletions
|
|
@ -616,6 +616,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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue