The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
Remove unused `Params` (#14385)
Harutaka Kawamura73da8f863cff
diff --git a/libs/community/langchain_community/llms/mlflow.py b/libs/community/langchain_community/llms/mlflow.pyindex b8f733d720..0110e4b40e 100644--- a/libs/community/langchain_community/llms/mlflow.py+++ b/libs/community/langchain_community/llms/mlflow.py@@ -5,18 +5,7 @@ from urllib.parse import urlparsefrom langchain_core.callbacks import CallbackManagerForLLMRunfrom langchain_core.language_models import LLM-from langchain_core.pydantic_v1 import BaseModel, Extra, Field, PrivateAttr---# Ignoring type because below is valid pydantic code-# Unexpected keyword argument "extra" for "__init_subclass__" of "object"-class Params(BaseModel, extra=Extra.allow): # type: ignore[call-arg]- """Parameters for MLflow"""-- temperature: float = 0.0- n: int = 1- stop: Optional[List[str]] = None- max_tokens: Optional[int] = None+from langchain_core.pydantic_v1 import Field, PrivateAttrclass Mlflow(LLM):