Files
crewai/.env
2026-03-13 15:59:01 +08:00

32 lines
957 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.

# 环境变量配置示例
# 复制此文件为 .env 并填入实际值
# ==================== DashScope 配置 ====================
# DashScope API Key (阿里百炼 Qwen 模型)
# 获取地址https://dashscope.console.aliyun.com/
DASHSCOPE_API_KEY=sk-your-actual-api-key-here
# 禁用 LiteLLM 的远程模型成本映射(避免启动时联网超时)
DISABLE_LITELLM_MODEL_COST_MAP=True
LITELLM_LOCAL_MODEL_COST_MAP=True
# 注意:请将 DASHSCOPE_API_KEY 替换为您的真实 API Key
# 不要将 .env 文件提交到版本控制系统
# ==================== 服务配置 ====================
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