Where
lua/eca/sidebar.lua clear_chat() (after PRs editor-code-assistant#63 promptStop and editor-code-assistant#64 chat/clear merge upstream)
Symptom
User hits :EcaChatClear mid-stream. Local state reset (_is_streaming = false) but server keeps streaming chunks into void.
Fix
Before sending chat/clear, if self._is_streaming, call self:_finalize_streaming_response() — which (after editor-code-assistant#63 merges) sends chat/promptStop first.
Blocker
Needs both upstream PRs merged:
Size
3-line guard, trivial once blockers land.
Found
Code review on editor-code-assistant#64.
Where
lua/eca/sidebar.luaclear_chat()(after PRs editor-code-assistant#63 promptStop and editor-code-assistant#64 chat/clear merge upstream)Symptom
User hits
:EcaChatClearmid-stream. Local state reset (_is_streaming = false) but server keeps streaming chunks into void.Fix
Before sending
chat/clear, ifself._is_streaming, callself:_finalize_streaming_response()— which (after editor-code-assistant#63 merges) sendschat/promptStopfirst.Blocker
Needs both upstream PRs merged:
Size
3-line guard, trivial once blockers land.
Found
Code review on editor-code-assistant#64.