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