|
1 | 1 | # ============================================================================ |
2 | | -# LLM Provider — uncomment ONE block below |
| 2 | +# LLM Provider — uncomment ONE provider block below |
3 | 3 | # ============================================================================ |
4 | | -LANGCHAIN_TEMPERATURE=0.0 |
5 | 4 |
|
6 | | -# --- OpenRouter --- |
| 5 | +# --- OpenRouter (recommended, multi-model gateway) --- |
7 | 6 | LANGCHAIN_PROVIDER=openrouter |
| 7 | +LANGCHAIN_MODEL_NAME=deepseek/deepseek-v3.2 |
8 | 8 | OPENROUTER_API_KEY=sk-or-v1-your-key-here |
9 | 9 | OPENROUTER_BASE_URL=https://openrouter.ai/api/v1 |
10 | | -LANGCHAIN_MODEL_NAME=deepseek/deepseek-v3.2 |
11 | | - |
12 | | -# --- DeepSeek --- |
13 | | -# LANGCHAIN_PROVIDER=deepseek |
14 | | -# DEEPSEEK_API_KEY=sk-xxx |
15 | | -# DEEPSEEK_BASE_URL=https://api.deepseek.com/v1 |
16 | | -# LANGCHAIN_MODEL_NAME=deepseek-chat |
17 | 10 |
|
18 | 11 | # --- OpenAI --- |
19 | 12 | # LANGCHAIN_PROVIDER=openai |
| 13 | +# LANGCHAIN_MODEL_NAME=gpt-4o |
20 | 14 | # OPENAI_API_KEY=sk-xxx |
21 | 15 | # OPENAI_BASE_URL=https://api.openai.com/v1 |
22 | | -# LANGCHAIN_MODEL_NAME=gpt-4o |
| 16 | + |
| 17 | +# --- DeepSeek --- |
| 18 | +# LANGCHAIN_PROVIDER=deepseek |
| 19 | +# LANGCHAIN_MODEL_NAME=deepseek-chat |
| 20 | +# DEEPSEEK_API_KEY=sk-xxx |
| 21 | +# DEEPSEEK_BASE_URL=https://api.deepseek.com/v1 |
23 | 22 |
|
24 | 23 | # --- Gemini --- |
25 | 24 | # LANGCHAIN_PROVIDER=gemini |
| 25 | +# LANGCHAIN_MODEL_NAME=gemini-2.5-flash |
26 | 26 | # GEMINI_API_KEY=xxx |
27 | 27 | # GEMINI_BASE_URL=https://generativelanguage.googleapis.com/v1beta/openai/ |
28 | | -# LANGCHAIN_MODEL_NAME=gemini-2.5-flash |
29 | 28 |
|
30 | 29 | # --- Groq --- |
31 | 30 | # LANGCHAIN_PROVIDER=groq |
| 31 | +# LANGCHAIN_MODEL_NAME=llama-3.3-70b-versatile |
32 | 32 | # GROQ_API_KEY=gsk_xxx |
33 | 33 | # GROQ_BASE_URL=https://api.groq.com/openai/v1 |
34 | | -# LANGCHAIN_MODEL_NAME=llama-3.3-70b-versatile |
35 | 34 |
|
36 | 35 | # --- DashScope / Qwen --- |
37 | 36 | # LANGCHAIN_PROVIDER=dashscope |
| 37 | +# LANGCHAIN_MODEL_NAME=qwen-plus |
38 | 38 | # DASHSCOPE_API_KEY=sk-xxx |
39 | 39 | # DASHSCOPE_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1 |
40 | | -# LANGCHAIN_MODEL_NAME=qwen-plus |
41 | 40 |
|
42 | 41 | # --- Zhipu --- |
43 | 42 | # LANGCHAIN_PROVIDER=zhipu |
| 43 | +# LANGCHAIN_MODEL_NAME=glm-4-plus |
44 | 44 | # ZHIPU_API_KEY=xxx |
45 | 45 | # ZHIPU_BASE_URL=https://open.bigmodel.cn/api/paas/v4 |
46 | | -# LANGCHAIN_MODEL_NAME=glm-4-plus |
47 | 46 |
|
48 | 47 | # --- Moonshot / Kimi --- |
49 | 48 | # LANGCHAIN_PROVIDER=moonshot |
| 49 | +# LANGCHAIN_MODEL_NAME=kimi-k2.5 |
50 | 50 | # MOONSHOT_API_KEY=sk-xxx |
51 | 51 | # MOONSHOT_BASE_URL=https://api.moonshot.ai/v1 |
52 | | -# LANGCHAIN_MODEL_NAME=kimi-k2.5 |
53 | 52 |
|
54 | 53 | # --- MiniMax --- |
55 | 54 | # LANGCHAIN_PROVIDER=minimax |
| 55 | +# LANGCHAIN_MODEL_NAME=MiniMax-Text-01 |
56 | 56 | # MINIMAX_API_KEY=xxx |
57 | 57 | # MINIMAX_BASE_URL=https://api.minimax.io/v1 |
58 | | -# LANGCHAIN_MODEL_NAME=MiniMax-Text-01 |
59 | 58 |
|
60 | 59 | # --- Xiaomi MIMO --- |
61 | 60 | # LANGCHAIN_PROVIDER=mimo |
| 61 | +# LANGCHAIN_MODEL_NAME=MiMo-72B-A27B |
62 | 62 | # MIMO_API_KEY=xxx |
63 | 63 | # MIMO_BASE_URL=https://api.xiaomimimo.com/v1 |
64 | | -# LANGCHAIN_MODEL_NAME=MiMo-72B-A27B |
65 | 64 |
|
66 | | -# --- Ollama --- |
| 65 | +# --- Ollama (local) --- |
67 | 66 | # LANGCHAIN_PROVIDER=ollama |
68 | | -# OLLAMA_BASE_URL=http://localhost:11434/v1 |
69 | 67 | # LANGCHAIN_MODEL_NAME=qwen2.5:32b |
| 68 | +# OLLAMA_BASE_URL=http://localhost:11434/v1 |
| 69 | + |
| 70 | +# LLM parameters |
| 71 | +LANGCHAIN_TEMPERATURE=0.0 |
| 72 | +TIMEOUT_SECONDS=120 |
| 73 | +MAX_RETRIES=2 |
70 | 74 |
|
71 | 75 | # ============================================================================ |
72 | | -# Data Providers |
| 76 | +# Data Sources |
73 | 77 | # ============================================================================ |
74 | | -# A-shares: Tushare Pro (requires token, https://tushare.pro) |
| 78 | +# A-shares: Tushare Pro token (https://tushare.pro) |
75 | 79 | TUSHARE_TOKEN=your-tushare-token |
76 | | -# HK/US equities: yfinance (free, no key needed) |
77 | | -# Crypto: OKX public API (free, no key needed) |
| 80 | +# HK/US equities: yfinance (free, no config needed) |
| 81 | +# Crypto: OKX public API (free, no config needed) |
| 82 | +# Crypto fallback exchange (default: binance). Change if OKX is blocked: |
| 83 | +# CCXT_EXCHANGE=binance |
78 | 84 |
|
79 | 85 | # ============================================================================ |
80 | | -# Runtime |
| 86 | +# API Server (optional) |
81 | 87 | # ============================================================================ |
82 | | -TIMEOUT_SECONDS=120 |
83 | | -MAX_RETRIES=2 |
| 88 | +# Bearer token for API auth (empty = no auth, dev mode) |
| 89 | +# API_AUTH_KEY= |
| 90 | +# CORS allowed origins (comma-separated) |
| 91 | +# CORS_ORIGINS=http://localhost:3000,http://localhost:5173,http://localhost:8000 |
| 92 | +# Enable session runtime |
| 93 | +# ENABLE_SESSION_RUNTIME=true |
84 | 94 |
|
85 | 95 | # ============================================================================ |
86 | | -# Swarm / Subagent tuning (optional, defaults are sensible) |
| 96 | +# Agent Tuning (optional, defaults are sensible) |
87 | 97 | # ============================================================================ |
88 | 98 | # SWARM_WORKER_TIMEOUT=300 |
89 | 99 | # SWARM_WORKER_MAX_ITER=50 |
|
0 commit comments