6b7c28ea1e
ARCHITECTURE.md §2.3/§2.4/§3.1/§4/§5 + CLAUDE.md §4.8/§4.9/§5 + .env.example 对应设计 research-wiki/designs/2026-07-06-core-agent-adapters-llm-design.md §8 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
50 lines
1.4 KiB
Bash
50 lines
1.4 KiB
Bash
# 国内 LLM 端点绕过本地代理
|
|
no_proxy=dashscope.aliyuncs.com,api.deepseek.com
|
|
NO_PROXY=dashscope.aliyuncs.com,api.deepseek.com
|
|
|
|
# ── 搜索 Agent LLM ──
|
|
SEARCH_LLM_MODEL=deepseek-v4-pro
|
|
SEARCH_LLM_BASE_URL=https://api.deepseek.com/v1
|
|
SEARCH_LLM_API_KEY=sk-xxx
|
|
|
|
# ── 评估 Judge LLM ──
|
|
JUDGE_LLM_MODEL=deepseek-v4-pro
|
|
JUDGE_LLM_BASE_URL=https://api.deepseek.com/v1
|
|
JUDGE_LLM_API_KEY=sk-xxx
|
|
|
|
# ── 视觉模型(Qwen VL)──
|
|
VL_LLM_MODEL=qwen3.6-plus
|
|
VL_LLM_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
|
|
VL_LLM_API_KEY=sk-xxx
|
|
|
|
# ── 进化 LLM(Prompt 改写)──
|
|
EVOLVE_LLM_MODEL=deepseek-v4-pro
|
|
EVOLVE_LLM_BASE_URL=https://api.deepseek.com/v1
|
|
EVOLVE_LLM_API_KEY=sk-xxx
|
|
|
|
# ── ASR 字幕生成(Groq Whisper)──
|
|
ASR_MODEL=whisper-large-v3
|
|
ASR_BASE_URL=https://api.groq.com/openai/v1
|
|
ASR_API_KEY=gsk-xxx
|
|
|
|
# ── MonkeyOCR ──
|
|
MONKEY_OCR_URLS=http://10.77.0.20:7866,http://10.77.0.20:7867
|
|
|
|
# ── Embedding(仅远程模式的敏感凭证;backend/model_name 由科研 YAML 管理)──
|
|
EMBED_API_KEY=
|
|
EMBED_API_URL=
|
|
|
|
# ── Redis(响应缓存)──
|
|
REDIS_URL=redis://localhost:6379/0
|
|
|
|
# ── LLM 韧性参数 ──
|
|
LLM_TIMEOUT=120
|
|
LLM_MAX_RETRIES=3
|
|
LLM_RETRY_BASE_DELAY=2.0
|
|
LLM_CIRCUIT_BREAKER_THRESHOLD=5
|
|
LLM_CIRCUIT_BREAKER_COOLDOWN=60
|
|
LLM_TTFT_TIMEOUT=30
|
|
LLM_INTER_TOKEN_TIMEOUT=15
|
|
LLM_RETRY_MAX_DELAY=30.0
|
|
REDIS_CACHE_TTL=86400
|