diff --git a/libs/community/langchain_community/chat_models/litellm.py b/libs/community/langchain_community/chat_models/litellm.py index cb6a2107d34eb..39f7284c3b5ac 100644 --- a/libs/community/langchain_community/chat_models/litellm.py +++ b/libs/community/langchain_community/chat_models/litellm.py @@ -246,8 +246,8 @@ def validate_environment(cls, values: Dict) -> Dict: import litellm except ImportError: raise ChatLiteLLMException( - "Could not import google.generativeai python package. " - "Please install it with `pip install google-generativeai`" + "Could not import litellm python package. " + "Please install it with `pip install litellm`" ) values["openai_api_key"] = get_from_dict_or_env(