mirror of https://github.com/langgenius/dify.git
add dataset info in response (#21406)
This commit is contained in:
parent
2467bd738a
commit
973b3854b4
|
|
@ -297,7 +297,7 @@ class DatasetDocumentListApi(Resource):
|
|||
except ModelCurrentlyNotSupportError:
|
||||
raise ProviderModelCurrentlyNotSupportError()
|
||||
|
||||
return {"documents": documents, "batch": batch}
|
||||
return {"dataset": dataset, "documents": documents, "batch": batch}
|
||||
|
||||
@setup_required
|
||||
@login_required
|
||||
|
|
|
|||
Loading…
Reference in New Issue