Skip to content

ACP in JetBrains Rider: assistant output chunks are delayed/truncated until next prompt when using GLM5 plugin #15613

Closed as not planned

Description

@nkosi23

Summary

When using OpenCode via ACP in JetBrains Rider (confirmed with GLM5 model, possibly other models), assistant output is often not streamed fully in real time. Part of the response appears to be missing/truncated, and the missing content is only flushed/displayed when the next prompt is submitted.

Expected Behavior

Assistant output should stream continuously and completely during a single response, without requiring a follow-up prompt to reveal missing chunks.

Actual Behavior

  • Initial response appears truncated or incomplete.
  • Remaining output appears right before (or as part of UI handling for) the next prompt submission.
  • This creates the perception that streaming stopped early.

Environment

- IDE: JetBrains Rider
- Integration: OpenCode ACP agent plugin
- Model/plugin: GLM5 plugin (possibly reproducible with others)
- Transport: ACP session streaming/events

Notes / Suspected Cause

This may be related to client handling of incremental events (e.g., message.part.delta vs message.part.updated) or buffering/flush behavior in plugin-side rendering. It appears some chunks are received but not rendered until a subsequent interaction triggers UI flush.

Impact

- Confusing UX (looks like model stopped early).
- Hard to trust completeness of responses.
- Slower workflow due to manual “poke” (next prompt) required to reveal missing text.

Request

Please investigate ACP event/chunk handling in JetBrains plugin integrations and ensure incremental chunks are flushed/rendered immediately, including fallback behavior when only updated events are emitted.

Plugins

OpenCode ACP agent integration in JetBrains Rider

OpenCode version

1.2.15

Steps to reproduce

  1. Start OpenCode ACP agent integration in JetBrains Rider.
  2. Use GLM5 plugin (or another plugin) for a response that streams multiple chunks.
  3. Observe that output appears incomplete at end of generation.
  4. Send a new prompt.
  5. Notice previously missing output appears before the new request is actually sent upstream.

Screenshot and/or share link

Image

Operating System

OpenSUSE Tumbleweed

Terminal

No response

Activity

  1. github-actions commented on Mar 1, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

  2. nkosi23 commented on Mar 6, 2026

    @nkosi23
    Author

    @thdxr Can you please take a look at my PR? This is a very impacting bug

  3. wudeyong commented on Mar 12, 2026

    @wudeyong

    Is there a plan to merge this merge request into the main branch?

  4. hancengiz commented on Mar 14, 2026

    @hancengiz

    I created a seperate issue marked as relevant. fyi. #17505

  5. assigned and unassigned on Apr 26, 2026
  6. removed
    bugSomething isn't working
    on May 3, 2026
  7. nkosi23 commented on May 8, 2026

    @nkosi23
    Author

    @thdxr Why have you removed the bug and ACP flag?

    Seriously folks, i appreciate that managing that many contributions is not easy, but this experience is really awful. I've waited for two months without getting any feedback, fixed merge conflicts over that period in my PR as new code got merged, only to see my ticket essentially made irrelevant without getting any feedback.

    This is not a way to treat contributors.

  8. github-actions commented on Jul 10, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions