forked from phoenix/litellm-mirror
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 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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue