Human input does not show response text from LLM
- Dominant language
- TypeScript
- Stars
- 156k
- Forks
- 24.6k
- Avg merge
- 22h 9m
- Merged PRs (30d)
- 610
Description
### Self Checks
- [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542).
- [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, otherwise it will be closed.
- [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
- [x] Please do not modify this template :) and fill in all the required fields.
### Dify version
1.14.2
### Cloud or Self Hosted
Self Hosted (Docker)
### Steps to reproduce
Checked in the Chrome and Edge browsers.
Add a chatflow with nodes:
1. User Input
2. LLM
3. Human Input: add llm text answer to `Form Content` in the node
4. Answer
eg:
Run App and write prompt, eg:
Now we can see the answer, but it will disappear. To show the disappearing answer bug in the Human Input node there are 2 ways (as far as I know):
1. Change the browser tab and come back to this App after ~ 10 minutes.
OR
2. Regenerate the answer, change answer to the first and next change to the second. Now both answers disappeared and we can see the `{{#llm.text#}}` placeholder instead.
### ✔️ Expected Behavior
1. Human input should refresh the last displayed text when you return after a few minutes to browser tab with the chat.
2. Human input should provide the ability to switch between response versions.
### ❌ Actual Behavior
Before regenerate:
Regenerate in progress...:
After regenerate:
When you regenerate and switch answer version to the first:
When you regenerate and switch to the second version of answer:
When you return to this browser tab after 10 minutes:
Contributor guide
Assessment
This issue has not been assessed yet.