TradingAgents/tradingagents/agents/utils
阳虎 f059314986 fix: Add max_summary_chars param to reduce token usage in news data
- Add max_summary_chars parameter (default 500) to get_news_yfinance and get_global_news_yfinance
- Smart truncation: tries to cut at first paragraph, falls back to word boundary
- Users can set max_summary_chars=0 for full text
- Addresses issue #291: news data too large causing token waste

Closes #291
2026-03-16 21:07:43 +08:00
..
agent_states.py refactor: rename risky/safe agents to aggressive/conservative 2026-02-03 22:27:20 +00:00
agent_utils.py fix: improve data vendor implementations and tool signatures 2026-02-03 22:27:20 +00:00
core_stock_tools.py minor fix 2025-09-26 23:25:33 +08:00
fundamental_data_tools.py minor fix 2025-09-26 23:25:33 +08:00
memory.py feat: add multi-provider LLM support with thinking configurations 2026-02-03 22:27:20 +00:00
news_data_tools.py fix: Add max_summary_chars param to reduce token usage in news data 2026-03-16 21:07:43 +08:00
technical_indicators_tools.py fix: handle comma-separated indicators in get_indicators tool 2026-03-15 18:05:36 +00:00