feat: add LLM_OUTPUT=/dev/stdout to all tools/agents bashscripts (#123)

This commit is contained in:
sigoden
2024-11-14 21:54:44 +08:00
committed by GitHub
parent afbd03f963
commit 1b96d4ee4c
23 changed files with 58 additions and 12 deletions
+2
View File
@@ -1,6 +1,8 @@
#!/usr/bin/env bash
set -e
# @env LLM_OUTPUT=/dev/stdout The output path
# @cmd Create a new file at the specified path with contents.
# @option --path! The path where the file should be created
# @option --contents! The contents of the file
+2
View File
@@ -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"
+2
View File
@@ -1,6 +1,8 @@
#!/usr/bin/env bash
set -e
# @env LLM_OUTPUT=/dev/stdout The output path
# @cmd Add a new todo item
# @option --desc! The todo description
add_todo() {