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 azure gpt-4o test

Ishaan Jaffb54bbf510e45
diff --git a/litellm/tests/test_completion.py b/litellm/tests/test_completion.py
index 42cd625ee33..13bc92156e8 100644
--- a/litellm/tests/test_completion.py
+++ b/litellm/tests/test_completion.py
@@ -935,6 +935,9 @@ def test_completion_base64(model):
print(f"\nResponse: {resp}")
prompt_tokens = resp.usage.prompt_tokens
+ except litellm.ServiceUnavailableError as e:
+ print("got service unavailable error: ", e)
+ pass
except Exception as e:
if "500 Internal error encountered.'" in str(e):
pass