diff --git a/api/controllers/console/app/conversation.py b/api/controllers/console/app/conversation.py index 11dece3a9e58e5..fe88df151b0066 100644 --- a/api/controllers/console/app/conversation.py +++ b/api/controllers/console/app/conversation.py @@ -147,7 +147,7 @@ def get(self, app_model): parser.add_argument('limit', type=int_range(1, 100), required=False, default=20, location='args') args = parser.parse_args() - query = db.select(Conversation).where(Conversation.app_id == app_model.id, Conversation.mode == 'chat') + query = db.select(Conversation).where(Conversation.app_id == app_model.id) if args['keyword']: query = query.join(