- Reorganise cli/main.py imports: move load_dotenv() after all imports
so isort can sort cleanly; removes need for global E402 ignore
- Remove dead graph.process_signal() call (discarded LLM result)
- Drop E501 and E402 from global ruff ignore; fix resulting violations
in cli/main.py and cli/utils.py; add per-file E501 ignore for
tradingagents/** where LLM system prompt strings are intentionally long
- Remove # noqa: I001 from alpha_vantage.py; let isort sort alphabetically
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Restore alpha_vantage.py facade with explicit re-exports and __all__
- Restore agent_utils.py tool facade imports and expand __all__ to cover
all public names (prevents auto-fixer stripping re-exports in future)
- Consolidate fragmented per-function import blocks in interface.py into
single blocks; add combine-as-imports = true to ruff isort config
- Enable F403, F405, F841 in Ruff (remove from ignore list) and fix all
resulting violations: replace star imports in cli/main.py, setup.py,
and trading_graph.py with explicit imports; drop unused live/decision
assignments
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add effort parameter (high/medium/low) for Claude 4.5+ and 4.6 models,
consistent with OpenAI reasoning_effort and Google thinking_level.
Also add content normalization for Anthropic responses.
- Point requirements.txt to pyproject.toml as single source of truth
- Resolve welcome.txt path relative to module for CLI portability
- Include cli/static files in package build
- Extract shared normalize_content for OpenAI Responses API and
Gemini 3 list-format responses into base_client.py
- Update README install and CLI usage instructions
Prevents UnicodeEncodeError on Windows where the default encoding
(cp1252/gbk) cannot handle Unicode characters in LLM output.
Closes#77, closes#114, closes#126, closes#215, closes#332
- Add save prompt after analysis with organized subfolder structure
- Fix report truncation by using sequential panels instead of Columns
- Add optional full report display prompt
- Add update_analyst_statuses() for unified status logic (pending/in_progress/completed)
- Normalize analyst selection to predefined ANALYST_ORDER for consistent execution
- Add message deduplication to prevent duplicates from stream_mode=values
- Restructure streaming loop so state handlers run on every chunk
- Add StatsCallbackHandler for tracking LLM calls, tool calls, and tokens
- Integrate callbacks into TradingAgentsGraph and all LLM clients
- Dynamic agent/report counts based on selected analysts
- Fix report completion counting (tied to agent completion)