Skip to content

while send a request by API /session/:id/message or /session/:id/prompt_async, always recv the message.part.updated by SSE connection #11424

Closed

Description

@codejie

Description

while send a request by API /session/:id/message or /session/:id/prompt_async, always recv the message.part.updated by SSE connection.
break the SSE connection, then connect again, get message.part.updated yet, untill stop and start opencode again.

Plugins

No response

OpenCode version

v1.1.44

Steps to reproduce

  1. create a seesion;
  2. connect to sse;
  3. send a message;
  4. get response by sse connection

Screenshot and/or share link

Image

Operating System

macOS 26, M5

Terminal

Terminal

Activity

  1. github-actions commented on Jan 31, 2026

    @github-actions
    Contributor

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

    Feel free to ignore if none of these address your specific case.

  2. codejie commented on Jan 31, 2026

    @codejie
    Author

    log.txt

    I think opencode serve re-sent the response again and again with several seconds.

    Please check: https://github.com/codejie/opencode-api

  3. codejie commented on Feb 1, 2026

    @codejie
    Author
    Image

    seems opencode has the same issue.

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions