Owen Lin
d309c102ef
fix(core): use dedicated types for responsesapi web search tool config ( #14136 )
...
This changes the web_search tool spec in codex-core to use dedicated
Responses-API payload structs instead of shared config types and custom
serializers.
Previously, `ToolSpec::WebSearch` stored `WebSearchFilters` and
`WebSearchUserLocation` directly and relied on hand-written serializers
to shape the outgoing JSON. This worked, but it mixed config/schema
types with the OpenAI Responses payload contract and created an easy
place for drift if those shared types changed later.
### Why
This keeps the boundary clearer:
- app-server/config/schema types stay focused on config
- Responses tool payload types stay focused on the OpenAI wire format
It also makes the serialization behavior obvious from the structs
themselves, instead of hiding it in custom serializer functions.
2026-03-09 14:58:33 -07:00
..
2026-03-07 03:48:36 -08:00
2026-02-16 22:01:49 +00:00
2026-02-09 20:48:58 -08:00
2026-01-13 10:22:51 -08:00
2026-03-05 13:26:48 -08:00
2026-03-06 17:52:54 -08:00
2026-03-04 04:40:22 +00:00
2026-03-09 20:10:15 +00:00
2026-03-07 00:50:50 +00:00
2026-02-26 00:12:08 -08:00
2026-03-06 00:03:39 +00:00
2026-03-07 03:48:36 -08:00
2026-03-05 07:02:27 +00:00
2026-03-09 12:40:25 -07:00
2026-03-08 20:23:06 -07:00
2026-03-08 20:23:06 -07:00
2026-03-08 01:36:39 +00:00
2026-03-08 12:05:19 -07:00
2026-03-09 14:36:38 -07:00
2026-03-09 12:46:42 -07:00
2026-03-09 14:58:33 -07:00
2026-03-08 20:23:06 -07:00
2026-02-23 21:55:49 -08:00
2026-02-12 14:10:30 -08:00
2026-03-07 08:01:08 +00:00
2026-03-04 16:41:54 +00:00
2026-03-09 14:58:33 -07:00
2026-03-06 16:23:30 -08:00
2026-03-09 14:36:38 -07:00
2026-03-09 11:23:20 -07:00
2026-03-09 14:36:38 -07:00
2026-03-03 02:35:09 -08:00
2026-03-09 14:36:38 -07:00
2026-02-10 11:46:40 -08:00
2026-02-17 20:15:54 +00:00
2026-03-06 16:23:30 -08:00
2026-03-06 16:23:30 -08:00
2026-03-06 00:03:39 +00:00
2026-02-26 00:12:08 -08:00
2025-11-04 17:44:02 -08:00
2026-02-18 23:21:32 -08:00
2026-01-08 21:48:30 -08:00
2026-02-26 23:17:35 +00:00
2026-02-14 04:18:12 +00:00
2026-03-06 00:47:21 -08:00
2026-02-03 11:31:12 -08:00
2026-03-07 05:40:10 -08:00
2026-03-07 08:01:08 +00:00
2026-03-04 13:59:50 -08:00
2026-03-09 09:25:24 -07:00
2026-03-01 10:50:56 -08:00
2025-09-24 14:29:51 -07:00
2026-01-08 15:07:30 +00:00
2026-03-06 17:46:23 -08:00
2026-03-07 05:40:10 -08:00
2026-03-09 09:25:24 -07:00
2026-03-09 09:25:24 -07:00
2026-03-07 19:40:10 -08:00
2026-03-08 01:36:39 +00:00
2026-03-06 01:50:26 -08:00
2026-03-09 09:25:24 -07:00
2026-03-06 16:23:30 -08:00
2026-03-08 01:36:39 +00:00
2026-03-08 01:36:39 +00:00
2026-01-07 17:04:53 +00:00
2026-02-10 09:38:00 -08:00
2026-02-23 21:37:46 -08:00
2026-03-06 15:39:13 -08:00
2026-01-30 22:20:02 -08:00
2026-03-06 15:50:44 +01:00
2026-03-02 11:57:32 +00:00
2026-03-06 15:19:06 -08:00
2026-03-05 16:31:20 -08:00
2026-03-06 16:00:30 -08:00
2025-11-28 11:34:57 +00:00
2025-12-02 11:26:27 +00:00
2026-03-07 05:40:10 -08:00
2026-02-14 19:00:01 +00:00
2026-02-12 23:30:22 +00:00
2026-02-10 07:44:21 +00:00
2026-03-01 11:00:54 -08:00
2026-02-17 23:56:35 -08:00
2026-03-08 00:35:19 +00:00
2026-02-26 18:55:34 +00:00
2026-02-10 17:03:46 -08:00
2026-03-09 10:44:13 -07:00
2026-02-21 20:08:02 -08:00
2026-03-07 02:30:21 +00:00
2026-03-07 03:48:36 -08:00
2026-03-07 03:48:36 -08:00
2026-02-27 10:45:59 -07:00
2026-02-25 15:20:46 -08:00
2025-11-20 11:04:11 -08:00
2026-03-04 05:44:52 +00:00
2026-02-09 20:48:58 -08:00
2026-03-03 15:56:54 -08:00
2025-09-22 17:16:02 +00:00
2026-02-14 19:00:01 +00:00
2026-03-09 12:46:42 -07:00
2026-02-26 00:12:08 -08:00
2026-02-05 01:52:12 +00:00
2026-01-30 16:37:56 -08:00
2026-02-12 12:48:36 -08:00
2026-02-18 13:03:16 -08:00