3 Commits (75ab2470f2fdd9e753c61662d85b2b060508a32a)

Author SHA1 Message Date
oabrivard 75ab2470f2 test: add unit tests for site_search Brave and LLM paths
Add 3 tests covering: Brave error path returns empty vec (no panic),
LLM integration with MockLlmProvider returns empty (non-array response),
and prompt construction contains domain/theme/max_results/max_age_days.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2 months ago
oabrivard 71c791fec0 feat: implement LLM websearch path in site_search service
Replace placeholder search_llm with real implementation: builds a French
prompt asking the LLM for recent articles from a domain, calls call_llm
with a JSON-array schema, and filters results through url_matches_domain
to guard against hallucinated URLs. Add build_site_search_prompt and
parse_llm_url_response helpers with 4 unit tests (valid array, non-array,
mixed types, wrong-domain filtering).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2 months ago
oabrivard a4f008bc42 feat: add site_search service with Brave path and domain filtering
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2 months ago