Skip to content

chat/clear during streaming orphans server stream #2

Open

Description

@ssjoleary

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.

Activity

  1. added
    blocked
    on Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    blocked

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions