接入模型通用工具调用与客服语义理解

This commit is contained in:
2026-11-06 16:35:52 +08:00
parent afe2bd1207
commit bca0a6914a
14 changed files with 752 additions and 14 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ class ApiTests(unittest.TestCase):
def application(self, root):
app = create_app({'TESTING': True, 'DATABASE': root/'history.db',
'UPLOAD_DIR': root/'uploads', 'BACKUP_DIR': root/'backups',
'LOG_DIR': root/'logs', 'DEEPSEEK_API_KEY': ''})
'LOG_DIR': root/'logs', 'DEEPSEEK_API_KEY': '', 'CHAT_USE_MODEL_TOOLS': False})
@app.before_request
def fixture_customer():
from flask import g