Skip to content

go back to auto-enabling web_search for azure - #10820

Merged
sayan-oai merged 1 commit into
mainfrom
dev/sayan/reenable-web-search-azure
Feb 5, 2026
Merged

sayan-oai merged 1 commit into
mainfrom
dev/sayan/reenable-web-search-azure

Conversation

@sayan-oai

@sayan-oai sayan-oai commented Feb 5, 2026 •

Copy link
Copy Markdown
Contributor
What

Remove special-casing that prevented auto-enabling web_search for Azure model provider users. Addresses #10071, #10257.

Why

Azure fixed their responsesapi implementation; web_search is now supported on models it wasn't before (like gpt-5.1-codex-max).

This request now works:

curl "$AZURE_API_ENDPOINT" -H "Content-Type: application/json" -H "Authorization: Bearer $AZURE_API_KEY" -d '{
  "model": "gpt-5.1-codex-max",
  "tools": [
    { "type": "web_search" }
  ],
  "tool_choice": "auto",
  "input": "Find the sunrise time in Paris today and cite the source."
}'
Tests

Tested with above curl, removed Azure-specific tests.

azure fixed their responsesapi implementation; web_search is now supported on models it wasn't before
@sayan-oai
sayan-oai merged commit 378f1ca into main Feb 5, 2026
32 checks passed
@sayan-oai
sayan-oai deleted the dev/sayan/reenable-web-search-azure branch February 5, 2026 22:57
@github-actions github-actions Bot locked and limited conversation to collaborators Feb 5, 2026
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.

2 participants