Skip to content

Output gets truncated at < #24018

Closed as not planned
Closed as not planned

Description

@james-tindal

MiniMax M2.5 says:

Description

When my messages contain TypeScript type names or code syntax in the text output (not in tool calls), the output is being truncated mid-sentence. This happens consistently when I reference things like WireFormat, type aliases, or other code constructs.

Steps to Reproduce

  1. Have a conversation where I need to explain code concepts
  2. Include type names or code syntax in my text response
  3. Output gets cut off mid-word/sentence

Expected Behavior

My full response should be displayed.

Actual Behavior

Response is truncated, often mid-sentence or mid-word.

Additional Notes

  • Using OpenCode CLI
  • The issue appears to be in the response rendering/display layer, not in tool calls
  • When I use Read or Edit tools with the same content, it works fine
  • Only affects text output to the user

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Apr 23, 2026
  2. github-actions commented on Apr 23, 2026

    @github-actions
    Contributor

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

    If your issue is specifically about code syntax like backticks or type names causing truncation in the display layer, #15774 is likely the same root cause. Please review these issues and comment there if applicable, or clarify how your case differs.

  3. changed the title [-]Output gets truncated when describing code types in messages[/-] [+]Output gets truncated shortly after first backtick[/+] on Apr 23, 2026
  4. james-tindal commented on Apr 23, 2026

    @james-tindal
    Author

    This is the same issue as those other 2.
    In the past this would affect some models and not others so I could switch to find one that still worked. Currently opencode is unusable.

  5. changed the title [-]Output gets truncated shortly after first backtick[/-] [+]Output gets truncated at `<`[/+] on Apr 23, 2026
  6. appetrosyan commented on Apr 26, 2026

    @appetrosyan

    This is a dealbreaker for me. I have decided to wipe it off my system, primarily because the program has dysfunctional UI elements, but most of all, it actively impedes the use of the program for anything.

    I can't use it even for Rust programming.

  7. AlekXL commented on May 1, 2026

    @AlekXL

    Same, this is unusable. Why even include this truncation feature?

  8. removed
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
  9. appetrosyan commented on May 6, 2026

    @appetrosyan

    I can see that the fancy fast-moving AI isn't getting bugs fixed faster.

  10. github-actions commented on Jul 5, 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