refactor: demo tools/agents (#67)

This commit is contained in:
sigoden
2024-07-09 21:17:12 +08:00
committed by GitHub
parent 0dbdc9e710
commit 02e335c995
11 changed files with 116 additions and 32 deletions
+12
View File
@@ -0,0 +1,12 @@
import os
import platform
def get_sysinfo():
"""
Get the system info
"""
return "\n".join([
f"OS: {platform.system()}",
f"Arch: {platform.machine()}",
f"User: {os.environ.get('USER')}"
])