Skip to content

Allow custom providers to opt into standalone web search (#34846) - #35024

Closed
shijie-oai wants to merge 1 commit into
mainfrom
release/0.146.0-alpha.3.1
Closed

Allow custom providers to opt into standalone web search (#34846)#35024
shijie-oai wants to merge 1 commit into
mainfrom
release/0.146.0-alpha.3.1

Conversation

@shijie-oai

Copy link
Copy Markdown
Contributor

What changed

  • Add the supports_standalone_web_search model-provider setting, defaulting to false, and preserve it in remote thread configuration.
  • Enable the standalone web.run tool for opted-in custom Responses providers when web search is enabled and the runtime provider supports it.
  • Send standalone search requests through the custom provider's endpoint and authentication.

Testing

  • Cover opt-in, default-off, disabled-search, and unsupported-provider behavior.
  • Verify custom-provider search request routing and authorization through the app server.

GitOrigin-RevId: 7c5f96b0ce924ad2b9715c45bfc635e89fc39cff

External (non-OpenAI) Pull Request Requirements

External code contributions are by invitation only. Please read the dedicated "Contributing" markdown file for details:
https://github.com/openai/codex/blob/main/docs/contributing.md

If your PR conforms to our contribution guidelines, replace this text with a detailed and high quality description of your changes.

Include a link to a bug report or enhancement request.

## What changed

- Add the `supports_standalone_web_search` model-provider setting, defaulting to `false`, and preserve it in remote thread configuration.
- Enable the standalone `web.run` tool for opted-in custom Responses providers when web search is enabled and the runtime provider supports it.
- Send standalone search requests through the custom provider's endpoint and authentication.

## Testing

- Cover opt-in, default-off, disabled-search, and unsupported-provider behavior.
- Verify custom-provider search request routing and authorization through the app server.

GitOrigin-RevId: 7c5f96b0ce924ad2b9715c45bfc635e89fc39cff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants