You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] MiMo-V2.6-Flash/Pro: vision reads a stale image once ≥5 images are in one conversation #2508
Models: mimo-v2.6-flash (primary), also reproduced on mimo-v2.6-pro; mimo-v2.5 is fine
API: OpenAI-compatible POST /v1/chat/completions, images as image_url data URLs
Endpoints: OpenCode Go (https://opencode.ai/zen/go/v1) and OpenRouter (xiaomi/mimo-v2.6-flash) — identical failure on both
Date: 2026-09-22, temperature=0
Summary
Once 5+ images are present in one conversation, the model answers with the content of an EARLIER image instead of the newest one. HTTP 200, no error. Its reasoning_content claims it is reading "the latest attached image".
Steps to reproduce
Open one conversation.
Send one image per turn (large black capital letter on white), asking: "The new attached image shows exactly one large black capital letter on white. Reply with that single letter only."
Sequence A,E,F,H,K,L,T,X.
Expected A,E,F,H,K,L,T,X
Actual (deterministic, 3/3 runs) A,E,F,H,H,H,T,T — from image 5 onward it repeats older images (K→H, L→H, X→T).
Verbatim reasoning_content at the failing turn (expected K, answered H)
"The user wants me to identify a single capital letter from the latest attached image. I will look at the most recent image provided in the conversation. The image displays a black capital letter "H" on a white background. The prompt asks for the single letter only. I will reply with "H"."
Controls (all same script)
Control
Result
Fresh session every turn
PASS
History kept, prior images replaced by text
PASS
mimo-v2.5
PASS
MiMo V2.6 Pro
FAIL (wrong at image 5)
Same model via OpenRouter (independent gateway)
FAIL identically → not gateway-specific
prompt_tokens grows normally (~270 per image); prompt_tokens_details.cached_tokens appears/grows around the first misread. Worth checking how a newly appended image interacts with prefix caching / image token cache invalidation.
Cross-reference for anyone arriving here from a gateway: the same bug was reported to OpenCode Go (the gateway used for the reproducer): anomalyco/opencode#50823 — the failure reproduces identically on OpenRouter with xiaomi/mimo-v2.6-flash, so it is not gateway-specific.
Activity
debikurnia commentedon Sep 23, 2026
Cross-reference for anyone arriving here from a gateway: the same bug was reported to OpenCode Go (the gateway used for the reproducer): anomalyco/opencode#50823 — the failure reproduces identically on OpenRouter with
xiaomi/mimo-v2.6-flash, so it is not gateway-specific.