Commit 7f7c2bc
fix(image-gen): use 64 MiB JSON cap + mode-dependent label
P1: Image responses carry base64-encoded image data that can exceed the
default 16 MiB provider JSON cap (4 images × ~7 MiB base64 each = ~28 MiB).
Pass a 64 MiB cap to readProviderJsonResponse.
P3: Use mode-dependent label for bounded-read errors, matching the pattern
already used by assertOkOrThrowHttpError in the same function.
Co-Authored-By: Claude <[email protected]>1 parent 1cd82a7 commit 7f7c2bc
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
275 | | - | |
| 275 | + | |
| 276 | + | |
276 | 277 | | |
277 | 278 | | |
278 | 279 | | |
| |||
0 commit comments