From 9de1ba1b182cc82582da5825660ad5671bda0df2 Mon Sep 17 00:00:00 2001 From: xuyonghao <898441624@qq.com> Date: 星期二, 14 一月 2025 10:43:46 +0800 Subject: [PATCH] 合并excel对话记录保存格式与出题组卷保持一致 --- app/service/service_token.py | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/app/service/service_token.py b/app/service/service_token.py index 0b031cb..9707d3c 100644 --- a/app/service/service_token.py +++ b/app/service/service_token.py @@ -8,6 +8,7 @@ from app.service.bisheng import BishengService from app.service.difyService import DifyService from app.service.ragflow import RagflowService +from app.task.fetch_agent import update_ragflow_user_tenant async def get_bisheng_token(db, user_id: int): @@ -116,4 +117,5 @@ user.app_id) await ragflow_service.add_user_tenant(token, user.app_id, u.email, - u.app_id) \ No newline at end of file + u.app_id) + update_ragflow_user_tenant(user.app_id) -- Gitblit v1.8.0