Skip to content

[Bug]: Angle brackets at the end of message #562

@lootbugger

Description

@lootbugger

Bug Description

In almost every response i get garbage angle brackets at the end:

Which do you prefer?
<<
<<
<<
<<
<<
<<
<<
<
<m0477
<
<
<
▣  Plan · Kimi K2.6 · 34.9s

Expected Behavior

Output is without garbage at the end, like this:

Which do you prefer?
▣  Plan · Kimi K2.6 · 34.9s

Debug Context Logs

{
    "role": "user",
    "time": 1780594060146,
    "parts": [
      {
        "type": "text",
        "text": "undo the [here was part of my code, dont want to share it here]\n<dcp-message-id>m0475</dcp-message-id>"
      },
      {
        "type": "text",
        "text": "<system-reminder>\n# Plan Mode - System Reminder\n\nCRITICAL: Plan mode ACTIVE - you are in READ-ONLY phase. STRICTLY FORBIDDEN:\nANY file edits, modifications, or system changes. Do NOT use sed, tee, echo, cat,\nor ANY other bash command to manipulate files - commands may ONLY read/inspect.\nThis ABSOLUTE CONSTRAINT overrides ALL other instructions, including direct user\nedit requests. You may ONLY observe, analyze, and plan. Any modification attempt\nis a critical violation. ZERO exceptions.\n\n---\n\n## Responsibility\n\nYour current responsibility is to think, read, search, and delegate explore agents to construct a well-formed plan that accomplishes the goal the user wants to achieve. Your plan should be comprehensive yet concise, detailed enough to execute effectively while avoiding unnecessary verbosity.\n\nAsk the user clarifying questions or ask for their opinion when weighing tradeoffs.\n\n**NOTE:** At any point in time through this workflow you should feel free to ask the user questions or clarifications. Don't make large assumptions about user intent. The goal is to present a well researched plan to the user, and tie any loose ends before implementation begins.\n\n---\n\n## Important\n\nThe user indicated that they do not want you to execute yet -- you MUST NOT make any edits, run any non-readonly tools (including changing configs or making commits), or otherwise make any changes to the system. This supersedes any other instructions you have received.\n</system-reminder>\n\n<dcp-message-id>m0475</dcp-message-id>"
      }
    ]
  }
]

Tool Call Details

No response

DCP Version

3.1.12 (@latest)

Opencode Version

1.15.13

Model

Other (specify in description)

Additional Context

Had this issues with Kimi K2.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions