aboutsummaryrefslogtreecommitdiffstats
path: root/tools/demo_sh.sh
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 /tools/demo_sh.sh
parentafbd03f963b08419a3835c9473d757bf936c8b92 (diff)
downloadllm-functions-docker-1b96d4ee4cadf05163d653373423a615723240aa.tar.gz
feat: add `LLM_OUTPUT=/dev/stdout` to all tools/agents bashscripts (#123)
Diffstat (limited to 'tools/demo_sh.sh')
-rwxr-xr-xtools/demo_sh.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/demo_sh.sh b/tools/demo_sh.sh
index 11dc72b..4a932c0 100755
--- a/tools/demo_sh.sh
+++ b/tools/demo_sh.sh
@@ -11,6 +11,8 @@ set -e
# @option --array+ <VALUE> Define a required string array property
# @option --array-optional* Define a optional string array property
+# @env LLM_OUTPUT=/dev/stdout The output path
+
main() {
cat <<EOF >> "$LLM_OUTPUT"
string: ${argc_string}