From 92e7642bb30d7c0ee4a4fac781bc396b77eca685 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 3 Sep 2026 16:22:01 +0800 Subject: [PATCH] =?UTF-8?q?feat(platform):=20apply=5Fllm=5Fconfig=E6=96=B0?= =?UTF-8?q?=E5=BB=BA=E4=BE=9B=E5=BA=94=E5=95=86=E6=94=B9=E7=94=A8ctx.org?= =?UTF-8?q?=5Fid=E2=80=94=E2=80=94=E4=B8=8D=E5=86=8D=E7=A1=AC=E7=BC=96?= =?UTF-8?q?=E7=A0=810,=E8=B7=9F=E9=9A=8F=E6=93=8D=E4=BD=9C=E8=80=85?= =?UTF-8?q?=E6=9C=BA=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pipeline_platform/platform_ability.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipeline_platform/platform_ability.py b/pipeline_platform/platform_ability.py index 93a9baf..ade9a13 100644 --- a/pipeline_platform/platform_ability.py +++ b/pipeline_platform/platform_ability.py @@ -344,7 +344,7 @@ async def _h_apply_llm_config(sor, params, ctx): "id": vendor_id, "name": vendor_name, "protocol": protocol, "endpoints": json.dumps(eps_norm, ensure_ascii=False), "description": spec.get("doc_notes", "") or "", - "status": "active", "org_id": "0"}) + "status": "active", "org_id": ctx.get("org_id", "") or "0"}) vendor_action = "新建供应商 %s(%s)" % (vendor_id, vendor_name) # 2. 适配模板:按 (协议×能力) 复用,缺则新建