You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add validation to require opening statement when suggestion questions are configured #27842
I confirm that I am using English to submit this report, otherwise it will be closed.
【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
Please do not modify this template :) and fill in all the required fields.
Dify version
main
Cloud or Self Hosted
Self Hosted (Source)
Steps to reproduce
Open the Basic App (Chat App or Agent App) settings
Navigate to the opening statement configuration modal
Leave the "Opening Statement" field empty (the field with less prominent border color)
Add one or more "Suggestion Questions" in the options below
Save and publish the configuration
Check the chat interface
✔️ Expected Behavior
The system should validate that an opening statement is required when suggestion questions are configured
Users should receive a clear error message indicating that opening statement cannot be empty when suggestion questions are present
The save/publish action should be blocked until the opening statement is filled in
❌ Actual Behavior
Users can save the configuration with only suggestion questions filled in and opening statement left empty.
The suggestion questions do not appear in the chat interface because the opening statement is empty
Activity