mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 08:58:09 +08:00
[autofix.ci] apply automated fixes
This commit is contained in:
@ -1254,10 +1254,7 @@ class RagPipelineService:
|
||||
if type and type != "all":
|
||||
query = query.where(PipelineRecommendedPlugin.type == type)
|
||||
|
||||
pipeline_recommended_plugins = (
|
||||
query.order_by(PipelineRecommendedPlugin.position.asc())
|
||||
.all()
|
||||
)
|
||||
pipeline_recommended_plugins = query.order_by(PipelineRecommendedPlugin.position.asc()).all()
|
||||
|
||||
if not pipeline_recommended_plugins:
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user