After updating to version 1.2.0, calling the API to obtain session history messages failed #17895
-
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.There is an unknown issue with the /messages API endpoint in Dify version 1.2.0 that results in a status code 500 error when I tried to retrieve historical conversation content. And I have modified the code of the file "api/controllers/service_api/app/message.py": And these are some errors shown from the logs:
2. Additional context or commentsNo response |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
@liguochuan00 Could you please have a look at this as I believe it is a fatal error caused by the update of the code. in
The original way of @crazywoola Please see if I have clearly stated the problem. I think I better fix the code and submit a hotfix by myself. |
Beta Was this translation helpful? Give feedback.
-
This should be raised in the issue tracker. |
Beta Was this translation helpful? Give feedback.
-
This already solved by crazywoola. Pending release. |
Beta Was this translation helpful? Give feedback.
-
I pulled the latest main branch and ran the project, but I'm still encountering the same error. |
Beta Was this translation helpful? Give feedback.
#17716
This already solved by crazywoola. Pending release.