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]

respond to review comments

Ariel Fogel59c3aa02c353
diff --git a/tests/guardrails_tests/test_pillar_guardrails.py b/tests/test_litellm/proxy/guardrails/test_pillar_guardrails.py
similarity index 99%
rename from tests/guardrails_tests/test_pillar_guardrails.py
rename to tests/test_litellm/proxy/guardrails/test_pillar_guardrails.py
index 31f257c94f9..67030a8161f 100644
--- a/tests/guardrails_tests/test_pillar_guardrails.py
+++ b/tests/test_litellm/proxy/guardrails/test_pillar_guardrails.py
@@ -11,6 +11,9 @@ import sys
from typing import Dict
from unittest.mock import Mock, patch
+# Add parent directory to path for imports
+sys.path.insert(0, os.path.abspath("../../.."))
+
# Third-party imports
import pytest
from fastapi.exceptions import HTTPException
@@ -27,9 +30,6 @@ from litellm.proxy.guardrails.guardrail_hooks.pillar import (
)
from litellm.proxy.guardrails.init_guardrails import init_guardrails_v2
-# Add parent directory to path for imports
-sys.path.insert(0, os.path.abspath("../.."))
-
# ============================================================================
# FIXTURES