mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-21 00:21:49 +00:00
docs: replace poetry run with uv run in script instructions
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
92ea8adb3b
commit
3157a8a3ca
2 changed files with 4 additions and 4 deletions
|
|
@ -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"
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue