From 9c1f207bffbe94ea3feb2e58a0454581fa622826 Mon Sep 17 00:00:00 2001 From: Jlypx Date: Thu, 7 May 2026 00:10:20 +0800 Subject: [PATCH] docs: document Codex image bridge switch Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- deploy/config.example.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/deploy/config.example.yaml b/deploy/config.example.yaml index 1670699b..f48280f7 100644 --- a/deploy/config.example.yaml +++ b/deploy/config.example.yaml @@ -202,6 +202,14 @@ gateway: # # 注意:开启后会影响所有客户端的行为(不仅限于 VS Code / Codex CLI),请谨慎开启。 force_codex_cli: false + # Enable Codex image-generation bridge injection for /openai/v1/responses. + # 是否为 Codex /responses 请求自动注入 image_generation 工具与桥接指令。 + # + # Default false keeps text-only Codex requests text-only. Explicit client-provided + # image_generation tools are still forwarded when the group allows image generation. + # 默认 false:保持纯文本 Codex 请求不被改写;客户端显式提供 image_generation tool 时, + # 仍会在分组允许图片生成的情况下正常转发。 + codex_image_generation_bridge_enabled: false # Optional: template file used to build the final top-level Codex `instructions`. # 可选:用于构建最终 Codex 顶层 `instructions` 的模板文件路径。 #