Files
OmniRoute/open-sse
Diego Rodrigues de Sa e Souza b6f2bd85fe fix(executors): strip client context_management on 400 (port from 9router#1468)
Claude Code always sends a top-level `context_management` field. Strict
anthropic-compatible gateways reject it with 400 "context_management: Extra
inputs are not permitted". The dedicated context-editing 400-fallback in
base.ts only fires when OmniRoute's own `contextEditing` feature is enabled
(default off), so a client-sent field passed through untouched and 400'd with
no recovery. Add `context_management` to KNOWN_OFFENDING_FIELDS so the generic
reactive 400 field-downgrade strips-and-retries it once, independent of the
feature flag (the generic path already re-signs for claude-compatible relays).

Regression guard: tests/unit/provider-field-strips.test.ts.

Reported-by: ohahe52-dot (https://github.com/decolua/9router/issues/1468)
2026-07-06 16:53:43 -03:00
..
2026-07-06 02:25:17 -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-06-12 23:49:22 -03:00
2026-06-29 08:40:06 -03:00