aps-agent/.env.example

21 lines
953 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ============================================================
# APS 智能体 · 环境配置模板(复制为 .env 后填写,.env 已被 gitignore)
# 密钥只存环境,绝不入库(plan.md §14.4)
# ============================================================
# ---- 大模型 Provider(二选一,OpenAI 兼容接口)----
# 可选值:deepseek | kimi(留空或密钥缺失时自动降级为规则解析器)
LLM_PROVIDER=deepseek
# API 密钥:DeepSeek 从 platform.deepseek.com 获取;KIMI 从 platform.moonshot.cn 获取
LLM_API_KEY=
# 接口地址:deepseek 默认 https://api.deepseek.com/v1 ;kimi 默认 https://api.moonshot.cn/v1
LLM_BASE_URL=
# 模型名:deepseek 推荐 deepseek-chat ;kimi 推荐 moonshot-v1-8k
LLM_MODEL=
# ---- 后端服务 ----
# 监听端口(前端 vite 代理默认指向 8000)
APS_PORT=8000
# 世界状态存储文件路径(相对仓库根)
APS_WORLD_PATH=server/data/world.json