Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
chore: remove commented-out reqparse code from rag_pipeline_workflow (#34860)
NVIDIANb8858708be1f
diff --git a/api/controllers/console/datasets/rag_pipeline/rag_pipeline_workflow.py b/api/controllers/console/datasets/rag_pipeline/rag_pipeline_workflow.pyindex 6c02646c22b..a8077d9eb0b 100644--- a/api/controllers/console/datasets/rag_pipeline/rag_pipeline_workflow.py+++ b/api/controllers/console/datasets/rag_pipeline/rag_pipeline_workflow.py@@ -346,89 +346,6 @@ class PublishedRagPipelineRunApi(Resource):raise InvokeRateLimitHttpError(ex.description)-# class RagPipelinePublishedDatasourceNodeRunStatusApi(Resource):-# @setup_required-# @login_required-# @account_initialization_required-# @get_rag_pipeline-# def post(self, pipeline: Pipeline, node_id: str):-# """-# Run rag pipeline datasource-# """-# # The role of the current user in the ta table must be admin, owner, or editor-# if not current_user.has_edit_permission:-# raise Forbidden()-#-# if not isinstance(current_user, Account):-# raise Forbidden()-#-# parser = (reqparse.RequestParser()-# .add_argument("job_id", type=str, required=True, nullable=False, location="json")-# .add_argument("datasource_type", type=str, required=True, location="json")-# )-# args = parser.parse_args()-#-# job_id = args.get("job_id")-# if job_id == None:-# raise ValueError("missing job_id")-# datasource_type = args.get("datasource_type")-# if datasource_type == None:-# raise ValueError("missing datasource_type")-#-# rag_pipeline_service = RagPipelineService()-# result = rag_pipeline_service.run_datasource_workflow_node_status(-# pipeline=pipeline,-# node_id=node_id,-# job_id=job_id,-# account=current_user,-# datasource_type=datasource_type,-# is_published=True-# )-#-# return result---# class RagPipelineDraftDatasourceNodeRunStatusApi(Resource):-# @setup_required-# @login_required-# @account_initialization_required-# @get_rag_pipeline-# def post(self, pipeline: Pipeline, node_id: str):-# """-# Run rag pipeline datasource-# """-# # The role of the current user in the ta table must be admin, owner, or editor-# if not current_user.has_edit_permission:-# raise Forbidden()-#-# if not isinstance(current_user, Account):-# raise Forbidden()-#-# parser = (reqparse.RequestParser()-# .add_argument("job_id", type=str, required=True, nullable=False, location="json")-# .add_argument("datasource_type", type=str, required=True, location="json")-# )-# args = parser.parse_args()-#-# job_id = args.get("job_id")-# if job_id == None:-# raise ValueError("missing job_id")-# datasource_type = args.get("datasource_type")-# if datasource_type == None:-# raise ValueError("missing datasource_type")-#-# rag_pipeline_service = RagPipelineService()-# result = rag_pipeline_service.run_datasource_workflow_node_status(-# pipeline=pipeline,-# node_id=node_id,-# job_id=job_id,-# account=current_user,-# datasource_type=datasource_type,-# is_published=False-# )-#-# return result-#@console_ns.route("/rag/pipelines/<uuid:pipeline_id>/workflows/published/datasource/nodes/<string:node_id>/run")class RagPipelinePublishedDatasourceNodeRunApi(Resource):@console_ns.expect(console_ns.models[DatasourceNodeRunPayload.__name__])