aps-agent/.env.example

41 lines
1.6 KiB
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.

# ============================================================
# 多系统智能体平台 · 环境变量模板
# 复制为 .env 或写进 ~/.aps/config.json;.env 已被 gitignore
# 优先级:环境变量 > 配置文件 > 默认值(ADR-0011)
# 密钥只进配置文件或环境变量,绝不入库、不进日志
# ============================================================
# ---- 模型与端点(ADR-0011;开发与首版用 DeepSeek)----
# deepseek | openai | compatible
APS_LLM_PROVIDER=deepseek
APS_LLM_BASE_URL=https://api.deepseek.com/v1
APS_LLM_MODEL=deepseek-chat
# 也写在 ~/.aps/config.json 的 llm.apiKey 里;这里留空表示未配置模型(平台仍可启动,走假引擎)
APS_LLM_API_KEY=
# ---- 配置文件位置(默认 ~/.aps/config.json)----
# APS_CONFIG_FILE=
# ---- 服务端 ----
APS_HOST=127.0.0.1
APS_PORT=5199
# 客户端静态产物目录(默认仓库内 client/app/dist)
# APS_CLIENT_DIST=
# ---- 数据库(决策 D16:首版用 SQLite)----
# 默认 ~/.aps/aps.sqlite;服务端部署时显式指定
# APS_DB_PATH=
# ---- 能力可见性(A3.5)----
# 默认允许:开发期为 1;接入真实身份(A4.1)后应为 0,由 ~/.aps/config.json 的 capabilities.grants 逐条授权
# APS_CAPABILITY_DEFAULT_ALLOW=1
# 只读模式:1=屏蔽所有写能力(演示或只读部署用)
# APS_CAPABILITY_DENY_WRITE=0
# ---- 引擎选择 ----
# 留空 = 有密钥就用 Pi、没密钥用假引擎;也可显式写 fake | pi
# APS_ENGINE=
# ---- 开发期开关 ----
# 1=注册假 Provider(用于联调与演示;默认不注册,能力清单为空)
# APS_DEV_PROVIDER=1