Repository navigation
Description
Client or integration
Codex App
Provider or upstream service
OpenCode Go (opencode-go), via the OpenCodex local proxy.
OpenCodex version
2.100.2. The observations below were collected on 2026-11-13; this update reformats the original report and does not claim a new test of the latest release.
Endpoint or capability
Client: POST /v1/responses on the local proxy.
Upstream: https://opencode.ai/zen/go/v1/responses.
Compatibility of the include entry output.encrypted_content.
Current behaviour
A Codex App goal using opencode-go/muse-spark-1.2-contributor fails with HTTP 400 and displays "Goal stalled". The failing request shape is reproduced by sending include: ["reasoning.encrypted_content", "output.encrypted_content"] through the proxy.
Tests recorded on 2026-11-13:
| Model | Result with both include entries |
|---|---|
muse-spark-1.2-contributor |
HTTP 400: unknown variant on include[1] |
grok-4.7 |
HTTP 400: argument not supported |
gpt-5.6-luna |
HTTP 200 with a completed text response |
A second Muse Spark request omitting output.encrypted_content returned HTTP 200 and a reasoning output item. That second test also changed the prompt and set max_output_tokens: 16; it ended with status: "incomplete" and incomplete_details.reason: "max_output_tokens". It demonstrates acceptance of that reduced request, not completed generation or an end-to-end goal/tool-use test. Acceptance varies by model; this is not a claim that every Go backend rejects the field.
Expected behaviour
OpenCodex should adapt the Codex App request for the affected Go Responses destinations so that the unsupported output.encrypted_content include entry does not cause an immediate validation failure. Preserve reasoning.encrypted_content for supported reasoning replay.
This expectation is based on the concrete client compatibility failure and the existing equivalent include-stripping behavior for other Responses destinations, not a claim that the Go documentation explicitly specifies this field.
Minimal redacted request or reproduction
With OpenCodex 2.100.2 running and an OpenCode Go credential already configured, select opencode-go/muse-spark-1.2-contributor in Codex App and send a prompt. Alternatively, the following request reproduced the field-validation error through the local proxy:
curl -X POST http://127.0.0.1:10100/v1/responses \
-H 'Content-Type: application/json' \
-d '{
"model": "opencode-go/muse-spark-1.2-contributor",
"input": [{"type":"message","role":"user","content":[{"type":"input_text","text":"hi"}]}],
"include": ["reasoning.encrypted_content", "output.encrypted_content"],
"stream": false
}'No credential is included in this reproduction. This is a request to the configured proxy, not a direct upstream request; direct upstream clients must also satisfy Go's documented client/session-header requirements.
Actual response or error
Muse Spark: HTTP 400, redacted error excerpt:
`include[1]`: unknown variant `output.encrypted_content`, expected one of
`file_search_call.results`, `web_search_call.results`,
`web_search_call.action.sources`, `message.input_image.image_url`,
`computer_call_output.output.image_url`, `code_interpreter_call.outputs`,
`reasoning.encrypted_content`, `message.output_text.logprobs`
Grok 4.7: HTTP 400:
Argument not supported: "output.encrypted_content" in "include" field
Upstream documentation
https://opencode.ai/docs/console/go/#endpoints
https://opencode.ai/docs/console/go/#where-can-i-use-it
These document the Go endpoints and client/session requirements. The field rejection above is observed behavior; the linked documentation is not presented as an explicit specification of allowed include values.
Suggested mapping or implementation notes
In the inspected 2.100.2 source, stripUnsupportedOutputInclude in src/adapters/openai-responses/request-strips.ts removes exactly output.encrypted_content.
The destination gate in src/adapters/openai-responses/passthrough.ts:368-371 covers xAI, Meta, Azure and Kimi Code/Ark Kimi, but does not include the OpenCode Go Responses destination. isOpenCodeGoResponsesUrl is already imported and used elsewhere in that file.
Suggested fix: consider adding the exact Go Responses destination to this compatibility gate, or use a model-scoped rule for the affected Go models. This remains a proposed implementation, not a tested patch.
Additional context and attachments
Original environment: macOS Apple Silicon; Codex App 26.1106.51428; codex-cli 0.167.0-alpha.4.1; OpenCodex 2.100.2.
Related destination-specific reports: #7878 (xAI), #7952 (Azure), #8075 (Kimi Code), #8037 (Zed). They are background examples, not evidence that the current Go route is fixed.
This edits the original report to match the repository's provider compatibility template after the automated template rejection. It contains no API keys, account identifiers, private conversation content, or personal filesystem paths.
Checks
- I searched existing provider and compatibility issues.
- The request and response were redacted.
- The expected behaviour is based on an upstream specification or a concrete client requirement.
Activity
github-actions commentedon Nov 13, 2026
Issue reopened
The report now contains the information required by the automated check. Thanks for updating it.
[-]Codex Desktop 400 on OpenCode Go Responses models: include[1] unknown variant output.encrypted_content[/-][+][Provider compatibility]: OpenCode Go Responses rejects output.encrypted_content from Codex App[/+]Ingwannu commentedon Nov 16, 2026
Draft fix: #8827, head
f5dd31fa73749b4e87f1e5123af2c5a9e6a4a040.I reproduced the missing normalization on the actual outbound request: 44 existing/new cases passed and 4 newly asserted cleanup cases failed before the source fix; the focused compatibility suites now pass 104/104, and typecheck reports no errors in 2,549 files. The fix reuses the exact final Go URL guard and existing helper to drop only
output.encrypted_content, preserving encrypted reasoning and unrelated destinations. It applies a common Go compatibility policy rather than guessing from model names.The PR includes the documentation and negative controls. Complete docs build remains unverified locally: page/image generation completed but the search-index integration exceeded the fixed 300-second resource envelope. Required hosted CI and actual Codex App/provider verification remain pending, so this issue stays open and the PR stays Draft. No real account or paid provider request was used.