The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
community[patch]: Fix error message when litellm is not installed (#16316)
Jeremi Joslin9e95699277fe
diff --git a/libs/community/langchain_community/chat_models/litellm.py b/libs/community/langchain_community/chat_models/litellm.pyindex cb6a2107d3..39f7284c3b 100644--- a/libs/community/langchain_community/chat_models/litellm.py+++ b/libs/community/langchain_community/chat_models/litellm.py@@ -246,8 +246,8 @@ class ChatLiteLLM(BaseChatModel):import litellmexcept 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(