mirror of
https://github.com/openai/codex.git
synced 2026-11-24 23:20:47 +00:00
Add opt-in deferred image generation in code mode (#63594)
## What changed Add `features.defer_image_generation` so code mode can discover the image generation tool through `ALL_TOOLS` without including its definition in the initial model request. Direct exposure remains the default and applies when `image_gen` is excluded from code mode. ## Testing Update the app-server GIF edit test to discover and invoke the deferred tool through code mode. Verify that the initial request omits the tool definition, the discovered definition includes the GIF option, and the edit preserves animation and API defaults. GitOrigin-RevId: 899f689bae0b86099a0ca3736d1cd2576bc3a7a9
This commit is contained in:
@@ -1015,6 +1015,9 @@
|
||||
"default_mode_request_user_input": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"defer_image_generation": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"defer_mailbox_preemption": {
|
||||
"type": "boolean"
|
||||
},
|
||||
@@ -8425,6 +8428,9 @@
|
||||
"default_mode_request_user_input": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"defer_image_generation": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"defer_mailbox_preemption": {
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user