From fa859b22fd12aa140222ee30c5d002c09bad3d48 Mon Sep 17 00:00:00 2001 From: Andrei Petraru Date: Mon, 3 Aug 2026 19:45:58 +0300 Subject: [PATCH] docs(guardrails): drop the stale connection-id line from the BYOG middleware MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit AL-510 removed `connection_id` from `UiPathByoGuardrailMiddleware` — the signature, the example, and the `Args` entry all went — but the class docstring's opening paragraph still told readers the middleware references the configuration "by its validator name and (recommended) Integration Service connection id". `git blame` puts that line on 7f4315f8, before the removal; it now contradicts the `Args` block a few lines below it ("resolved server-side") and describes a parameter the constructor no longer accepts. Reword it to match the wording already used by the core `ByoValidator` docstring: the name is unique per tenant and the connection is resolved server-side from the configuration, so an admin rebind is always honored. Docstring only — no signature or behavior change. --- src/uipath_langchain/guardrails/middlewares/byo.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/uipath_langchain/guardrails/middlewares/byo.py b/src/uipath_langchain/guardrails/middlewares/byo.py index dacc61c46..39cb69272 100644 --- a/src/uipath_langchain/guardrails/middlewares/byo.py +++ b/src/uipath_langchain/guardrails/middlewares/byo.py @@ -33,8 +33,10 @@ class UiPathByoGuardrailMiddleware(BuiltInGuardrailMiddlewareMixin): content-safety subscription, a vendor validation service, or a custom Integration Service connector) into UiPath guardrails. An admin first creates the configuration under ``Admin -> AI Trust Layer -> Guardrails - Configurations``; this middleware then references it by its validator name - and (recommended) Integration Service connection id. + Configurations``; this middleware then references it purely by its validator + name, which is unique per tenant. The Integration Service connection to use + is resolved server-side from the configuration, so an admin rebind is always + honored. Example: ```python