From 1b96d4ee4cadf05163d653373423a615723240aa Mon Sep 17 00:00:00 2001 From: sigoden Date: Thu, 14 Nov 2024 21:54:44 +0800 Subject: feat: add `LLM_OUTPUT=/dev/stdout` to all tools/agents bashscripts (#123) --- tools/get_current_weather.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/get_current_weather.sh') diff --git a/tools/get_current_weather.sh b/tools/get_current_weather.sh index ab3e613..e942290 100755 --- a/tools/get_current_weather.sh +++ b/tools/get_current_weather.sh @@ -4,6 +4,8 @@ set -e # @describe Get the current weather in a given location. # @option --location! The city and optionally the state or country, e.g., "London", "San Francisco, CA". +# @env LLM_OUTPUT=/dev/stdout The output path + main() { curl -fsSL "https://wttr.in/$(echo "$argc_location" | sed 's/ /+/g')?format=4&M" \ >> "$LLM_OUTPUT" -- cgit v1.2.3