This commit is contained in:
MarkLo 2025-11-24 11:19:23 +08:00
parent 6fcd6d896d
commit 2137172e7b
3 changed files with 4 additions and 1 deletions

View File

@ -47,7 +47,7 @@ TradingAgents 支援業界領先的多家 LLM 提供商,並為每個模型配
| **Anthropic** | Claude Haiku 4.5, Claude Sonnet 4.5/4.0, Claude 3.5 Haiku, Claude 3 Haiku | `https://api.anthropic.com/` | ✅ 是 |
| **Grok (xAI)** | Grok-4.1 Fast, Grok-4 Fast, Grok-4, Grok-3, Grok-3 Mini | `https://api.x.ai/v1` | ✅ 是 |
| **DeepSeek** | DeepSeek Reasoner, DeepSeek Chat | `https://api.deepseek.com` | ✅ 是 |
| **Qwen (Alibaba)** | Qwen3-Max, Qwen-Plus | `https://dashscope-intl.aliyuncs.com/compatible-mode/v1` | ✅ 是 |
| **Qwen (Alibaba)** | Qwen3-Max, Qwen-Plus, Qwen Flash | `https://dashscope-intl.aliyuncs.com/compatible-mode/v1` | ✅ 是 |
| **自訂端點** | 任何 OpenAI 兼容的 API | 使用者自訂 | ✅ 完全支援 |
### 🔧 三層獨立配置

View File

@ -229,6 +229,7 @@ class TradingService:
# Qwen
"qwen3-max",
"qwen-plus",
"qwen-flash",
]
def get_default_config(self) -> Dict[str, Any]:

View File

@ -371,6 +371,7 @@ export function AnalysisForm({ onSubmit, loading = false }: AnalysisFormProps) {
{/* Qwen */}
<SelectItem value="qwen3-max">Qwen: 3 Max</SelectItem>
<SelectItem value="qwen-plus">Qwen: Plus</SelectItem>
<SelectItem value="qwen-flash">Qwen: Flash</SelectItem>
</SelectContent>
</Select>
<FormDescription></FormDescription>
@ -479,6 +480,7 @@ export function AnalysisForm({ onSubmit, loading = false }: AnalysisFormProps) {
{/* Qwen */}
<SelectItem value="qwen3-max">Qwen: 3 Max</SelectItem>
<SelectItem value="qwen-plus">Qwen: Plus</SelectItem>
<SelectItem value="qwen-flash">Qwen: Flash</SelectItem>
</SelectContent>
</Select>
<FormDescription></FormDescription>