Skip to content

Allow hosts to customize wait_for_environment descriptions - #35106

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/6b49a73a434becd99ea5df911be53f3706a17c0a
Jul 24, 2026
Merged

Allow hosts to customize wait_for_environment descriptions#35106
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/6b49a73a434becd99ea5df911be53f3706a17c0a

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 24, 2026

Copy link
Copy Markdown

Allow hosts to customize wait_for_environment descriptions

What changed

  • Add WaitForEnvironmentToolConfig as thread extension data for overriding the
    model-visible tool and environment_id descriptions.
  • Preserve the default descriptions when no override is provided or when the
    configured descriptions exceed the input or serialized tool-spec limits.
  • Keep wait_for_environment availability gated by the deferred executor
    feature independently of whether a host override is present.

Testing

  • Cover default, custom, oversized, and feature-disabled tool configurations.
  • Verify the custom descriptions in the deferred-environment integration flow.
## What changed

- Add `WaitForEnvironmentToolConfig` as thread extension data for overriding the
  model-visible tool and `environment_id` descriptions.
- Preserve the default descriptions when no override is provided or when the
  configured descriptions exceed the input or serialized tool-spec limits.
- Keep `wait_for_environment` availability gated by the deferred executor
  feature independently of whether a host override is present.

## Testing

- Cover default, custom, oversized, and feature-disabled tool configurations.
- Verify the custom descriptions in the deferred-environment integration flow.

GitOrigin-RevId: 6b49a73a434becd99ea5df911be53f3706a17c0a
@github-actions

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/6b49a73a434becd99ea5df911be53f3706a17c0a branch from 8bda676 to 81da9de Compare July 24, 2026 06:04
@copyberry
copyberry Bot merged commit 81da9de into main Jul 24, 2026
8 of 24 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/6b49a73a434becd99ea5df911be53f3706a17c0a branch July 24, 2026 06:05
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.