From 0897e36de45df26ab185568a0e747f223afb9910 Mon Sep 17 00:00:00 2001 From: zhaoqingang <zhaoqg0118@163.com> Date: 星期四, 28 十一月 2024 13:44:46 +0800 Subject: [PATCH] bisheng的历史会话添加智能体过滤 --- app/api/agent.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/app/api/agent.py b/app/api/agent.py index 8b8add1..2f27f23 100644 --- a/app/api/agent.py +++ b/app/api/agent.py @@ -53,7 +53,7 @@ bisheng_service = BishengService(base_url=settings.sgb_base_url) try: token = get_bisheng_token(db, current_user.id) - result = await bisheng_service.get_chat_sessions(token, page, limit) + result = await bisheng_service.get_chat_sessions(token, agent_id, page, limit) except Exception as e: raise HTTPException(status_code=500, detail=str(e)) return ResponseList(code=200, msg="", data=result) -- Gitblit v1.8.0