Fix some security vulnerabilities. (#2160)

### What problem does this PR solve?

Fix some security vulnerabilities

### Type of change

- [x] Performance Improvement

---------

Co-authored-by: Zhedong Cen <cenzhedong2@126.com>
This commit is contained in:
黄腾
2024-08-29 16:21:32 +08:00
committed by GitHub
parent 99993e5026
commit 12975cf128
3 changed files with 9 additions and 9 deletions

View File

@ -22,7 +22,7 @@ from api.db.db_models import TenantLLM
from api.utils.api_utils import get_json_result
from rag.llm import EmbeddingModel, ChatModel, RerankModel, CvModel, TTSModel
import requests
import ast
@manager.route('/factories', methods=['GET'])
@login_required