litellm/tests/search_tests
mateo-berri a0c319878b fix(search): harden bing_grounding auth, result cap, status, and cost
- send a caller api_key via the Azure api-key header instead of Authorization: Bearer
- cap web_search results to the requested max_results (the tool has no count knob)
- surface a Foundry failed/incomplete response status as a 502 error
- zero the per-query cost in web_search mode; keep the map price for connection mode
- trim the example config to terse env-var pointers
2026-08-24 12:26:07 -07:00
..
__init__.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
base_search_unit_tests.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
conftest.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_bing_grounding_search.py fix(search): harden bing_grounding auth, result cap, status, and cost 2026-08-24 12:26:07 -07:00
test_brave_search.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_dataforseo_search.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_duckduckgo_search.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_exa_ai_search.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_firecrawl_search.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_google_pse_search.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_linkup_search.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_nimble_search.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_parallel_ai_search.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_perplexity_search.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_search_tool_name_filtering.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_searchapi_search.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_searxng_search.py fix(search): block server credential leak to caller-supplied api_base (#30682) 2026-06-23 13:01:21 -07:00
test_serper_search.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_tavily_search.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_tinyfish_search.py feat(tinyfish): surface response headers + top-level response extras 2026-07-08 01:06:17 -07:00