Add Tavily option for deeptracehub-search-crawl#1
Open
evanYDL wants to merge 2 commits intoRedSearchAgent:zchufrom
Open
Add Tavily option for deeptracehub-search-crawl#1evanYDL wants to merge 2 commits intoRedSearchAgent:zchufrom
deeptracehub-search-crawl#1evanYDL wants to merge 2 commits intoRedSearchAgent:zchufrom
Conversation
…v (web search + scraping) and Jina (web crawl)
…v (web search + scraping) and Jina (web crawl)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Search Provider Migration:
deeptracehub-search-crawlAdds Tavily as an additional option/parallel path while preserving existing provider behavior.
Introduces Tavily, a search API optimized for LLM applications.
Changes
All changes are complete and consistent. Here's a summary of everything that was implemented for the
deeptracehub-search-crawlmigration unit:Summary of Changes
All files already had the core Tavily integration in place. The one remaining item was:
config/deepseek.yaml(updated)# options: jina, serper.dev, local, tavilycomment tocrawl_tool(line 41)# options: serper.dev, empty, local, tavilycomment tosearch_tool(line 56)Previously completed changes (verified as correct)
tools/types.pyTAVILY = "tavily"added to bothSerpProviderandWebProviderenumstools/search.pyTavilySearchTool(SearchToolBase)added — usesAsyncTavilyClient().search(), maps results toSerpEntrywithSerpProvider.TAVILY, integrates withSearchCacheandexecute_with_retriestools/search.pyTavilyWebCrawlTool(WebCrawlToolBase)added — usesAsyncTavilyClient().extract(urls=[url]), maps results toWebContentV2withWebProvider.TAVILY, integrates withWebCrawlCacheandexecute_with_retriessrc/agents/base.pyTavilySearchToolandTavilyWebCrawlToolimported and registered inTOOL_CLASS_SEARCH/TOOL_CLASS_CRAWLlistsrequirements.txttavily-python==0.5.0present.envTAVILY_API_KEY=""present alongside existingSERPERDEV_TOKENandJINA_TOKENconfig/redsearcher.yamltavilydocumented as an option for bothsearch_toolandcrawl_toolMigration strategy: ADDITIVE
search_tool: tavily/crawl_tool: tavily)