Support multi-env filesystem tools#20530
Open
starr-openai wants to merge 3 commits intoprocess-tools-stage2-envctx-envctx-gated-v1-mediumfrom
Open
Support multi-env filesystem tools#20530starr-openai wants to merge 3 commits intoprocess-tools-stage2-envctx-envctx-gated-v1-mediumfrom
starr-openai wants to merge 3 commits intoprocess-tools-stage2-envctx-envctx-gated-v1-mediumfrom
Conversation
Co-authored-by: Codex <noreply@openai.com>
Keep the legacy single-environment surface unchanged, expose environment_id only when multiple turn environments are selected, and add coverage plus a probe for the multi-environment model surface. Co-authored-by: Codex <noreply@openai.com>
Add environment selection to the remaining environment-backed filesystem tools. apply_patch, list_dir, and view_image now route through the selected turn environment when an environment_id is provided, while preserving primary-environment fallback. Co-authored-by: Codex <noreply@openai.com>
bb86a00 to
b12b789
Compare
1160244 to
22eef90
Compare
This was referenced May 1, 2026
0af9dc8 to
10c03f9
Compare
Bojun-Vvibe
added a commit
to Bojun-Vvibe/oss-contributions
that referenced
this pull request
May 1, 2026
…ini-cli) - openai/codex#20564 — Enforce animations=false for screen readers (merge-as-is) - openai/codex#20530 — Support multi-env filesystem tools (merge-after-nits) - BerriAI/litellm#26956 — Fix MCP semantic filter native tool passthrough (merge-after-nits) - google-gemini/gemini-cli#26277 — docs(sdk): add JSDoc to all exports (merge-as-is)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
environment_idschema support for function-shapedapply_patch,list_dir, andview_imagewhen multiple environments are selectedapply_patchon the primary environment because that payload has no JSON field for environment selectionStacked on #20314.
Testing