fix(vertex_ai.py): raise explicit error when image url fails to download - prevents silent failure

This commit is contained in:
Krrish Dholakia 2024-04-24 09:23:15 -07:00
parent f800ebc3c1
commit b918f58262
2 changed files with 6 additions and 4 deletions

View file

@ -5930,6 +5930,7 @@ def get_llm_provider(
or model in litellm.vertex_code_text_models
or model in litellm.vertex_language_models
or model in litellm.vertex_embedding_models
or model in litellm.vertex_vision_models
):
custom_llm_provider = "vertex_ai"
## ai21