From 4fc3f11deee20e04d74f9c41bd7b38a476490895 Mon Sep 17 00:00:00 2001 From: won Date: Tue, 2 Jun 2026 12:11:48 -0700 Subject: [PATCH] draft --- codex-rs/ext/image-generation/src/tool.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codex-rs/ext/image-generation/src/tool.rs b/codex-rs/ext/image-generation/src/tool.rs index 41d407d912..e4e8e13135 100644 --- a/codex-rs/ext/image-generation/src/tool.rs +++ b/codex-rs/ext/image-generation/src/tool.rs @@ -77,9 +77,9 @@ impl ToolExecutor for ImageGenerationTool { imagegen_tool_spec() } - /// Keeps this model-facing tool out of the nested code-mode tool surface. + /// Exposes image generation directly and through the nested code-mode tool surface. fn exposure(&self) -> ToolExposure { - ToolExposure::DirectModelOnly + ToolExposure::Direct } /// Executes the selected image operation and returns the completed image result.