Files
crewai/.env
2026-03-13 14:20:58 +08:00

42 lines
1.3 KiB
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.

# 环境变量配置示例
# 复制此文件为 .env 并填入实际值
# ==================== DashScope 配置 ====================
# DashScope API Key (通义千问)
# 请替换为您的真实 API Key
# 获取地址https://dashscope.console.aliyun.com/
DASHSCOPE_API_KEY=sk-616332b2afa94699b4572d0fe6ac370a
# ==================== 服务配置 ====================
HOST=0.0.0.0
PORT=8000
# ==================== 日志配置 ====================
LOG_LEVEL=info # debug, info, warning, error
# ==================== 高级配置(可选)====================
# SSE 队列最大长度
SSE_QUEUE_MAX_SIZE=1000
# 流清理间隔(秒)
STREAM_CLEANUP_INTERVAL=300
# 任务超时时间(秒)
TASK_TIMEOUT=3600
# ===========================================
# 多智能体系统环境变量配置
# ===========================================
# DashScope API Key (通义千问 - Qwen3.5-flash)
# 获取地址https://dashscope.console.aliyun.com/
# 注意:请确保您的账户有足够的额度
DASHSCOPE_API_KEY=sk-616332b2afa94699b4572d0fe6ac370a
# ===========================================
# 使用说明:
# 1. 将上方的 DASHSCOPE_API_KEY 替换为您的真实 API Key
# 2. 保存此文件后运行 python main.py 启动服务
# 3. 访问 http://localhost:8000/test-ui 使用测试界面
# ===========================================