You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Have a conversation where I need to explain code concepts
Include type names or code syntax in my text response
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
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.
changed the title [-]Output gets truncated when describing code types in messages[/-][+]Output gets truncated shortly after first backtick[/+]on Apr 23, 2026
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.
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.
Activity
github-actions commentedon Apr 23, 2026
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.
[-]Output gets truncated when describing code types in messages[/-][+]Output gets truncated shortly after first backtick[/+]james-tindal commentedon Apr 23, 2026
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.
[-]Output gets truncated shortly after first backtick[/-][+]Output gets truncated at `<`[/+]appetrosyan commentedon Apr 26, 2026
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.
AlekXL commentedon May 1, 2026
Same, this is unusable. Why even include this truncation feature?
appetrosyan commentedon May 6, 2026
I can see that the fancy fast-moving AI isn't getting bugs fixed faster.
github-actions commentedon Jul 5, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.