The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
fix missing _identifying_params() in _VertexAICommon (#8303)
thehunmonkgroupba4e82bb47fe
diff --git a/libs/langchain/langchain/llms/vertexai.py b/libs/langchain/langchain/llms/vertexai.pyindex da85f79edb..35fa573466 100644--- a/libs/langchain/langchain/llms/vertexai.py+++ b/libs/langchain/langchain/llms/vertexai.py@@ -122,6 +122,11 @@ class _VertexAICommon(BaseModel):return enforce_stop_tokens(text, stop)return text+ @property+ def _identifying_params(self) -> Dict[str, Any]:+ """Get the identifying parameters."""+ return {**{"model_name": self.model_name}, **self._default_params}+@propertydef _llm_type(self) -> str:return "vertexai"