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 replicate to foreign server without PDPA

Sameer Kankute044639fdda35
diff --git a/litellm/proxy/guardrails/guardrail_hooks/litellm_content_filter/policy_templates/sg_pdpa_data_transfer.yaml b/litellm/proxy/guardrails/guardrail_hooks/litellm_content_filter/policy_templates/sg_pdpa_data_transfer.yaml
index 18cdde80bcd..bfa5e843401 100644
--- a/litellm/proxy/guardrails/guardrail_hooks/litellm_content_filter/policy_templates/sg_pdpa_data_transfer.yaml
+++ b/litellm/proxy/guardrails/guardrail_hooks/litellm_content_filter/policy_templates/sg_pdpa_data_transfer.yaml
@@ -16,6 +16,8 @@ identifier_words:
- "SG resident data"
- "PDPA data"
- "Singapore employee data"
+ # PDPA alone implies Singapore regulatory context
+ - "PDPA"
additional_block_words:
# Transfer actions
diff --git a/litellm/proxy/guardrails/guardrail_hooks/litellm_content_filter/policy_templates/sg_pdpa_profiling_automated_decisions.yaml b/litellm/proxy/guardrails/guardrail_hooks/litellm_content_filter/policy_templates/sg_pdpa_profiling_automated_decisions.yaml
index 05578641c15..3d95105bb3a 100644
--- a/litellm/proxy/guardrails/guardrail_hooks/litellm_content_filter/policy_templates/sg_pdpa_profiling_automated_decisions.yaml
+++ b/litellm/proxy/guardrails/guardrail_hooks/litellm_content_filter/policy_templates/sg_pdpa_profiling_automated_decisions.yaml
@@ -69,7 +69,7 @@ always_block_keywords:
exceptions:
- "human in the loop"
- "human review"
- - "human oversight"
+ - "with human oversight"
- "appeals process"
- "explainability"
- "fairness audit"