Skip to content

Conversation

@celia-oai
Copy link
Contributor

@celia-oai celia-oai commented Oct 30, 2025

There's still some debate about whether we want to expose tools.view_image or feature.view_image so those are left unchanged for now, but this old include_view_image_tool config is good-to-go. Also updated the doc to reflect that view_image tool is now by default true.

@celia-oai celia-oai force-pushed the dev/cc/remove-image-tool branch from b9c4701 to 7719432 Compare October 30, 2025 16:32
@celia-oai celia-oai marked this pull request as ready for review October 30, 2025 19:36
Copy link
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 24 to 28
pub experimental_instructions_file: Option<PathBuf>,
pub experimental_compact_prompt_file: Option<PathBuf>,
pub include_apply_patch_tool: Option<bool>,
pub include_view_image_tool: Option<bool>,
pub experimental_use_unified_exec_tool: Option<bool>,
pub experimental_use_exec_command_tool: Option<bool>,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P0 Badge Keep honoring profile view_image opt-outs

Dropping the include_view_image_tool field means any existing config.toml profiles that have include_view_image_tool = false now deserialize without that override (serde just drops the unknown key). Features::from_config therefore sees None and falls back to Feature::ViewImageTool's default of true, so the image tool gets re-enabled. Users who explicitly disabled uploads for a profile will suddenly get them back, which is a serious regression. Please keep accepting the legacy key—e.g. retain the field (or add a #[serde(alias = "include_view_image_tool")]) and map it into tools_view_image—so existing configs remain honored.

Useful? React with 👍 / 👎.

@celia-oai celia-oai merged commit 6ef658a into main Oct 30, 2025
25 checks passed
@celia-oai celia-oai deleted the dev/cc/remove-image-tool branch October 30, 2025 20:23
@github-actions github-actions bot locked and limited conversation to collaborators Oct 30, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

3 participants