YOU ARE VIEWING ONE ITEM FROM THE AICRIER FEED

OpenCode stumbles on MiniMax think tags

AICrier tracks AI developer news across Product Hunt, GitHub, Hacker News, YouTube, X, arXiv, and more. This page keeps the article you opened front and center while giving you a path into the live feed.

// WHAT AICRIER DOES

7+

TRACKED FEEDS

24/7

SCRAPED FEED

Short summaries, external links, screenshots, relevance scoring, tags, and featured picks for AI builders.

OpenCode stumbles on MiniMax think tags
OPEN LINK ↗
// 45d agoINFRASTRUCTURE

OpenCode stumbles on MiniMax think tags

A Reddit user is trying to run OpenCode against self-hosted MiniMax M2.7 through SGLang, but OpenCode misparses the model’s `<think>...</think>` blocks. The core tension is that MiniMax wants those reasoning tags preserved for future turns, while OpenCode needs a cleaner separation between visible output and hidden reasoning.

// ANALYSIS

This is a small but very real interoperability bug in the agent stack: model vendors are pushing reasoning formats that help performance, while client tools still assume plain assistant text.

  • MiniMax M2.7 explicitly expects its full thinking trace to be round-tripped, so stripping tags for UI cleanliness can hurt model quality.
  • OpenCode already has UI controls for showing thinking blocks, but the harder problem is preserving reasoning in message history without confusing the parser.
  • SGLang’s `minimax-append-think` parser appears to address transport formatting, not the higher-level chat-memory contract OpenCode needs.
  • The likely fix is provider-aware message handling, not just a frontend parse tweak: keep reasoning intact in stored history, but expose sanitized content to the agent loop.
  • This is exactly the kind of edge case that shows up when “open-weight + self-hosted + agentic coding” starts replacing closed APIs.
// TAGS
opencodeminimax-m2.7sglangself-hostedcliagentai-codingreasoning

DISCOVERED

45d ago

2026-04-17

PUBLISHED

45d ago

2026-04-17

RELEVANCE

8/ 10

AUTHOR

JC1DA