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
DeepSeek V4 Flash responses become corrupted with repeated Q characters during long tool-assisted generations #40321
While using DeepSeek V4 Flash (Free) through OpenCode, model responses occasionally become corrupted during longer generations.
Instead of producing normal text, portions of the response are replaced with repeated Q characters and malformed words, making the output unreadable.
This appears to happen during or after reasoning/tool execution rather than being a rendering issue in the UI.
Environment
OpenCode: (fill in version/commit)
Model: DeepSeek V4 Flash (Free)
OS: Windows 11
Provider: (OpenRouter/OpenCode provider if applicable)
Steps to Reproduce
Start a conversation with DeepSeek V4 Flash (Free).
Give a relatively complex task that requires reasoning and code modifications.
Wait for the model to generate a long response.
Occasionally, the generated text becomes corrupted.
Expected Behavior
The model should produce coherent natural language throughout the response.
Example:
Placeholder: use the new 128×128 PNG for both themes...
Actual Behavior
The response becomes filled with repeated Q characters and corrupted words.
Example:
changed the title [-]outputs getting corrupted by "Q"s[/-][+]DeepSeek V4 Flash responses become corrupted with repeated Q characters during long tool-assisted generations[/+]on Aug 3, 2026
Thanks for updating the issue! It now includes a clear description, steps to reproduce, expected/actual behavior, version info, and a screenshot. The needs:compliance label has been removed.
Thanks for updating the issue! It now includes a clear description, steps to reproduce, expected and actual behavior, version info, and a screenshot. Everything looks good.
Activity
[-]outputs getting corrupted by "Q"s[/-][+]DeepSeek V4 Flash responses become corrupted with repeated Q characters during long tool-assisted generations[/+]github-actions commentedon Aug 3, 2026
Thanks for updating the issue! It now includes a clear description, steps to reproduce, expected/actual behavior, version info, and a screenshot. The
needs:compliancelabel has been removed.github-actions commentedon Aug 3, 2026
Thanks for updating the issue! It now includes a clear description, steps to reproduce, expected and actual behavior, version info, and a screenshot. Everything looks good.
github-actions commentedon Oct 4, 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.