From 0bc3587a7548c4ef77db22c98c6f68e6299be0bb Mon Sep 17 00:00:00 2001 From: ymq Date: Sun, 16 Aug 2026 18:04:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20generic=E6=A8=A1=E5=BC=8F=E4=BC=A0generi?= =?UTF-8?q?c=E7=BB=99load=5Fagent=5Fconfig(=E7=9C=9F=E4=B8=8D=E8=A3=85?= =?UTF-8?q?=E4=BA=A7=E7=BA=BF=E8=83=BD=E5=8A=9B)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pipeline_service/gateway.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)