.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow. (showing first 20, more exist in .env.example)
DEEPSEEK_API_KEY
secret
DeepSeek LLM (必需) 官网: https://platform.deepseek.com 注册即送 500 万 tokens
DEEPSEEK_MODEL
DEEPSEEK_BASE_URL
SILICONFLOW_API_KEY
secret
硅基流动 Embeddings (推荐,用于 CrewAI Memory) 官网: https://cloud.siliconflow.cn 注册即送 2000 万 tokens
SILICONFLOW_EMBEDDING_MODEL
推荐模型: BAAI/bge-m3 (中英文通用,8192 tokens)
ZHITU_API_BASE_URL
股票数据源 (二选一) 方式 1:AKShare(默认,免费开源,无需 token) 未配置 ZHITU_API_TOKEN 时自动启用,直接 pip install akshare 即可 方式 2:智兔 API(付费,高速 3000 次/分钟) 官网:…
ZHITU_API_TOKEN
secret
GROK_API_KEY
secret
Grok API (用于实时新闻 / 社区情绪搜索) 官网: https://x.ai
GROK_BASE_URL
GROK_MODEL
TAVILY_API_KEY
secret
Tavily 新闻 API (备用) 官网: https://www.tavily.com/
TAVILY_BASE_URL
PUSHPLUS_TOKEN
secret
PushPlus 微信推送 (可选) 官网: https://www.pushplus.plus/
PUSHPLUS_CHANNEL
NOTIFICATION_CHANNEL
推送渠道选择: pushplus / wechat
COMMUNITY_CACHE_TTL
社区情绪配置
COMMUNITY_REQUEST_DELAY
INITIAL_CAPITAL
系统配置 (Agent 参考值,非强制)
TARGET_MONTHLY_RETURN
STOP_LOSS_PCT
brew install flyctl && fly launch --from https://github.com/numb94/crewai-astock
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/numb94/crewai-astock
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/numb94/crewai-astock