From 2f54965a7286b22dec1d6b2d9f95e74b080a34be Mon Sep 17 00:00:00 2001 From: FFXN Date: Tue, 16 Dec 2025 10:43:45 +0800 Subject: [PATCH] Add "type" field to PipelineRecommendedPlugin model; Add query param "type" to recommended-plugins api. --- .../console/datasets/rag_pipeline/rag_pipeline_workflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/controllers/console/datasets/rag_pipeline/rag_pipeline_workflow.py b/api/controllers/console/datasets/rag_pipeline/rag_pipeline_workflow.py index 602c24d3b8..f0e78488d1 100644 --- a/api/controllers/console/datasets/rag_pipeline/rag_pipeline_workflow.py +++ b/api/controllers/console/datasets/rag_pipeline/rag_pipeline_workflow.py @@ -997,7 +997,7 @@ class RagPipelineDatasourceVariableApi(Resource): ) return workflow_node_execution - +from flask_restx import reqparse @console_ns.route("/rag/pipelines/recommended-plugins") class RagPipelineRecommendedPluginApi(Resource): @setup_required