diff options
Diffstat (limited to 'agents/demo/tools.py')
| -rw-r--r-- | agents/demo/tools.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/agents/demo/tools.py b/agents/demo/tools.py new file mode 100644 index 0000000..5f1a4fc --- /dev/null +++ b/agents/demo/tools.py @@ -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')}" + ])
\ No newline at end of file |
