core[patch]: Add langsmith to printed sys information (#16899)

This commit is contained in:
Eugene Yurtsev 2024-02-05 14:13:30 -05:00 committed by GitHub
parent 2145636f1d
commit fb245451d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,6 +13,7 @@ def print_sys_info(*, additional_pkgs: Sequence[str] = tuple()) -> None:
other_langchain_packages = [
"langserve",
"langgraph",
"langsmith",
]
langchain_pkgs = [
@ -24,7 +25,7 @@ def print_sys_info(*, additional_pkgs: Sequence[str] = tuple()) -> None:
)
# Always surface these packages to the top
order_by = ["langchain_core", "langchain", "langchain_community"]
order_by = ["langchain_core", "langchain", "langchain_community", "langsmith"]
for pkg in reversed(order_by):
if pkg in all_packages: