Loading
fix(openai): default Responses tool strictness to false
What does this MR do and why?
Default unspecified tool strict values to false in Responses API requests. Omitting the field allows OpenAI to normalize schemas into strict mode, potentially making optional arguments required.
Preserve explicit true and false values. Add regression coverage for both generation paths, including serialized requests and optional parameters.
References
Screenshots or screen recordings
Not applicable - backend service change only.
How to set up and validate locally
Run npm test. The omitted-value cases fail before this patch and pass afterward.
MR acceptance checklist
- Regression coverage added.
- Tests, lint, type checking, formatting, and build pass.
Edited by Pedro Pombeiro