第一次提交
This commit is contained in:
27
.env.example
Normal file
27
.env.example
Normal file
@@ -0,0 +1,27 @@
|
||||
# 环境变量配置示例
|
||||
# 复制此文件为 .env 并填入实际值
|
||||
|
||||
# ==================== DashScope 配置 ====================
|
||||
# DashScope API Key (通义千问)
|
||||
# 获取地址:https://dashscope.console.aliyun.com/
|
||||
DASHSCOPE_API_KEY=sk-your-actual-api-key-here
|
||||
|
||||
# 注意:如果您使用 OpenAI,也可以设置 OPENAI_API_KEY
|
||||
# OPENAI_API_KEY=sk-your-openai-key
|
||||
|
||||
# ==================== 服务配置 ====================
|
||||
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
|
||||
Reference in New Issue
Block a user