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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
test: use __file__-relative sys.path for stable test imports
michelligabrieleb0c317e6d06d
diff --git a/tests/test_litellm/proxy/test_model_level_guardrails.py b/tests/test_litellm/proxy/test_model_level_guardrails.pyindex f83ac8e59e2..d595b221328 100644--- a/tests/test_litellm/proxy/test_model_level_guardrails.py+++ b/tests/test_litellm/proxy/test_model_level_guardrails.py@@ -12,7 +12,7 @@ import sysimport pytestfrom unittest.mock import MagicMock, patch-sys.path.insert(0, os.path.abspath("../../.."))+sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "../../..")))from litellm.proxy.utils import (_check_and_merge_model_level_guardrails,