mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-08 02:24:54 +00:00
fix - supports_vision should not raise Exception
This commit is contained in:
+1
-3
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user