Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

Fix EU AI Act template: add missing category_file path (#21424)

Ishaan Jafff2480f4f37b7
diff --git a/litellm/policy_templates_backup.json b/litellm/policy_templates_backup.json
index ed1b7da3148..6773a8170c3 100644
--- a/litellm/policy_templates_backup.json
+++ b/litellm/policy_templates_backup.json
@@ -790,6 +790,7 @@
"categories": [
{
"category": "eu_ai_act_article5_prohibited_practices",
+ "category_file": "litellm/proxy/guardrails/guardrail_hooks/litellm_content_filter/policy_templates/eu_ai_act_article5.yaml",
"enabled": true,
"action": "BLOCK",
"severity_threshold": "medium"
diff --git a/policy_templates.json b/policy_templates.json
index ed1b7da3148..6773a8170c3 100644
--- a/policy_templates.json
+++ b/policy_templates.json
@@ -790,6 +790,7 @@
"categories": [
{
"category": "eu_ai_act_article5_prohibited_practices",
+ "category_file": "litellm/proxy/guardrails/guardrail_hooks/litellm_content_filter/policy_templates/eu_ai_act_article5.yaml",
"enabled": true,
"action": "BLOCK",
"severity_threshold": "medium"