The latest version of dify. Does the chat messages API still support the parent_cessage_id parameter. Based on the already replied answer, regenerate the answer #8263

Closed
opened 2026-02-21 18:24:46 -05:00 by yindo · 3 comments
Owner

Originally created by @lichao4Java on GitHub (Feb 14, 2025).

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

The latest version of self-hosted dify 0.15.3, Does the chat messages API still support the parent_cessage_id parameter. Based on the already replied answer, regenerate the answer?

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @lichao4Java on GitHub (Feb 14, 2025). ### Self Checks - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. The latest version of self-hosted dify 0.15.3, Does the chat messages API still support the parent_cessage_id parameter. Based on the already replied answer, regenerate the answer? ### 2. Additional context or comments _No response_ ### 3. Can you help us with this feature? - [ ] I am interested in contributing to this feature.
yindo closed this issue 2026-02-21 18:24:46 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Feb 14, 2025):

Yes, in the latest version of self-hosted Dify 0.15.3, the chat messages API still supports the parent_message_id parameter. It can regenerate the answer based on an already replied answer. The doSend function constructs a data object that includes the parent_message_id, and the doRegenerate function uses this to regenerate the answer by setting the isRegenerate flag to true [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot[bot] commented on GitHub (Feb 14, 2025): <!-- Answer --> Yes, in the latest version of self-hosted Dify 0.15.3, the chat messages API still supports the `parent_message_id` parameter. It can regenerate the answer based on an already replied answer. The `doSend` function constructs a data object that includes the `parent_message_id`, and the `doRegenerate` function uses this to regenerate the answer by setting the `isRegenerate` flag to true <sup>[[1]](https://github.com/langgenius/dify/blob/main/web/app/components/base/chat/chat-with-history/chat-wrapper.tsx)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/082eb1a3-d326-4822-a0ab-d38b0d29de61?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/082eb1a3-d326-4822-a0ab-d38b0d29de61?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/082eb1a3-d326-4822-a0ab-d38b0d29de61?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/082eb1a3-d326-4822-a0ab-d38b0d29de61?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/082eb1a3-d326-4822-a0ab-d38b0d29de61?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/082eb1a3-d326-4822-a0ab-d38b0d29de61?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/082eb1a3-d326-4822-a0ab-d38b0d29de61?feedback_type=other)</sup>
Author
Owner

@lichao4Java commented on GitHub (Feb 14, 2025):

Yes, in the latest version of self-hosted Dify 0.15.3, the chat messages API still supports the parent_message_id parameter. It can regenerate the answer based on an already replied answer. The doSend function constructs a data object that includes the parent_message_id, and the doRegenerate function uses this to regenerate the answer by setting the isRegenerate flag to true [1].

To continue talking to Dosu, mention @dosu.

Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

i mean API service. v1/chat-messages endpoint

@lichao4Java commented on GitHub (Feb 14, 2025): > Yes, in the latest version of self-hosted Dify 0.15.3, the chat messages API still supports the `parent_message_id` parameter. It can regenerate the answer based on an already replied answer. The `doSend` function constructs a data object that includes the `parent_message_id`, and the `doRegenerate` function uses this to regenerate the answer by setting the `isRegenerate` flag to true [[1]](https://github.com/langgenius/dify/blob/main/web/app/components/base/chat/chat-with-history/chat-wrapper.tsx). > > _To continue talking to [Dosu](https://dosu.dev), mention [@dosu](https://github.com/dosu)._ > > Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/082eb1a3-d326-4822-a0ab-d38b0d29de61?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/082eb1a3-d326-4822-a0ab-d38b0d29de61?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/082eb1a3-d326-4822-a0ab-d38b0d29de61?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/082eb1a3-d326-4822-a0ab-d38b0d29de61?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/082eb1a3-d326-4822-a0ab-d38b0d29de61?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/082eb1a3-d326-4822-a0ab-d38b0d29de61?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/082eb1a3-d326-4822-a0ab-d38b0d29de61?feedback_type=other) i mean API service. v1/chat-messages endpoint
Author
Owner

@crazywoola commented on GitHub (Feb 14, 2025):

@xuzuodong

@crazywoola commented on GitHub (Feb 14, 2025): @xuzuodong
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#8263