mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-12 03:48:56 +00:00
The pre-request hooks swap the Anthropic web_search tool for litellm_web_search, which dropped the domain fields, and the search ran without search_domain_filter. The hooks now keep the domain filter on the request, allowed_domains is forwarded as search_domain_filter, and results are filtered by URL host for every provider, so providers that ignore the filter and blocked_domains are covered too Fixes #44188 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_websearch_agentic_loop_cap.py | ||
| test_websearch_chat_completion.py | ||
| test_websearch_interception_handler.py | ||
| test_websearch_interception_thinking.py | ||
| test_websearch_native_blocks.py | ||
| test_websearch_responses.py | ||
| test_websearch_rich_query_shape.py | ||
| test_websearch_short_circuit.py | ||
| test_websearch_streaming_wrap.py | ||
| test_websearch_thinking_constraint.py | ||