feat: support nvidia and openai compatible api

This commit is contained in:
linzhi.xie 2026-04-19 18:59:31 +08:00
parent 4d98734d13
commit 16fcb3d3ab
1 changed files with 3 additions and 1 deletions

View File

@ -136,7 +136,9 @@ docker compose --profile ollama run --rm tradingagents-ollama
TradingAgents supports multiple LLM providers. Set the API key for your chosen provider:
```bash
export OPENAI_API_KEY=... # OpenAI (GPT)
export OPENAI_BASE_URL=... # OpenAI (GPT) or OpenaiCompatible
export OPENAI_API_KEY=... # OpenAI (GPT) or OpenaiCompatible
export NVIDIA_API_KEY=... # Nvidia
export GOOGLE_API_KEY=... # Google (Gemini)
export ANTHROPIC_API_KEY=... # Anthropic (Claude)
export XAI_API_KEY=... # xAI (Grok)