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]

docs: replace poetry run with uv run in script instructions

Yujong Lee3157a8a3ca14
diff --git a/scripts/test_tool_allowlist_script.py b/scripts/test_tool_allowlist_script.py
index 9503a21219c..f94aac60f80 100644
--- a/scripts/test_tool_allowlist_script.py
+++ b/scripts/test_tool_allowlist_script.py
@@ -3,10 +3,10 @@
Standalone script to test tool allowlist enforcement and tool name extraction.
Run from repo root:
- poetry run python scripts/test_tool_allowlist_script.py
+ uv run python scripts/test_tool_allowlist_script.py
Or run the unit tests:
- poetry run pytest tests/test_litellm/proxy/test_tools_allowlist_enforcement.py -v
+ uv run pytest tests/test_litellm/proxy/test_tools_allowlist_enforcement.py -v
"""
import asyncio
@@ -148,7 +148,7 @@ def main():
asyncio.run(test_check_tools_allowlist())
print("Done. For full unit tests run:")
print(
- " poetry run pytest tests/test_litellm/proxy/test_tools_allowlist_enforcement.py -v"
+ " uv run pytest tests/test_litellm/proxy/test_tools_allowlist_enforcement.py -v"
)
diff --git a/tests/test_litellm/test_utils.py b/tests/test_litellm/test_utils.py
index 5adfb2aea4c..2fda5dfc490 100644
--- a/tests/test_litellm/test_utils.py
+++ b/tests/test_litellm/test_utils.py
@@ -1060,7 +1060,7 @@ def test_max_tokens_consistency():
if len(inconsistencies) > 10:
error_msg += f"\n ... and {len(inconsistencies) - 10} more\n"
- error_msg += "\nTo fix these inconsistencies, run: poetry run python fix_max_tokens_inconsistencies.py"
+ error_msg += "\nTo fix these inconsistencies, run: uv run python fix_max_tokens_inconsistencies.py"
raise AssertionError(error_msg)