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: add retry on flaky test
Krrish Dholakiaaaa8c7caf09c
diff --git a/tests/llm_translation/base_llm_unit_tests.py b/tests/llm_translation/base_llm_unit_tests.pyindex cde016125be..028a02535f8 100644--- a/tests/llm_translation/base_llm_unit_tests.py+++ b/tests/llm_translation/base_llm_unit_tests.py@@ -138,6 +138,7 @@ class BaseLLMChatTest(ABC):except litellm.InternalServerError:pytest.skip("Model is overloaded")+ @pytest.mark.flaky(retries=6, delay=1)def test_json_response_format_stream(self):"""Test that the JSON response format with streaming is supported by the LLM API