mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
fix - supports_vision should not raise Exception
This commit is contained in:
parent
fa14d3c8dc
commit
63805873e7
1 changed files with 1 additions and 3 deletions
|
@ -4207,9 +4207,7 @@ def supports_vision(model: str):
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
raise Exception(
|
return False
|
||||||
f"Model not in model_prices_and_context_window.json. You passed model={model}."
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
def supports_parallel_function_calling(model: str):
|
def supports_parallel_function_calling(model: str):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue