From c72e9b2288975d8d533ba0c1a7bd1920c754336c Mon Sep 17 00:00:00 2001 From: "mula.liu" Date: Fri, 30 Jan 2026 08:52:50 +0800 Subject: [PATCH] fix bugs --- backend/app/services/llm_service.py | 2 +- frontend/nginx.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;