Commit Graph

3 Commits

Author SHA1 Message Date
Godnight1006 006b354829 Fix #274: Add warnings for OpenAI news/fundamentals hallucination risk
- Add UserWarning to get_global_news_openai, get_stock_news_openai, and get_fundamentals_openai
- Warnings inform users that OpenAI vendor may hallucinate or provide outdated data
- Recommend alternative vendors: alpha_vantage, google, yfinance, or local
- Add comprehensive test suite to verify warnings are emitted
- Refactor to use shared _warn_hallucination_risk helper function

The issue reported that OpenAI was hallucinating and providing outdated news
(e.g., fake news from November 2025). This is because the OpenAI vendor relies
on the LLM's training data rather than real-time web search. Users should use
alternative vendors for reliable, up-to-date news and fundamental data.

All tests passing (4/4).
2025-11-14 11:47:33 +08:00
Yijia Xiao 26c5ba5a78
Revert "Docker support and Ollama support (#47)" (#57)
This reverts commit 78ea029a0b.
2025-06-26 00:07:58 -04:00
Geeta Chauhan 78ea029a0b
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