From 5b66cb3864b9c5a5c2b7c72315bc2e86280f4d4d Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Tue, 26 Mar 2024 18:06:49 -0700 Subject: [PATCH] test(test_exceptions.py): handle api instability --- litellm/tests/test_exceptions.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/litellm/tests/test_exceptions.py b/litellm/tests/test_exceptions.py index 311bbfa5716..13ad42b503c 100644 --- a/litellm/tests/test_exceptions.py +++ b/litellm/tests/test_exceptions.py @@ -85,6 +85,8 @@ def test_context_window_with_fallbacks(model): ) except litellm.ServiceUnavailableError as e: pass + except litellm.APIConnectionError as e: + pass # for model in litellm.models_by_provider["bedrock"]: