From 63805873e7e65d8a8609bfc5a5ea019f98ad7b93 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Fri, 19 Apr 2024 21:19:07 -0700 Subject: [PATCH] fix - supports_vision should not raise Exception --- litellm/utils.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/litellm/utils.py b/litellm/utils.py index 1f23fac981..e230675e68 100644 --- a/litellm/utils.py +++ b/litellm/utils.py @@ -4207,9 +4207,7 @@ def supports_vision(model: str): return True return False else: - raise Exception( - f"Model not in model_prices_and_context_window.json. You passed model={model}." - ) + return False def supports_parallel_function_calling(model: str):