sayan-oai
378f1cabe8
go back to auto-enabling web_search for azure ( #10820 )
...
###### 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.
2026-02-05 14:57:07 -08:00
..
2026-01-20 13:07:28 -08:00
2026-01-13 16:12:30 +00:00
2026-01-22 12:04:23 -08:00
2026-01-28 08:43:17 +00:00
2026-01-30 11:18:39 -08:00
2026-02-05 16:39:11 +00:00
2026-02-05 11:48:34 -08:00
2026-02-05 11:48:34 -08:00
2026-01-09 17:31:17 +00:00
2026-02-05 05:50:38 +00:00
2026-02-04 23:24:06 -08:00
2026-01-26 18:52:10 -08:00
2026-02-03 02:52:26 +00:00
2026-02-02 21:17:01 -08:00
2026-01-22 12:04:23 -08:00
2026-02-04 11:13:17 -08:00
2026-02-04 08:38:06 -08:00
2025-11-21 22:10:52 +00:00
2026-02-04 08:38:06 -08:00
2026-02-03 02:52:26 +00:00
2026-01-30 16:37:56 -08:00
2026-01-22 12:04:23 -08:00
2025-11-13 17:12:10 -08:00
2026-02-02 18:56:39 -08:00
2025-12-23 19:29:32 -08:00
2026-02-04 15:25:03 -08:00
2026-02-05 16:16:31 +00:00
2026-02-05 16:16:31 +00:00
2026-01-07 13:06:20 -08:00
2026-01-27 11:04:23 -08:00
2026-02-05 05:50:38 +00:00
2026-02-04 16:39:41 +00:00
2026-02-02 18:56:39 -08:00
2026-01-22 12:04:23 -08:00
2026-01-14 16:41:50 -08:00
2026-02-03 09:23:53 -08:00
2026-02-04 11:47:10 -08:00
2026-02-04 08:38:06 -08:00
2026-02-04 19:03:14 -08:00
2026-02-05 05:50:38 +00:00
2026-02-05 05:50:38 +00:00
2026-01-14 16:41:50 -08:00
2025-11-13 17:12:10 -08:00
2026-02-02 18:56:39 -08:00
2026-01-14 16:41:50 -08:00
2026-02-03 12:08:38 -08:00
2026-01-22 12:04:23 -08:00
2026-02-05 00:40:05 -08:00
2026-02-03 02:52:26 +00:00
2026-02-03 11:31:57 +00:00
2026-02-05 20:45:16 +00:00
2025-12-12 15:25:22 -08:00
2026-01-08 20:31:03 +00:00
2025-12-04 11:57:58 -08:00
2026-01-22 12:04:23 -08:00
2026-01-22 12:04:23 -08:00
2026-02-05 16:39:11 +00:00
2026-02-04 08:38:06 -08:00
2026-02-04 16:58:48 -08:00
2025-11-20 11:04:11 -08:00
2026-01-22 12:04:23 -08:00
2026-02-04 17:59:22 +00:00
2025-12-19 21:09:20 +00:00
2026-01-26 14:13:04 -08:00
2026-01-16 09:30:11 -08:00
2026-01-07 17:04:53 +00:00
2026-01-22 12:04:23 -08:00
2026-01-27 01:58:05 +00:00
2026-01-14 16:41:50 -08:00
2026-02-05 11:11:00 +00:00
2026-01-30 14:18:31 +01:00
2026-02-05 14:57:07 -08:00
2026-01-29 13:50:53 -08:00