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(test): drop the redundant sys.path.insert

Yuneng Jiangba6c9fa61d87
diff --git a/tests/local_testing/test_text_completion.py b/tests/local_testing/test_text_completion.py
index b15037a2fcd..6808dfd768b 100644
--- a/tests/local_testing/test_text_completion.py
+++ b/tests/local_testing/test_text_completion.py
@@ -1,11 +1,7 @@
import asyncio
import json
-import os
-import sys
import traceback
-sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..")))
-
from dotenv import load_dotenv
load_dotenv()