From 1dc8053ca2cb72b3881a8d7e86b9c3e3a628022e Mon Sep 17 00:00:00 2001 From: yucheng Date: Sat, 26 Sep 2026 08:37:18 +0000 Subject: [PATCH] refactor(guardrails): append authority_host after the existing Agent365Guardrail parameters Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- litellm/proxy/guardrails/guardrail_hooks/agent_365/agent_365.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/proxy/guardrails/guardrail_hooks/agent_365/agent_365.py b/litellm/proxy/guardrails/guardrail_hooks/agent_365/agent_365.py index 3d057c329fc..fc44d2c7532 100644 --- a/litellm/proxy/guardrails/guardrail_hooks/agent_365/agent_365.py +++ b/litellm/proxy/guardrails/guardrail_hooks/agent_365/agent_365.py @@ -157,10 +157,10 @@ class Agent365Guardrail(CustomGuardrail): api_base: str = AGENT_365_PROD_API_BASE, resource_app_id: str = AGENT_365_PROD_RESOURCE_APP_ID, agent_id: str | None = None, - authority_host: str = AGENT_365_DEFAULT_AUTHORITY_HOST, request_timeout: float = 10.0, unreachable_fallback: Literal["fail_closed", "fail_open"] = "fail_closed", async_handler: AsyncHTTPHandler | None = None, + authority_host: str = AGENT_365_DEFAULT_AUTHORITY_HOST, **kwargs, # noqa: ANN003 # kwargs-ok: forwarded verbatim to CustomGuardrail (event_hook, default_on) ) -> None: super().__init__(