Skip to content

DeepSeek 4.1 Flash outputting raw model tags into the conversation #51710

Closed as not planned

Description

@jonatandorozco

Description

When the context surpasses 256K it seems to be either a provider/config change that makes the model to start outputting raw model tags (DSML) in the conversation making it very unusable because it stops the agent mid task.

Plugins

No response

OpenCode version

1.18.32

Steps to reproduce

  1. Use the model
  2. Fill the context up 256K
  3. Continue using it, it will start showing up

Screenshot and/or share link

Image

Operating System

macOS

Terminal

No response

Activity

  1. github-actions commented on Sep 27, 2026

    @github-actions
    Contributor

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

    • #50206: DeepSeek v4.1 Flash / OpenCode Go emits XML/DSML tool-call markup as plain text, so tools do not run correctly.
  2. thdxr commented on Oct 11, 2026

    @thdxr
    Member

    Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.

    — from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

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