Files
OmniRoute/open-sse
Diego Rodrigues de Sa e Souza d7d08f4f2a fix(executors): strip client_metadata on the OpenCode path (port from 9router#1442)
OpenCode upstreams (e.g. kimi-k2.6 via opencode-go) return 400 "Extra inputs
are not permitted, field: 'client_metadata'" — an OpenAI-Codex/Claude-CLI
passthrough field with no equivalent upstream. The DefaultExecutor strip only
covers cerebras/mistral, and OpencodeExecutor extends BaseExecutor directly, so
nothing removed it on this path. Strip it in OpencodeExecutor.transformRequest.

Regression guard: tests/unit/opencode-strip-client-metadata-1442.test.ts.

Reported-by: yanpaing007 (https://github.com/decolua/9router/issues/1442)
2026-07-06 16:47:20 -03:00
..
2026-07-06 02:25:17 -03:00
2026-05-26 23:51:47 -03:00
2026-07-06 02:25:17 -03:00
2026-06-29 08:40:06 -03:00
2026-07-06 02:25:17 -03:00
2026-07-06 02:25:17 -03:00
2026-07-06 02:25:17 -03:00
2026-06-12 23:49:22 -03:00
2026-06-29 08:40:06 -03:00