Files
OmniRoute/tests
diegosouzapw bdca029cbd fix(providers): route opencode-go/gpt-5.6-luna to /responses (#12196)
opencode-go's static model registry was missing a gpt-5.6-luna entry, so
getModelTargetFormat() returned null and resolveOpencodeTargetFormat()
fell back to "openai", making OpencodeExecutor.buildUrl() post to
/chat/completions -- which the Go upstream 500s on for this model (it
only serves gpt-5.6-luna via /responses). The github provider already
declares targetFormat:"openai-responses" for the same model id, and
opencode-go itself already does the same for deepseek-v4-pro/flash.

Adds the missing registry entry mirroring those siblings.
2026-09-10 15:44:00 -03:00
..