聊天工具优化

This commit is contained in:
2025-12-26 13:39:58 +08:00
parent f1c7639ec1
commit a4e2542b23
9 changed files with 1381 additions and 327 deletions
+7 -7
View File
@@ -2,7 +2,7 @@
# 复制此文件为 .env 并根据实际情况修改
# 服务端口
PORT=5000
PORT=15000
# 调试模式 (True/False)
DEBUG=True
@@ -10,15 +10,15 @@ DEBUG=True
# Flask密钥(生产环境请使用随机字符串)
SECRET_KEY=ai-assistant-web-client-secret-key
# API基础URL(如果需要代理到其他服务器
# API_BASE_URL=http://localhost:8082
# API后端服务地址(api模块提供HTTP接口
# 本地开发时使用80端口(Apollo配置的默认端口)
API_BASE_URL=http://localhost:80
# 认证Token(从登录获取,或使用固定token)
# AUTH_TOKEN=your_jwt_token_here
# 日志级别 (DEBUG/INFO/WARNING/ERROR)
LOG_LEVEL=INFO
# 默认应用ID
DEFAULT_APP_ID=15
# CORS允许的源(多个用逗号分隔)
# CORS_ORIGINS=http://localhost:3000,http://localhost:8080