Backticks in output at premature termination at opencode responses #1026

Closed
opened 2026-02-16 17:29:07 -05:00 by yindo · 1 comment
Owner

Originally created by @MichaelRoyceCarroll on GitHub (Jul 31, 2025).

Originally assigned to: @thdxr on GitHub.

I was using open code to assess how opencode handles LLM responses in it's own code base. In the process, I saw an apparent bug: when a back tick was passed to the user chat display from the back end model... The response would stop.

See the attached log to observe the behavior. Note: Review is much quicker to start at the end of this attachment.

  • This error could possibly be related to issue #797 .
  • This could be related to some special character handling or escaping that I should be controlling via opencode configuration... but accidentally neglected. (???)

chatlog.txt

Grateful for your efforts on this application. It's the game changer.
I'm on sst/opencode version 0.3.101.

Originally created by @MichaelRoyceCarroll on GitHub (Jul 31, 2025). Originally assigned to: @thdxr on GitHub. I was using open code to assess how opencode handles LLM responses in it's own code base. In the process, I saw an apparent bug: when a back tick was passed to the user chat display from the back end model... The response would stop. See the attached log to observe the behavior. Note: Review is much quicker to start at the end of this attachment. - This error could possibly be related to issue #797 . - This could be related to some special character handling or escaping that I should be controlling via opencode configuration... but accidentally neglected. (???) [chatlog.txt](https://github.com/user-attachments/files/21536263/chatlog.txt) Grateful for your efforts on this application. It's the game changer. <edit>I'm on sst/opencode version 0.3.101.</edit>
yindo closed this issue 2026-02-16 17:29:07 -05:00
Author
Owner

@rekram1-node commented on GitHub (Dec 27, 2025):

[automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!

@rekram1-node commented on GitHub (Dec 27, 2025): [automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1026