Claude/streamline search providers giw xu#9
Open
Karthik777 wants to merge 2 commits into
Open
Conversation
Cut webba down to a light, efficient core: - Providers: keep searxng, perplexity, fastcdp (browser SERP scrape via CDP); remove ddg, google_scrape, serper, tavily, exa, brave - Remove QuotaManager and free-tier quota tracking - Replace SemanticSearchCache (model2vec + litesearch) with a diskcache-backed literal-query TTL cache - Replace the ProviderHealth cooldown system with Perplexity HTTP error-code handling (401/403/404/400 fatal; 429/5xx retried once) - Replace the hand-rolled fetch cascade with scrapling (fast HTTP -> stealth browser -> dynamic browser) - Tune SearXNG engines (drop noisy ones, add YouTube); add yt-dlp transcript extraction for YouTube URLs - Add chrome_debug_setup() for isolated-profile, login-gated search - Remove the Hermes Agent plugin, skill.py, and entry points https://claude.ai/code/session_01F6MxPQNN1s88ttzfnmHzxW
Drop webba/cache.py entirely. search.py now exposes a shared diskcache store (LRU, 500 MB cap) and a small @cache decorator built on memoize_stampede; _search_cached is the decorated search core and search(cache=False) bypasses it. purge_cache() wipes the store. https://claude.ai/code/session_01F6MxPQNN1s88ttzfnmHzxW
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.
No description provided.