The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
core: default chat/llm _identifying_params to lc_attributes (#20232)
Erick Friis6adca37eb786
diff --git a/libs/core/langchain_core/language_models/base.py b/libs/core/langchain_core/language_models/base.pyindex c11cf4e1b7..4941faea34 100644--- a/libs/core/langchain_core/language_models/base.py+++ b/libs/core/langchain_core/language_models/base.py@@ -298,7 +298,7 @@ class BaseLanguageModel(@propertydef _identifying_params(self) -> Mapping[str, Any]:"""Get the identifying parameters."""- return {}+ return self.lc_attributesdef get_token_ids(self, text: str) -> List[int]:"""Return the ordered ids of the tokens in a text.