Description
Problem
When using Nemotron 3 Super 120B-A12B through OpenRouter in OpenCode v1.2.27, the model frequently generates broken or unusable code and often gets stuck in infinite loops.
Context
This affects OpenCode v1.2.27 when configured to use OpenRouter with the paid Nemotron 3 Super 120B-A12B model. In addition to producing invalid code, the model sometimes wraps output in malformed placeholder-style formatting such as [{code here}], which can overwrite files with unusable content. It also appears to loop repeatedly instead of completing the task.
Reproduction steps
- Use OpenCode v1.2.27
- Configure OpenRouter as the provider
- Select the paid Nemotron 3 Super 120B-A12B model
- Ask it to create a JavaScript project with multiple files, or ask it to modify an existing file
- Observe the generated output and agent behavior
Expected result
The agent generates valid, runnable code, applies file changes correctly, and completes the task without looping.
Actual result
The agent often generates broken code, may insert malformed wrapper formatting that makes files unusable, and frequently gets stuck in infinite loops.
App Version
v1.2.27
API Provider
OpenRouter
Model Used
Nemotron 3 Super 120B-A12B
Description
Problem
When using Nemotron 3 Super 120B-A12B through OpenRouter in OpenCode v1.2.27, the model frequently generates broken or unusable code and often gets stuck in infinite loops.
Context
This affects OpenCode v1.2.27 when configured to use OpenRouter with the paid Nemotron 3 Super 120B-A12B model. In addition to producing invalid code, the model sometimes wraps output in malformed placeholder-style formatting such as
[{code here}], which can overwrite files with unusable content. It also appears to loop repeatedly instead of completing the task.Reproduction steps
Expected result
The agent generates valid, runnable code, applies file changes correctly, and completes the task without looping.
Actual result
The agent often generates broken code, may insert malformed wrapper formatting that makes files unusable, and frequently gets stuck in infinite loops.
App Version
v1.2.27
API Provider
OpenRouter
Model Used
Nemotron 3 Super 120B-A12B