feat: implement enhanced web search phase 2 features#170
Merged
laynepenney merged 1 commit intomainfrom Jan 26, 2026
Merged
Conversation
**Search Templates System:** - Docs template: site filtering + syntax/example keywords - Pricing template: site filtering + price/cost keywords - Errors template: site filtering + error/solution keywords - Template-aware TTL (docs 24h, pricing 7d, errors 12h, general 1h) **Domain-Specific Processing:** - Relevance scoring with domain-specific weights - URL-based scoring for StackOverflow, GitHub, official docs - Content matching with query presence detection - Quality indicators (examples, tutorials, problem-solving) **Rate Limiting:** - Per-engine rate limiting (5 requests/minute per engine) - Automatic reset after 1 minute - Graceful fallback to next engine when rate limited **Enhanced Output:** - Results sorted by calculated relevance score - Score display for high-confidence results (>0.7) - Domain-specific formatting with priority weighting **Additional Features:** - Template-aware cache TTL based on template type - Optimized query generation with template-specific modifiers - Comprehensive test coverage for new functionality Wingman: Codi <codi@layne.pro>
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.
Complete Phase 2 implementation with search templates, domain processing, and rate limiting.
Building on Phase 1's multi-engine foundation.
Wingman: Codi codi@layne.pro