query_prompt_template should be contained in the LLM node data by default. #6911

Closed
opened 2026-02-21 18:17:55 -05:00 by yindo · 1 comment
Owner

Originally created by @laipz8200 on GitHub (Nov 24, 2024).

Originally assigned to: @iamjoel on GitHub.

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.

Currently, after creating a new chatflow, we do not include the query_prompt_template in the LLM node data until it is edited:

image

We need to include this part of the data once the File variable is supported in the prompt template.

The expected structure of the data should be:

image

2. Additional context or comments

This issue won't cause an error after #11031 is merged, but we still need to fix it.

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @laipz8200 on GitHub (Nov 24, 2024). Originally assigned to: @iamjoel on GitHub. ### Self Checks - [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. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. Currently, after creating a new chatflow, we do not include the query_prompt_template in the LLM node data until it is edited: <img width="1794" alt="image" src="https://github.com/user-attachments/assets/dfd42a2a-67ab-4dc4-aea7-b37821c32a10"> We need to include this part of the data once the File variable is supported in the prompt template. The expected structure of the data should be: <img width="952" alt="image" src="https://github.com/user-attachments/assets/7a223ae9-b0d3-483c-a270-70ea99708692"> ### 2. Additional context or comments This issue won't cause an error after #11031 is merged, but we still need to fix it. ### 3. Can you help us with this feature? - [ ] I am interested in contributing to this feature.
yindo added the 💪 enhancement label 2026-02-21 18:17:55 -05:00
yindo closed this issue 2026-02-21 18:17:55 -05:00
Author
Owner

@laipz8200 commented on GitHub (Nov 26, 2024):

Still got blank content when I close and reopen memory:
image

@laipz8200 commented on GitHub (Nov 26, 2024): Still got blank content when I close and reopen memory: <img width="1385" alt="image" src="https://github.com/user-attachments/assets/347cada5-1c02-40b9-92f8-62df1607f33b">
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#6911