The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
core[minor]: Add other langgraph packages to sys_info (#28190)
Eugene Yurtsev5599a0a53780
diff --git a/libs/core/langchain_core/sys_info.py b/libs/core/langchain_core/sys_info.pyindex f70df1f631..532b4e6380 100644--- a/libs/core/langchain_core/sys_info.py+++ b/libs/core/langchain_core/sys_info.py@@ -47,7 +47,6 @@ def print_sys_info(*, additional_pkgs: Sequence[str] = ()) -> None:# Packages that do not start with "langchain" prefix.other_langchain_packages = ["langserve",- "langgraph","langsmith",]@@ -55,8 +54,17 @@ def print_sys_info(*, additional_pkgs: Sequence[str] = ()) -> None:name for _, name, _ in pkgutil.iter_modules() if name.startswith("langchain")]+ langgraph_pkgs = [+ name for _, name, _ in pkgutil.iter_modules() if name.startswith("langgraph")+ ]+all_packages = sorted(- set(langchain_pkgs + other_langchain_packages + list(additional_pkgs))+ set(+ langchain_pkgs+ + langgraph_pkgs+ + other_langchain_packages+ + list(additional_pkgs)+ ))# Always surface these packages to the top