diff --git a/backend/app/services/llm_service.py b/backend/app/services/llm_service.py index 1f8429f..1794650 100644 --- a/backend/app/services/llm_service.py +++ b/backend/app/services/llm_service.py @@ -1,7 +1,7 @@ import json import dashscope from http import HTTPStatus -from typing import Optional, Dict, List, Generator +from typing import Optional, Dict, List, Generator, Any import app.core.config as config_module from app.core.database import get_db_connection from app.services.system_config_service import SystemConfigService diff --git a/frontend/nginx.conf b/frontend/nginx.conf index acd9a68..5abc93e 100644 --- a/frontend/nginx.conf +++ b/frontend/nginx.conf @@ -13,7 +13,7 @@ server { gzip_disable "MSIE [1-6]\."; # 增加上传文件大小限制 - client_max_body_size 200M; + client_max_body_size 500M; location / { try_files $uri $uri/ /index.html;