auto_generate #754

Closed
opened 2026-02-21 17:28:17 -05:00 by yindo · 2 comments
Owner

Originally created by @zml0506-163 on GitHub (Nov 29, 2023).

Originally assigned to: @takatost on GitHub.

Dify version

0.3.32

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

In the ConversationRenameApi.post method, the auto_generate parameter is defined using reqparse.RequestParser with a default value of 'False' (a string), although its expected type is bool. When this parameter is not explicitly passed in the request, it defaults to the string 'False', leading to unexpected behavior as the variable is treated as a string rather than a boolean value.

✔️ Expected Behavior

Able to rename successfully

Actual Behavior

Unable to rename successfully

Originally created by @zml0506-163 on GitHub (Nov 29, 2023). Originally assigned to: @takatost on GitHub. ### Dify version 0.3.32 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce In the ConversationRenameApi.post method, the auto_generate parameter is defined using reqparse.RequestParser with a default value of 'False' (a string), although its expected type is bool. When this parameter is not explicitly passed in the request, it defaults to the string 'False', leading to unexpected behavior as the variable is treated as a string rather than a boolean value. ### ✔️ Expected Behavior Able to rename successfully ### ❌ Actual Behavior Unable to rename successfully
yindo added the 🐞 bug label 2026-02-21 17:28:17 -05:00
yindo closed this issue 2026-02-21 17:28:17 -05:00
Author
Owner

@zml0506-163 commented on GitHub (Nov 29, 2023):

controllers/web/conversation.py

@zml0506-163 commented on GitHub (Nov 29, 2023): controllers/web/conversation.py
Author
Owner

@crazywoola commented on GitHub (Dec 6, 2023):

@takatost Seems the error still happens.

@crazywoola commented on GitHub (Dec 6, 2023): @takatost Seems the error still happens.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#754