aboutsummaryrefslogtreecommitdiffstats
path: root/agents/demo
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-11-14 21:54:44 +0800
committerGitHub <noreply@github.com>2024-11-14 21:54:44 +0800
commit1b96d4ee4cadf05163d653373423a615723240aa (patch)
treeb528d9e7791a2ed1ca8ce36098eec7c160200613 /agents/demo
parentafbd03f963b08419a3835c9473d757bf936c8b92 (diff)
downloadllm-functions-docker-1b96d4ee4cadf05163d653373423a615723240aa.tar.gz
feat: add `LLM_OUTPUT=/dev/stdout` to all tools/agents bashscripts (#123)
Diffstat (limited to 'agents/demo')
-rwxr-xr-xagents/demo/tools.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/agents/demo/tools.sh b/agents/demo/tools.sh
index af8ddc8..fc0533a 100755
--- a/agents/demo/tools.sh
+++ b/agents/demo/tools.sh
@@ -1,6 +1,8 @@
#!/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"