dify - 💡(How to fix) Fix Add support for editing user messages and regenerating responses in Advanced Chat App API [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
langgenius/dify#36395Fetched 2026-05-20 04:00:16
View on GitHub
Comments
0
Participants
1
Timeline
1
Reactions
2
Participants
Timeline (top)
labeled ×1

Root Cause

I am developing a custom UI and API integration around Dify Advanced Chat Apps because I require additional customization and access control capabilities beyond the out-of-box UI.

RAW_BUFFERClick to expand / collapse

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 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.

I am developing a custom UI and API integration around Dify Advanced Chat Apps because I require additional customization and access control capabilities beyond the out-of-box UI.

During implementation, I identified a limitation in the Advanced Chat App API: there is currently no supported way to edit previously sent user messages and regenerate assistant responses based on the updated input.

In practical usage, users often:

  • correct typos,
  • refine prompts,
  • add missing context,
  • adjust requests after reviewing the generated response.

At the moment, the only available approach is to send additional follow-up messages or restart the conversation. This can make conversations harder to manage and may increase duplicated context and token usage.

For custom chat frontends and API integrations built on top of Dify APIs, support for message editing and response regeneration would help provide a smoother conversational experience and simplify client-side implementation logic.

The expected workflow would be:

  1. Update an existing user message.
  2. Regenerate assistant responses starting from the edited message.
  3. Preserve the conversation structure while replacing outdated downstream responses.

This functionality would significantly improve usability for custom chat interfaces and API-based integrations.

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

dify - 💡(How to fix) Fix Add support for editing user messages and regenerating responses in Advanced Chat App API [1 participants]