From afc68af3a67b2f936429feb3a68c1f09e03ce930 Mon Sep 17 00:00:00 2001
From: zhaoqingang <zhaoqg0118@163.com>
Date: 星期五, 11 四月 2025 10:07:24 +0800
Subject: [PATCH] 智能体中心不显示自研智能体

---
 app/api/dialog.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/app/api/dialog.py b/app/api/dialog.py
index b11ef36..c6ffa3f 100644
--- a/app/api/dialog.py
+++ b/app/api/dialog.py
@@ -17,13 +17,14 @@
                       keyword: str = "",
                       label: int = 0,
                       status: str ="",
+                      mode: int = 0,
                       current_user: UserModel = Depends(get_current_user),
                       db=Depends(get_db)):
     if current and not pageSize:
         return Response(code=400, msg="缂哄皯鍙傛暟")
     if status and status not in ["0", "1"]:
         return Response(code=400, msg="Parameter status exception")
-    return Response(code=200, msg="", data=await get_dialog_list(db, current_user.id, keyword, label, status, pageSize, current))
+    return Response(code=200, msg="", data=await get_dialog_list(db, current_user.id, keyword, label, status, pageSize, current, mode))
 
 
 @dialog_router.post("/create", response_model=Response)

--
Gitblit v1.8.0