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
{{ message }}
Repository navigation
Unexpected truncate before human input <think> label #11226
As my prompt is about to fix a bug related to <think> labels, but the LLM seems not to be able to see anything before the label, I assume it's the opencode that truncate anything before the </think> lable.
Plugins
oh-my-opencode
OpenCode version
1.1.43 with Minimax M2.1 provided by minimaxi(CN)
Steps to reproduce
Input any content with <think> </think>, and ask it to repeat it, do nothing else;
You would find out that opencode would only repeat the content AFTER the </think> label
Screenshot and/or share link
The Chinese content does not really matter, it simply just repeats things after </think> label, and knows nothing before it, the label acts just like a WALL.
This appears to be a similar issue where the model cannot see user-provided content, though the root cause may differ (empty arrays vs. content being filtered out when before </think> tags).
Feel free to ignore if this doesn't match your specific case.
Activity
github-actions commentedon Jan 30, 2026
This issue might be a duplicate of existing issues. Please check:
This appears to be a similar issue where the model cannot see user-provided content, though the root cause may differ (empty arrays vs. content being filtered out when before
</think>tags).Feel free to ignore if this doesn't match your specific case.
MusherM commentedon Jan 30, 2026
And Jesus, the
<think>label even can't display normally here in GitHub without the ````, the whole html label is a mess.github-actions commentedon Apr 1, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.