docs: add model picker gif - #36
Closed
sublimode wants to merge 1 commit into
Closed
Conversation
ltmoerdani
added a commit
that referenced
this pull request
Jul 23, 2026
…#36) Root cause was two distinct problems: 1. Go gateway bug #37635 — ALL streaming output goes into reasoning_content instead of content. When MiMo thinking is OFF, the answer text gets swallowed by the thinking panel. 2. Model-level reasoning loop — MiMo 2.5 stuck in self-referential CoT, generating same fragments indefinitely. Three-layer fix applied: - budget_tokens cap per effort level (8K/16K/32K) in thinking.ts - treatReasoningAsContent workaround: ONLY activates when Go gateway AND reasoning_effort is NOT in body (MiMo thinking OFF). When thinking IS on, reasoning_content is genuine CoT → thinking panel. - Suffix-repetition detection in handleReasoning(): same 40-char suffix 6+ times → suppress thinking parts + emit warning. Key regression fixes in this commit: - Removed contentAfterReasoning guard (DeepSeek/GLM/Kimi legitimately use reasoning_content then content — this is normal, not degradation) - Removed shouldSuppressTextEmit (false-positived on all reasoning models, not just MiMo) - Reverted extractStreamParts delta block to main behavior Upstream issue #37635 still open (assigned MrMushrooooom). Workaround can be removed when gateway bug is fixed server-side.
ltmoerdani
added a commit
that referenced
this pull request
Jul 23, 2026
fix(mimo): MiMo 2.5 thinking loop fix + Go gateway workaround (#36)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #28