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] MiniMax responses show duplicate text in GUI but not in CLI #14904
When using MiniMax models (M2.5 or M2.1) through a custom gateway proxy, the text response displays twice in the OpenCode GUI, but works correctly (displays once) in the CLI.
Steps to Reproduce
Set up a proxy gateway that forwards requests to MiniMax API (Anthropic-compatible format)
Configure OpenCode to use this gateway as the provider
Send a message to MiniMax model
Observe the response in GUI vs CLI
Expected Behavior
The text should display only once, regardless of whether using GUI or CLI.
Actual Behavior
CLI: Text displays correctly (once)
GUI: Text displays twice (duplicate)
Additional Info
Tested with both MiniMax-M2.5 and MiniMax-M2.1 models
The gateway returns correct JSON response (verified with curl)
Direct API calls to MiniMax work correctly
The issue only occurs when going through the gateway in GUI mode
These issues describe the same core problem (text rendered twice in the GUI/desktop UI but not in CLI). The root cause may already be identified or in progress. Please review those issues and consider whether this is the same bug before proceeding.
Activity
github-actions commentedon Feb 24, 2026
This issue might be a duplicate of existing issues. Please check:
session-turn.tsxThese issues describe the same core problem (text rendered twice in the GUI/desktop UI but not in CLI). The root cause may already be identified or in progress. Please review those issues and consider whether this is the same bug before proceeding.
github-actions commentedon Apr 26, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.