更新环境配置,添加gevent和gunicorn依赖;新增chat_dify_by_workorder.py文件以处理工单对话逻辑;优化PgSql类中的异常处理,确保连接失败时抛出异常;改进意图识别API,使用单例模式管理意图识别器实例,增强线程安全性;新增workflow_chat.py文件以支持新工作流对话功能。

This commit is contained in:
2025-06-05 10:52:31 +08:00
parent 01dc1c3c91
commit c715fca5ef
8 changed files with 784 additions and 42 deletions
+2
View File
@@ -22,6 +22,8 @@ tqdm = "^4.67.1"
xlsxwriter = "^3.2.3"
flask = "^3.1.1"
psycopg2 = "^2.9.10"
gunicorn = "^23.0.0"
gevent = "^25.5.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"