mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-21 14:18:52 +00:00
core[patch]: Add langsmith to printed sys information (#16899)
This commit is contained in:
parent
2145636f1d
commit
fb245451d2
@ -13,6 +13,7 @@ def print_sys_info(*, additional_pkgs: Sequence[str] = tuple()) -> None:
|
|||||||
other_langchain_packages = [
|
other_langchain_packages = [
|
||||||
"langserve",
|
"langserve",
|
||||||
"langgraph",
|
"langgraph",
|
||||||
|
"langsmith",
|
||||||
]
|
]
|
||||||
|
|
||||||
langchain_pkgs = [
|
langchain_pkgs = [
|
||||||
@ -24,7 +25,7 @@ def print_sys_info(*, additional_pkgs: Sequence[str] = tuple()) -> None:
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Always surface these packages to the top
|
# 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):
|
for pkg in reversed(order_by):
|
||||||
if pkg in all_packages:
|
if pkg in all_packages:
|
||||||
|
Loading…
Reference in New Issue
Block a user