Commit Graph

5 Commits

Author SHA1 Message Date
Martin C. Richards fd45639ad6 typecheck with pyrefly 2025-08-16 13:52:37 +02:00
Martin C. Richards 1cfe018f77 test: implement pytest-vcr for article scraper with zero mocks
- Replace all mocking with pytest-vcr for real HTTP recording
- Add comprehensive test coverage for major news sources
- Test realistic scenarios: paywalls, 404s, successful scraping
- Update dependencies: googlenewsdecoder, nltk, lxml-html-clean
- Fix lint issue: simplify conditional return statement
- Update documentation to reflect testing progress

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-16 11:02:37 +02:00
Martin C. Richards d773ed4cfa refactor: migrate to newspaper4k and improve news service repository integration
- Upgrade from newspaper3k to newspaper4k for better article scraping
- Add repository integration for cached news data retrieval
- Implement proper date handling and data conversion in news service
- Move PRD files to dedicated prd/ directory
- Add type stubs and improve type checking configuration
- Fix linting issues (unused variables and loop control variables)

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-10 13:00:40 +02:00
Yijia Xiao 5aca7124bd Revert "Docker support and Ollama support (#47)" (#57)
This reverts commit 78ea029a0b.
2025-06-26 00:07:58 -04:00
Geeta Chauhan 42069ed7ab Docker support and Ollama support (#47)
- Added support for running CLI and Ollama server via Docker
- Introduced tests for local embeddings model and standalone Docker setup
- Enabled conditional Ollama server launch via LLM_PROVIDER
2025-06-25 23:57:05 -04:00