community[patch]: Fix error message when litellm is not installed (#16316)

The error message was mentioning the wrong package. I updated it to the
correct one.
pull/16454/head^2
Jeremi Joslin 8 months ago committed by GitHub
parent b3ed98dec0
commit 9e95699277
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -246,8 +246,8 @@ class ChatLiteLLM(BaseChatModel):
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(

Loading…
Cancel
Save