Files
miniai/.env.example
T

29 lines
828 B
Bash
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=