fix(vertex_httpx.py): Change non-blocking vertex error to warning

Fixes https://github.com/BerriAI/litellm/issues/4825
This commit is contained in:
Krrish Dholakia 2024-07-22 14:00:33 -07:00
parent a32a7af215
commit 2f65c950fe

View file

@ -1033,7 +1033,7 @@ class VertexLLM(BaseLLM):
model=model, custom_llm_provider=_custom_llm_provider model=model, custom_llm_provider=_custom_llm_provider
) )
except Exception as e: except Exception as e:
verbose_logger.error( verbose_logger.warning(
"Unable to identify if system message supported. Defaulting to 'False'. Received error message - {}\nAdd it here - https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json".format( "Unable to identify if system message supported. Defaulting to 'False'. Received error message - {}\nAdd it here - https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json".format(
str(e) str(e)
) )