Skip to content

Add model-gated literature search to standalone web search - #57542

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/87ef1fadd80ca7bfc2a7642c4e443f9b9f2e0e00
Oct 27, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/87ef1fadd80ca7bfc2a7642c4e443f9b9f2e0e00

Conversation

@copyberry

@copyberry copyberry Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Add model-gated literature search to standalone web search

What changed

Expose literature_search_query in standalone web.run when the active model lists it in experimental_supported_tools. Support query text, domain filters, and recency filters, and reject literature search calls for models without the capability.

Pass the active model information to extensions for each step and report literature queries as search actions in web search events.

Testing

Add coverage for capability rejection, model-dependent schema exposure, app-server round trips with a turn-level model override, and a scenario that searches for a paper and opens the returned reference.

## What changed

Expose `literature_search_query` in standalone `web.run` when the active model lists it in `experimental_supported_tools`. Support query text, domain filters, and recency filters, and reject literature search calls for models without the capability.

Pass the active model information to extensions for each step and report literature queries as search actions in web search events.

## Testing

Add coverage for capability rejection, model-dependent schema exposure, app-server round trips with a turn-level model override, and a scenario that searches for a paper and opens the returned reference.

GitOrigin-RevId: 87ef1fadd80ca7bfc2a7642c4e443f9b9f2e0e00
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-10-27T19:12:11.406052Z d640271 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/87ef1fadd80ca7bfc2a7642c4e443f9b9f2e0e00 branch from d640271 to aa854da Compare October 27, 2026 19:12
@copyberry
copyberry Bot merged commit aa854da into main Oct 27, 2026
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/87ef1fadd80ca7bfc2a7642c4e443f9b9f2e0e00 branch October 27, 2026 19:12
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 27, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — aa854dab Deployed Oct 27, 2026 by anotb via Identify potential duplicates (open issues fallback) #59391
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants