diff --git a/litellm/proxy/guardrails/guardrail_hooks/litellm_content_filter/guardrail_benchmarks/test_eval.py b/litellm/proxy/guardrails/guardrail_hooks/litellm_content_filter/guardrail_benchmarks/test_eval.py index 212b7f49c2f..07a18096060 100644 --- a/litellm/proxy/guardrails/guardrail_hooks/litellm_content_filter/guardrail_benchmarks/test_eval.py +++ b/litellm/proxy/guardrails/guardrail_hooks/litellm_content_filter/guardrail_benchmarks/test_eval.py @@ -59,7 +59,7 @@ def _run(checker, text: str) -> dict: return {"decision": "ALLOW", "score": 0.0, "matched_topic": None} except HTTPException as e: if e.status_code == 403: - detail: dict[str, Any] = e.detail if isinstance(e.detail, dict) else {} + detail: Dict[str, Any] = e.detail if isinstance(e.detail, dict) else {} return { "decision": "BLOCK", "score": detail.get("score", 1.0),