-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
55 lines (40 loc) · 1.6 KB
/
.env.example
File metadata and controls
55 lines (40 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# ========================
# Required Settings 必填项
# ========================
# Dashscope API Key (Required/必填)
# Get it from Aliyun Dashscope Console
# 获取地址: https://help.aliyun.com/zh/model-studio/first-api-call-to-qwen
AI_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# =======================
# Optional Settings 可选项
# =======================
# --- AI Configuration (AI 基础配置) ---
# OpenAI-Compatible Base URL
# 默认使用阿里云百炼 (Dashscope) 的兼容接口
AI_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode
# Global Default Model (全局默认模型)
# Used if Think/Flash models are not specified separately
# 如果未单独指定 Think/Flash 模型,将默认使用此模型
AI_CHAT_MODEL=qwen-max
# --- Agent Specific Models (Agent 专用模型配置) ---
# Leave blank to use AI_CHAT_MODEL
# 留空则默认继承 AI_CHAT_MODEL 的设置
# Thinking Model (推理模型) - For complex planning
# 用于复杂任务规划
WDD_AGENT_THINK_MODEL=qwen-max
# Flash Model (快速模型) - For simple tasks
# 用于简单权限检查或快速响应
WDD_AGENT_FLASH_MODEL=qwen-flash
# --- Security & Dashboard (安全与面板登录) ---
# Dashboard login credentials
# 登录用户名和密码
WDD_USER_NAME=admin
WDD_USER_PASSWORD=admin
# --- Probe Configuration (探针配置) ---
# (Recommended) Hash salt for probe secret generation
# (强烈建议修改) 用于探针连接鉴权的哈希盐值,生产环境请修改
WDD_PROBE_CONNECT_KEY=default_connect_key
# --- Server Configuration (服务器配置) ---
# Application Port
# 应用启动端口
SERVER_PORT=8093