mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-01 21:02:12 +03:00
chatCore.ts injects translatedBody.model for all providers after translation. Kiro API (AWS CodeWhisperer) has strict schema validation and rejects unknown top-level fields — only conversationState, profileArn, and inferenceConfig are valid. This causes 100% of Kiro requests to fail with "Improperly formed request". Strip the injected model field in KiroExecutor.transformRequest().