miniai/.env.example
2026-08-16 21:48:49 +08:00

33 lines
979 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.

# Mini AI Assistant 配置示例
# 复制本文件为 .env 并填入真实值(.env 已被 .gitignore 忽略,不会提交)
# 大模型接口OpenAI 兼容)
BASE_URL=https://ark.cn-beijing.volces.com/api/coding/v3
API_KEY=your_api_key_here
MODEL=ark-code-latest
# 工作区(后端可读写的根目录,建议用绝对路径)
WORKSPACE=.
# 命令授权级别high=每条都审核 / medium=仅危险命令审核 / low=全部不审核
CMD_APPROVE_LEVEL=medium
# 服务端口(前端构建后由后端统一托管)
PORT=3100
# 日志级别debug / info / warn / error
LOG_LEVEL=debug
# 温度0~1
TEMPERATURE=0.3
# 路径白名单(允许的盘符/目录,逗号分隔;留空表示仅工作区)
WHITELIST=d:\
# 路径黑名单(优先级最高,逗号分隔;留空表示无)
BLACKLIST=
# DuckDB内置 CLI 可执行文件路径与本地数据库文件(无需原生 .node 依赖)
DUCKDB_EXE=bin/duckdb.exe
DUCKDB_FILE=data/duck.db