mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-28 09:28:48 +00:00
core[minor]: Add other langgraph packages to sys_info (#28190)
Add other langgraph packages to sys_info output
This commit is contained in:
parent
97f752c92d
commit
5599a0a537
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user