The content of the input variable is lost. #13230

Closed
opened 2026-02-21 19:11:11 -05:00 by yindo · 1 comment
Owner

Originally created by @CCP7 on GitHub (Apr 22, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • 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.

Dify version

1.2

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

The input content is automatically cleared after the first input content is replied by the LLM. How can I retain my input content?

Image

Image

✔️ Expected Behavior

Keep what you entered

Actual Behavior

The input content has been cleared.

Originally created by @CCP7 on GitHub (Apr 22, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [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. ### Dify version 1.2 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce The input content is automatically cleared after the first input content is replied by the LLM. How can I retain my input content? ![Image](https://github.com/user-attachments/assets/527ebdc8-9d3c-49a1-8d05-2e83825afb8c) ![Image](https://github.com/user-attachments/assets/36870473-44a8-4f52-925a-8bd53b01896a) ### ✔️ Expected Behavior Keep what you entered ### ❌ Actual Behavior The input content has been cleared.
yindo added the 🐞 bug label 2026-02-21 19:11:11 -05:00
yindo closed this issue 2026-02-21 19:11:11 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Apr 22, 2025):

Hello @CCP7! I'm Dosu, your friendly bot here to help you with bug fixes, answer questions, and assist you in contributing. I'm here to support you while we wait for a human maintainer. Let's tackle your issue together!

I found a similar unsolved discussion titled "Help My text keeps getting deleted" which might be related to your issue [1].

Regarding your issue, there are no specific configuration settings in the Dify codebase that control whether input content is retained or cleared after a response. However, there was a known issue in previous versions where input content remained static and could not be updated in subsequent rounds when using a conversation_id. This was resolved in a recent update (PR #7955) [2].

Since you are using version 1.2, ensure that your setup includes the latest updates and fixes. If the problem persists, it might be worth checking if there are any custom configurations or scripts in your setup that could be affecting the input field behavior.

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 (Apr 22, 2025): <!-- Greeting --> Hello @CCP7! I'm [Dosu](https://dosu.dev), your friendly bot here to help you with bug fixes, answer questions, and assist you in contributing. I'm here to support you while we wait for a human maintainer. Let's tackle your issue together! <!-- Answer --> I found a similar unsolved discussion titled "[Help My text keeps getting deleted](https://github.com/langgenius/dify/discussions/9499)" which might be related to your issue <sup>[[1]](https://github.com/langgenius/dify/discussions/9499)</sup>. Regarding your issue, there are no specific configuration settings in the Dify codebase that control whether input content is retained or cleared after a response. However, there was a known issue in previous versions where input content remained static and could not be updated in subsequent rounds when using a `conversation_id`. This was resolved in a recent update (PR #7955) <sup>[[2]](https://github.com/langgenius/dify/issues/13588)</sup>. Since you are using version 1.2, ensure that your setup includes the latest updates and fixes. If the problem persists, it might be worth checking if there are any custom configurations or scripts in your setup that could be affecting the input field behavior. <!-- 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/2d128235-febe-4fea-b6d9-f3e2fc399040?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/2d128235-febe-4fea-b6d9-f3e2fc399040?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/2d128235-febe-4fea-b6d9-f3e2fc399040?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/2d128235-febe-4fea-b6d9-f3e2fc399040?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/2d128235-febe-4fea-b6d9-f3e2fc399040?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/2d128235-febe-4fea-b6d9-f3e2fc399040?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/2d128235-febe-4fea-b6d9-f3e2fc399040?feedback_type=other)</sup>
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#13230