zhaoqingang
2025-02-11 0078ac6ffa486c481c26b7c0b033ff9664096a7f
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):
@@ -117,3 +118,4 @@
            await ragflow_service.add_user_tenant(token, user.app_id,
                                                  u.email,
                                                  u.app_id)
    update_ragflow_user_tenant(user.app_id)