langgenius / langgenius/dify

Human input does not show response text from LLM

Open
#37,588 4 comments 1 reaction 0 assignees View on GitHub
🐞 bug 1.14.0 project#dify
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:

Image

Run App and write prompt, eg:

Image

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:

Image

Regenerate in progress...:

Image

After regenerate:

Image

When you regenerate and switch answer version to the first:

Image

When you regenerate and switch to the second version of answer:

Image

When you return to this browser tab after 10 minutes:

Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.