TradingAgents/tradingagents
liuping cdba5bf780 feat: add DashScope (Alibaba Cloud) LLM provider support
- Add DashScope to CLI LLM provider selection (first option)
- Add DashScope support in TradingAgentsGraph with proper error handling
- Import ChatDashScope adapter with fallback for missing dependencies
- Update default_config.py with DashScope configuration comments
- Create comprehensive DashScope configuration example

Features added:
- DashScope provider selection in CLI (cli/utils.py)
- LLM initialization for DashScope models (trading_graph.py)
- Configuration validation and testing (examples/dashscope_config_example.py)
- Support for qwen-turbo, qwen-plus, qwen-max models
- Proper error handling for missing dashscope package

Usage:
1. Install: pip install dashscope
2. Configure: DASHSCOPE_API_KEY in .env file
3. Select 'DashScope (Alibaba Cloud)' in CLI
4. Use models: qwen-turbo (fast), qwen-plus (balanced), qwen-max (best)

This enables Chinese users to use Alibaba Cloud's Qwen models
for financial analysis with optimized Chinese language support.
2025-07-06 01:15:35 +08:00
..
agents feat: merge Chinese version features 2025-07-06 00:26:49 +08:00
api feat: merge Chinese version features 2025-07-06 00:26:49 +08:00
config feat: merge Chinese version features 2025-07-06 00:26:49 +08:00
dataflows feat: merge requirements.txt and add optional dependencies 2025-07-06 00:50:20 +08:00
graph feat: add DashScope (Alibaba Cloud) LLM provider support 2025-07-06 01:15:35 +08:00
llm_adapters feat: merge Chinese version features 2025-07-06 00:26:49 +08:00
default_config.py feat: add DashScope (Alibaba Cloud) LLM provider support 2025-07-06 01:15:35 +08:00