Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Edit Sent Messages Like ChatGPT #13110

Open
4 of 5 tasks
tsuda-haruni opened this issue Jan 30, 2025 · 2 comments
Open
4 of 5 tasks

Feature Request: Edit Sent Messages Like ChatGPT #13110

tsuda-haruni opened this issue Jan 30, 2025 · 2 comments
Labels
💪 enhancement New feature or request

Comments

@tsuda-haruni
Copy link

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.

Description:
Currently, Dify does not provide a way to edit sent messages, unlike ChatGPT. This feature is useful for correcting typos, rephrasing questions, or refining prompts without needing to resend a new message.

Expected Behavior

  • Users should be able to edit their last message.
  • Upon editing, the response should be regenerated based on the new message.
  • The chat history should reflect the updated message instead of creating a new entry.

Why This is Important

  • Enhances usability by reducing the need for redundant messages.
  • Helps users refine their prompts dynamically.
  • Improves the overall user experience, similar to how ChatGPT handles message edits.

Additional Context

Many AI chat interfaces, including OpenAI's ChatGPT, allow users to edit their previous messages. Implementing a similar feature in Dify would make it more user-friendly and efficient.

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
@dosubot dosubot bot added the 💪 enhancement New feature or request label Jan 30, 2025
@crazywoola
Copy link
Member

@xuzuodong is interested in doing this feature. :)

@xuzuodong
Copy link
Contributor

Will start implementing this after spring festival holidays 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💪 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants