Repository navigation
Commit cc50042
fix(codex): image items identified by fileId are no longer dropped
Codex now reports a generated image either by inline `result` or by
`fileId`. The schema generated from the pinned protocol still required
`result`, so the whole notification failed to decode and was dropped,
losing the image's saved path. Patch the imageGeneration ThreadItem
variant in the generator to accept `fileId` and make `result` optional.
Fixes #35851
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent a17f170 commit cc50042
2 files changed
Lines changed: 101 additions & 37 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
189 | 215 | | |
190 | 216 | | |
191 | 217 | | |
| |||
682 | 708 | | |
683 | 709 | | |
684 | 710 | | |
685 | | - | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
686 | 714 | | |
687 | 715 | | |
688 | 716 | | |
| |||
0 commit comments