aboutsummaryrefslogtreecommitdiffstats
path: root/agents/demo/tools.sh
blob: fc0533a5b69ddce267e0907a7a0bf7f32c6e35aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bash
set -e

# @env LLM_OUTPUT=/dev/stdout The output path

# @cmd Get the ip info
get_ipinfo() {
    curl -fsSL https://httpbin.org/ip >> "$LLM_OUTPUT"
}

# See more details at https://github.com/sigoden/argc
eval "$(argc --argc-eval "$0" "$@")"