mirror of
https://github.com/openai/codex.git
synced 2026-11-24 23:20:47 +00:00
## 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