aboutsummaryrefslogtreecommitdiffstats
path: root/agents/demo/tools.sh
diff options
context:
space:
mode:
Diffstat (limited to 'agents/demo/tools.sh')
-rwxr-xr-xagents/demo/tools.sh9
1 files changed, 3 insertions, 6 deletions
diff --git a/agents/demo/tools.sh b/agents/demo/tools.sh
index 98f3d47..af8ddc8 100755
--- a/agents/demo/tools.sh
+++ b/agents/demo/tools.sh
@@ -1,12 +1,9 @@
#!/usr/bin/env bash
set -e
-# @cmd Get the system info
-get_sysinfo() {
- cat <<EOF >> "$LLM_OUTPUT"
-OS: $(uname)
-Arch: $(arch)
-EOF
+# @cmd Get the ip info
+get_ipinfo() {
+ curl -fsSL https://httpbin.org/ip >> "$LLM_OUTPUT"
}
# See more details at https://github.com/sigoden/argc