Add original-resolution view_image support for gpt-5.4

Preserve original PNG/JPEG/WebP bytes behind the view_image_original_resolution feature flag and send detail=original for gpt-5.4 view_image outputs.

Add request-budget handling for oversized inline image payloads, update history estimation for original-resolution images, and refresh JS REPL guidance to prefer WebP at 85% quality when generating images for view_image.
This commit is contained in:
Curtis 'Fjord' Hawthorne
2026-02-27 09:25:37 -08:00
parent 3b5996f988
commit dc1949f3c4
17 changed files with 893 additions and 50 deletions

View File

@@ -430,6 +430,9 @@
"use_linux_sandbox_bwrap": {
"type": "boolean"
},
"view_image_original_resolution": {
"type": "boolean"
},
"voice_transcription": {
"type": "boolean"
},
@@ -1761,6 +1764,9 @@
"use_linux_sandbox_bwrap": {
"type": "boolean"
},
"view_image_original_resolution": {
"type": "boolean"
},
"voice_transcription": {
"type": "boolean"
},