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 sagemaker old used test

Ishaan Jaffa614c9f52544
diff --git a/litellm/tests/test_streaming.py b/litellm/tests/test_streaming.py
index 025ea812009..3f423318792 100644
--- a/litellm/tests/test_streaming.py
+++ b/litellm/tests/test_streaming.py
@@ -1683,6 +1683,7 @@ def test_completion_bedrock_mistral_stream():
pytest.fail(f"Error occurred: {e}")
[email protected](reason="stopped using TokenIterator")
def test_sagemaker_weird_response():
"""
When the stream ends, flush any remaining holding chunks.