diff --git a/pipeline_service/gateway.py b/pipeline_service/gateway.py index 7735318..2e7a2c9 100644 --- a/pipeline_service/gateway.py +++ b/pipeline_service/gateway.py @@ -135,9 +135,9 @@ class Gateway: sess.project_name = ctx["name"] sess.updated_at = now - # 3. 加载产线能力 + 创建 executor + # 3. 加载产线能力 + 创建 executor(generic 时不装产线能力) config = await load_agent_config( - pipeline_id=ctx["pipeline_id"], project_id=ctx["pid"]) + pipeline_id=ctx["pipeline_id"], project_id=ctx["pid"], generic=generic) executor = AgentExecutor( config=config, project_id=ctx["pid"], user_id=user_id, role=role)