The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
lite llm lint (#9208)
Bagaturb5a57acf6c7d
diff --git a/libs/langchain/langchain/chat_models/litellm.py b/libs/langchain/langchain/chat_models/litellm.pyindex 165e1d1a6e..5dcaa8653f 100644--- a/libs/langchain/langchain/chat_models/litellm.py+++ b/libs/langchain/langchain/chat_models/litellm.py@@ -15,7 +15,7 @@ from typing import (Union,)-from pydantic import BaseModel, Field, root_validator+from pydantic_v1 import Field, root_validatorfrom langchain.callbacks.manager import (AsyncCallbackManagerForLLMRun,@@ -186,7 +186,7 @@ def _convert_message_to_dict(message: BaseMessage) -> dict:return message_dict-class ChatLiteLLM(BaseChatModel, BaseModel):+class ChatLiteLLM(BaseChatModel):"""Wrapper around the LiteLLM Model I/O library.To use you must have the google.generativeai Python package installed and