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]

test(test_streaming.py): fix streaming test

Krrish Dholakiaeecd93c81d4c
diff --git a/litellm/tests/test_streaming.py b/litellm/tests/test_streaming.py
index 1b672c67e38..d2eb08cd333 100644
--- a/litellm/tests/test_streaming.py
+++ b/litellm/tests/test_streaming.py
@@ -1729,6 +1729,7 @@ def test_sagemaker_weird_response():
# test_sagemaker_weird_response()
[email protected](reason="Move to being a mock endpoint")
@pytest.mark.asyncio
async def test_sagemaker_streaming_async():
try: