Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: auto generate type error in controllers/web/conversation.py (#1718)

crazywoolaa3dca3dabc60
diff --git a/api/controllers/web/conversation.py b/api/controllers/web/conversation.py
index f6bb96bf18e..2f6e79ba125 100644
--- a/api/controllers/web/conversation.py
+++ b/api/controllers/web/conversation.py
@@ -68,7 +68,7 @@ class ConversationRenameApi(WebApiResource):
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: