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: handle fireworks ai instability
Krrish Dholakiaec52600f98be
diff --git a/tests/local_testing/test_embedding.py b/tests/local_testing/test_embedding.pyindex a153b2b02d0..a92421df19e 100644--- a/tests/local_testing/test_embedding.py+++ b/tests/local_testing/test_embedding.py@@ -806,6 +806,10 @@ def test_fireworks_embeddings():assert cost > 0.0print(response._hidden_params)assert response._hidden_params["response_cost"] > 0.0+ except litellm.RateLimitError as e:+ pass+ except litellm.InternalServerError as e:+ passexcept Exception as e:pytest.fail(f"Error occurred: {e}")