mirror of
https://github.com/langgenius/dify.git
synced 2026-03-18 21:29:53 +08:00
[autofix.ci] apply automated fixes
This commit is contained in:
@ -1338,6 +1338,7 @@ class DocumentGenerateSummaryApi(Resource):
|
||||
|
||||
if not document_list:
|
||||
from werkzeug.exceptions import BadRequest
|
||||
|
||||
raise BadRequest("document_list cannot be empty.")
|
||||
|
||||
# Check if dataset configuration supports summary generation
|
||||
|
||||
Reference in New Issue
Block a user