Commit Graph

4 Commits

Author SHA1 Message Date
d 🔹 5b5a9b9aee refactor: add limit parameter to get_news_yfinance for consistency
Address review feedback: make hardcoded count=20 a configurable
limit parameter, consistent with get_global_news_yfinance.
2026-03-24 00:06:23 +00:00
voidborne-d 1a8ec533c0 fix: add yf_retry to yfinance_news.py to handle rate limits
The yfinance_news module was missing the yf_retry exponential backoff
wrapper that y_finance.py and stockstats_utils.py already use. When
Yahoo Finance returns HTTP 429 (Too Many Requests), get_news_yfinance
and get_global_news_yfinance would fail immediately instead of retrying.

This adds yf_retry around:
- stock.get_news() in get_news_yfinance()
- yf.Search() in get_global_news_yfinance()

Fixes #437
2026-03-23 19:07:21 +00:00
Yijia Xiao b06936f420
fix: improve data vendor implementations and tool signatures
- Add get_global_news for Alpha Vantage
- Fix get_insider_transactions signature (remove unused curr_date param)
- Remove unnecessary default params from API calls (sort, limit, tab)
2026-02-03 22:27:20 +00:00
Yijia Xiao d4dadb82fc
feat: add multi-provider LLM support with thinking configurations
Models added:
- OpenAI: GPT-5.2, GPT-5.1, GPT-5, GPT-5 Mini, GPT-5 Nano, GPT-4.1
- Anthropic: Claude Opus 4.5/4.1, Claude Sonnet 4.5/4, Claude Haiku 4.5
- Google: Gemini 3 Pro/Flash, Gemini 2.5 Flash/Flash Lite
- xAI: Grok 4, Grok 4.1 Fast (Reasoning/Non-Reasoning)

Configs updated:
- Add unified thinking_level for Gemini (maps to thinking_level for Gemini 3,
  thinking_budget for Gemini 2.5; handles Pro's lack of "minimal" support)
- Add OpenAI reasoning_effort configuration
- Add NormalizedChatGoogleGenerativeAI for consistent response handling

Fixes:
- Fix Bull/Bear researcher display truncation
- Replace ChromaDB with BM25 for memory retrieval
2026-02-03 22:27:20 +00:00