docs: 更新.env.example - 优先使用本地Ollama模型

This commit is contained in:
2025-12-25 18:01:54 +08:00
parent 78a1dd5696
commit b9bc0766f8
+10 -2
View File
@@ -35,11 +35,19 @@ VITE_API_URL=http://localhost:8001
# ===========================================
# LLM Configuration
# ===========================================
# 本地Ollama模式(推荐,免费)
USE_LOCAL_LLM=true
OLLAMA_BASE_URL=http://localhost:11434
OLLAMA_MODEL=lingjingwanxiang:32b
DEEPSEEK_MODEL=lingjingwanxiang:32b
# OpenRouter Claude模式(可选,需付费API key)
# USE_LOCAL_LLM=false
# OPENROUTER_API_KEY=sk-or-v1-your-key-here
LLM_MODEL=anthropic/claude-4.5-sonnet
LLM_TEMPERATURE=0.7
LLM_MAX_TOKENS=500
OLLAMA_BASE_URL=http://host.docker.internal:11434
DEEPSEEK_MODEL=qwen3-coder:30b-a3b-q8_0
# ===========================================
# Cache Configuration