feat: migrate scanner news screener to support Tavily alongside Perplexity#2
Open
tavily-integrations wants to merge 2 commits into
Conversation
added 2 commits
March 30, 2026 16:24
…d Tavily as parallel web-search screener
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.
Summary
SKOPAQ_TAVILY_API_KEYis configured, aTavilyClientis initialized and runs a news-topic search alongside existing Perplexity Sonar and Grok screenersScannerCandidateobjects (no LLM post-processing needed)source='news_tavily'and merged/deduplicated by existing logicFiles changed
skopaq/scanner/engine.py— Added_tavily_clientinit,_screen_news_tavily()method, conditional task in_run_screeners(), updated_screener_info()skopaq/scanner/screen.py— Addedbuild_tavily_news_query()andparse_tavily_results()helpersskopaq/config.py— Addedtavily_api_keyfield toSkopaqConfigskopaq/llm/env_bridge.py— Addedtavily_api_key → TAVILY_API_KEYbridge mapping.env.example— AddedSKOPAQ_TAVILY_API_KEY=placeholderrequirements.txt— Addedtavily-python>=0.5.0Dependency changes
tavily-python>=0.5.0torequirements.txtEnvironment variable changes
SKOPAQ_TAVILY_API_KEY(optional; Tavily screener disabled when absent)TAVILY_API_KEYvia env_bridge.pyNotes for reviewers
search()is called withtopic="news"andsearch_depth="basic"for fast, cost-efficient news retrieval🤖 Generated with Claude Code
Automated Review
import reis at module level, and the symbol cap is tightened to 10. Config, env_bridge, requirements.txt, and .env.example are all updated consistently. No critical or major issues found. Three minor observations noted below.