OpenRouter with models like openai/gpt-5.2 enforces strict mode which requires all properties in the required array. Setting strict: false allows optional parameters without null unions, matching the approach already used in openai-responses.ts.
OpenRouter with models like openai/gpt-5.2 enforces strict mode which requires all properties in the required array. Setting strict: false allows optional parameters without null unions, matching the approach already used in openai-responses.ts.