Files
OmniRoute/changelog.d/fixes/11297-opencode-subagent-sessionid.md
Óscar Fonseca a3c3117254 fix(translator): preserve omitted subagent session IDs (#11297)
Validated on a 3-PR combined board: openai-responses-opencode-subagent-sessionid within the board's 20/20, typecheck:core + check:open-sse-typecheck clean, gates within baseline. Uses null as the omission sentinel for OpenCode's optional default-less subagent.sessionID under Responses/Codex strict mode (which required every declared property) — models can now omit the field to spawn a new child instead of inventing filler IDs; the null is stripped before OpenCode sees the call, real child IDs pass through unchanged. Thank you @ofonseca-pyming!
2026-08-23 21:03:16 -03:00

365 B

  • fix(translator): preserve omitted OpenCode subagent.sessionID values — optional default-less plain strings now use the Responses null = omit sentinel and are stripped before the client sees the tool call, so Codex/Responses no longer invent filler session IDs (#11297) — thanks @ofonseca-pyming