-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
41 lines (36 loc) · 2.42 KB
/
Copy path.env.example
File metadata and controls
41 lines (36 loc) · 2.42 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
# 注意:.env.example需要去掉末尾的.exmaple变为.env使用
# ==============================================================================
# Agent Configuration
# ==============================================================================
AGENT_NAME="DeepAgent"
AGENT_ROLE="Assistant"
AGENT_DESCRIPTION="一个通用助理。"
CUSTOM_SYSTEM_PROMPT="你是一位通用的助理。"
# ==============================================================================
# Path Configuration (for virtual filesystem)
# ==============================================================================
MEMORY_DIR="./memories" # 静态配置和用户记忆目录
SKILLS_DIR="./skills" # Skills 脚本目录
WORKSPACE_DIR="./workspaces" # 工作区目录
# ==============================================================================
# Web Search Config (需要注册 https://open.bochaai.com/ )
# ==============================================================================
BOCHA_API_KEY=""
# ==============================================================================
# LLM Config (建议使用 阿里 Qwen系列模型 https://bailian.console.aliyun.com/cn-beijing)
# 课程中优先使用 qwen3-coder-plus > qwen3-max > qwen3-coder-flash > others 以及下列网址中有免费额度的模型
# https://bailian.console.aliyun.com/cn-beijing/model-usage/free-quota
# ==============================================================================
QWEN_MODEL="qwen3-coder-flash"
QWEN_API="your-api" # 前往 阿里百炼大模型服务平台 -> 模型服务 ->密钥管理 创建
QWEN_URL="https://dashscope.aliyuncs.com/compatible-mode/v1" #如果是海外用户 url见 百炼大模型官方文档
# ==============================================================================
# Image Generation Config (DashScope ImageSynthesis)
# ==============================================================================
IMAGE_MODEL="qwen-image-plus" # 图像生成模型名称
IMAGE_SIZE_DEFAULT="1664*928" # 默认图像尺寸,可选值:1024*1024, 1280*720, 720*1280, 1664*928
IMAGE_TIMEOUT=120 # 图像生成超时时间(秒)
# ==============================================================================
# Tool Execution Config
# ==============================================================================
TOOL_INTERRUPT_TIMEOUT=30 # 工具调用中断等待用户决策的超时时间(秒)