From 5069f95baedba81565d93938e7ebb8923ea85aaa Mon Sep 17 00:00:00 2001 From: Ishaan Jaffer Date: Mon, 16 Feb 2026 15:44:37 -0800 Subject: [PATCH] feat: add policy_template field to Guardrail config TypedDict --- litellm/types/guardrails.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litellm/types/guardrails.py b/litellm/types/guardrails.py index 74ccb34ca6e..7b95514637e 100644 --- a/litellm/types/guardrails.py +++ b/litellm/types/guardrails.py @@ -731,6 +731,7 @@ class Guardrail(TypedDict, total=False): guardrail_name: Required[str] litellm_params: Required[LitellmParams] guardrail_info: Optional[Dict] + policy_template: Optional[str] created_at: Optional[datetime] updated_at: Optional[datetime]