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]

build(test_completion.py): ci/cd run again

Krrish Dholakia177f670c7d93
diff --git a/litellm/tests/test_completion.py b/litellm/tests/test_completion.py
index c4426a24328..4d1459bced3 100644
--- a/litellm/tests/test_completion.py
+++ b/litellm/tests/test_completion.py
@@ -1819,6 +1819,7 @@ def tgi_mock_post(url, data=None, json=None, headers=None):
def test_hf_test_completion_tgi():
litellm.set_verbose = True
try:
+
with patch("requests.post", side_effect=tgi_mock_post) as mock_client:
response = completion(
model="huggingface/HuggingFaceH4/zephyr-7b-beta",