core(minor): Add a way to print out system information for debugging purposes. (#15718)

To use: 

```bash
python -m langchain_core.sys_info
```
This commit is contained in:
Eugene Yurtsev
2024-01-08 15:20:18 -05:00
committed by GitHub
parent c3624b416d
commit b508fcce65
2 changed files with 64 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
from langchain_core.sys_info import print_sys_info
def test_print_sys_info() -> None:
"""Super simple test to that no exceptions are triggered when calling code."""
print_sys_info()