| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Adds TavilySearch alongside the existing Firecrawl/Brave/Bing/Google/DDGS providers, following the same Tool interface (List[SearchItem] -> ToolResponse), with search_depth defaulting to "basic" (1 credit) and opt-in "advanced". - Registered via @TOOL.register_module and exported from the search package - Wired into WebSearcherTool.search_tools (commented, matching the other key-requiring engines; enable by uncommenting + setting TAVILY_API_KEY) - Adds tavily-python to requirements.txt Also makes the existing TAVILY_API_KEY check in tests/test_report_tool.py meaningful, which previously had no Tavily provider behind it.
|
Hi 👋 — this adds TavilySearch alongside the existing search providers, following the same Tool interface as FirecrawlSearch. Motivation: tests/test_report_tool.py already requires TAVILY_API_KEY, but there was no Tavily provider behind it — this closes that gap. Verified against the live Tavily API (tavily-python 0.7.26); results map cleanly to SearchItem. Kept it commented in search_tools to match how the other key-requiring engines (Firecrawl/Bing) are handled — happy to make it active by default instead if you'd prefer. Open to any interface tweaks. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
What
Adds TavilySearch as a search provider alongside the existing Firecrawl / Brave / Bing / Google / DDGS backends.
Why
tests/test_report_tool.py already lists TAVILY_API_KEY as a required env var, but no Tavily provider existed in the codebase. This adds it, following the same Tool interface as the other search backends.
Changes
Notes
Testing
Verified against the live Tavily API (tavily-python 0.7.26): search returns correctly-mapped SearchItem results with populated title/url/content. The provider's src.* imports are identical to FirecrawlSearch.