mirror of
https://github.com/langgenius/dify.git
synced 2025-06-27 05:30:04 +00:00
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…
x
Reference in New Issue
Block a user