- 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. |
||
|---|---|---|
| .. | ||
| agents | ||
| api | ||
| config | ||
| dataflows | ||
| graph | ||
| llm_adapters | ||
| default_config.py | ||