Commit ea226b0
fix(questionnaire): add additionalProperties false for OpenAI strict mode (#2792)
The gpt-5-mini parser was failing with "additionalProperties is required
to be supplied and to be false" because OpenAI's Responses API enforces
strict structured outputs, which requires additionalProperties: false on
every object schema and every property listed in required.
Also fix the same latent bug in content-extractor's shared schema, which
would break if any of its callers swapped to a strict-mode OpenAI model.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 47bd6d8 commit ea226b0
2 files changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| 46 | + | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
| 139 | + | |
139 | 140 | | |
140 | 141 | | |
141 | 142 | | |
142 | 143 | | |
| 144 | + | |
143 | 145 | | |
144 | 146 | | |
145 | 147 | | |
| |||
0 commit comments