2 Commits

Author SHA1 Message Date
Henry the Frog
706dce9c00 test: add unit tests for Anthropic native web search provider (#49949)
- 15 tests for config resolution, tool version, and server tool building
- 3 tests for stream wrapper (injection, dedup, non-anthropic passthrough)
- All 18 tests green
2026-03-20 08:32:14 -06:00
Henry the Frog
a19cb27f9e feat: scaffold Anthropic native web search provider (#49949)
Add initial implementation for Anthropic's server-side web_search_20260209
tool as a search provider option. This includes:

- Web search provider plugin (extensions/anthropic/src/)
- Stream wrapper to inject server tool into API payload
- Provider registration in anthropic extension
- Added to bundled web search plugin list

WIP: Still needs wrapStreamFn wiring, compat flag integration,
config schema, tests, and pi-ai server tool support verification.
2026-03-20 08:32:14 -06:00