From a3dca3dabc6075ec36305ffb20e881411f7c3711 Mon Sep 17 00:00:00 2001 From: crazywoola <100913391+crazywoola@users.noreply.github.com> Date: Fri, 8 Dec 2023 11:15:07 +0800 Subject: [PATCH] fix: auto generate type error in controllers/web/conversation.py (#1718) --- api/controllers/web/conversation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/controllers/web/conversation.py b/api/controllers/web/conversation.py index f6bb96bf18e5b..2f6e79ba1251a 100644 --- a/api/controllers/web/conversation.py +++ b/api/controllers/web/conversation.py @@ -68,7 +68,7 @@ def post(self, app_model, end_user, c_id): parser = reqparse.RequestParser() parser.add_argument('name', type=str, required=False, location='json') - parser.add_argument('auto_generate', type=bool, required=False, default='False', location='json') + parser.add_argument('auto_generate', type=bool, required=False, default=False, location='json') args = parser.parse_args() try: