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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
test: update test to handle rate limit error
Krrish Dholakia7934610f632c
diff --git a/tests/image_gen_tests/test_image_generation.py b/tests/image_gen_tests/test_image_generation.pyindex 21f96095a7c..885df94e19e 100644--- a/tests/image_gen_tests/test_image_generation.py+++ b/tests/image_gen_tests/test_image_generation.py@@ -207,6 +207,8 @@ def test_image_generation_azure_dall_e_3():pass # OpenAI randomly raises these errors - skip when they occurexcept litellm.InternalServerError:pass+ except litellm.RateLimitError as e:+ passexcept Exception as e:if "Your task failed as a result of our safety system." in str(e):pass