Compare commits

...

3 Commits

Author SHA1 Message Date
Eugene Yurtsev
d603096605 x 2024-08-05 16:35:26 -04:00
Bagatur
0a9eaf51b7 fmt 2024-08-05 13:31:31 -07:00
Bagatur
c597b462b6 core[patch]: add pydantic to sys_info 2024-08-05 13:31:18 -07:00

View File

@@ -18,8 +18,8 @@ def print_sys_info(*, additional_pkgs: Sequence[str] = tuple()) -> None:
# Packages that do not start with "langchain" prefix.
other_langchain_packages = [
"langserve",
"langgraph",
"langserve",
"langsmith",
]
@@ -27,8 +27,18 @@ def print_sys_info(*, additional_pkgs: Sequence[str] = tuple()) -> None:
name for _, name, _ in pkgutil.iter_modules() if name.startswith("langchain")
]
# Some selected dependencies
selected_dependencies = [
"pydantic",
]
all_packages = sorted(
set(langchain_pkgs + other_langchain_packages + list(additional_pkgs))
set(
langchain_pkgs
+ other_langchain_packages
+ list(additional_pkgs)
+ selected_dependencies
)
)
# Always surface these packages to the top