wendajia/.env.example
2026-09-05 17:33:21 +08:00

29 lines
1.1 KiB
Plaintext
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.

DATABASE_URL=mysql+pymysql://ai_agent_test:WGzc6mKawk@49.233.179.206:3306/wendajia
SECRET_KEY=replace-with-a-long-random-secret
COOKIE_SECURE=false
SESSION_HOURS=12
ADMIN_USERNAME=admin
ADMIN_PASSWORD=change-admin-password
OPERATOR_USERNAME=operator
OPERATOR_PASSWORD=change-operator-password
LLM_API_KEY=
LLM_BASE_URL=https://api.openlux.ai/v1
# 普通问答模型
LLM_MODEL=gpt-4o-mini
# 识图/OCR 模型;OpenLux 可填写 qwen3-vl-plus、qwen3-vl-32b-instruct 等视觉模型
LLM_VISION_MODEL=qwen3-vl-plus
LLM_TIMEOUT_SECONDS=90
# 开发环境显示接口返回的验证码;生产环境请设为 false 并接入短信服务
SMS_DEV_MODE=true
# 钉钉工作台免登(企业内部应用)
DINGTALK_CORP_ID=
DINGTALK_AGENT_ID=
DINGTALK_CLIENT_ID=
DINGTALK_CLIENT_SECRET=
DINGTALK_REDIRECT_URI=http://localhost:8000/api/admin/auth/dingtalk/callback
FRONTEND_URL=http://localhost:5173
# 可选:限制可登录的 unionId;多个值用逗号分隔
DINGTALK_ALLOWED_UNION_IDS=
# 可选:指定钉钉 unionId 自动授予超级管理员
DINGTALK_SUPER_ADMIN_UNION_IDS=