Skip to content

Unexpected truncate before human input <think> label #11226

Closed

Description

@MusherM

Description

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

  1. Input any content with <think> </think>, and ask it to repeat it, do nothing else;
  2. You would find out that opencode would only repeat the content AFTER the </think> label

Screenshot and/or share link

Image

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.

Operating System

macOS 26

Terminal

iTerm2

Activity

  1. github-actions commented on Jan 30, 2026

    @github-actions
    Contributor

    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.

  2. MusherM commented on Jan 30, 2026

    @MusherM
    Author

    And Jesus, the <think> label even can't display normally here in GitHub without the ````, the whole html label is a mess.

  3. github-actions commented on Apr 1, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 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

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions