Skip to content

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

@laipz8200

Description

@laipz8200

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions