litellm/tests/webfetch_tests
Thomas Menard 014f6d68a3 fix: connect fetch_tools to proxy server config parsing
Adds parse_fetch_tools() method and integrates fetch_tools into:
- ProxyConfig._load_router_config() - reads from YAML config
- _update_llm_router() - hot-reload from database config

fetch_tools can now be configured in proxy_config.yaml:
  fetch_tools:
    - fetch_tool_name: "my-firecrawl"
      litellm_params:
        fetch_provider: "firecrawl"
        api_key: "os.environ/FIRECRAWL_API_KEY"

Also fixes mock in test_webfetch_interception.py (ui_friendly_name).
2026-05-03 17:26:35 +02:00
..
test_firecrawl_fetch.py feat: add WebFetch interception with Firecrawl support 2026-05-03 17:26:35 +02:00
test_webfetch_interception.py fix: connect fetch_tools to proxy server config parsing 2026-05-03 17:26:35 +02:00