feat: unified lookup tool, Wikipedia integration, weather & briefing UX #41

Merged
bvandeusen merged 0 commits from dev into main 2026-04-17 23:33:59 -04:00
bvandeusen commented 2026-04-17 23:33:46 -04:00 (Migrated from git.fabledsword.com)

Summary

  • Unified lookup tool — replaces search_web with a single tool that runs Wikipedia summary + SearXNG search in parallel and opportunistically embeds a cached Wikipedia thumbnail
  • Wikipedia service — new services/wikipedia.py with summary + search; also wired into the deep-research pipeline as an additional source alongside SearXNG
  • Weather card UX — hourly precipitation summaries ("Rain likely 2–5 PM"), peak-hour column, and manual refresh button that re-fetches all configured locations
  • Briefing upcoming-events widget — next 2 weeks of events grouped by day, sits under the weather card

Test plan

  • Ask a factual question like "who is the president" and confirm Wikipedia + current web results both surface
  • Ask a topical question with a known Wikipedia image and confirm the thumbnail embeds inline
  • Hit the weather refresh button and confirm all locations update with hourly precip summaries
  • Open the briefing view and confirm the upcoming-events list renders below the weather card
  • Run the deep-research flow and confirm Wikipedia appears in the source list

Generated with Claude Code

## Summary - **Unified lookup tool** — replaces `search_web` with a single tool that runs Wikipedia summary + SearXNG search in parallel and opportunistically embeds a cached Wikipedia thumbnail - **Wikipedia service** — new `services/wikipedia.py` with summary + search; also wired into the deep-research pipeline as an additional source alongside SearXNG - **Weather card UX** — hourly precipitation summaries ("Rain likely 2–5 PM"), peak-hour column, and manual refresh button that re-fetches all configured locations - **Briefing upcoming-events widget** — next 2 weeks of events grouped by day, sits under the weather card ## Test plan - [ ] Ask a factual question like "who is the president" and confirm Wikipedia + current web results both surface - [ ] Ask a topical question with a known Wikipedia image and confirm the thumbnail embeds inline - [ ] Hit the weather refresh button and confirm all locations update with hourly precip summaries - [ ] Open the briefing view and confirm the upcoming-events list renders below the weather card - [ ] Run the deep-research flow and confirm Wikipedia appears in the source list Generated with Claude Code
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bvandeusen/FabledScribe#41