fix - supports_vision should not raise Exception

This commit is contained in:
Ishaan Jaff 2024-04-19 21:19:07 -07:00
parent fa14d3c8dc
commit 63805873e7

View file

@ -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):