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]

Update IBM Guardrails implementation to correctly registrer SSL Verify argument (#15975)

Rob Geada49b9bd3cada5
diff --git a/litellm/proxy/guardrails/guardrail_hooks/ibm_guardrails/ibm_detector.py b/litellm/proxy/guardrails/guardrail_hooks/ibm_guardrails/ibm_detector.py
index 8a6b6d73978..e7e5beb0dba 100644
--- a/litellm/proxy/guardrails/guardrail_hooks/ibm_guardrails/ibm_detector.py
+++ b/litellm/proxy/guardrails/guardrail_hooks/ibm_guardrails/ibm_detector.py
@@ -46,7 +46,8 @@ class IBMGuardrailDetector(CustomGuardrail):
**kwargs,
):
self.async_handler = get_async_httpx_client(
- llm_provider=httpxSpecialProvider.GuardrailCallback
+ llm_provider=httpxSpecialProvider.GuardrailCallback,
+ params={"ssl_verify": verify_ssl}
)
# Set API configuration