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/search_wikipedia.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/search_wikipedia.sh') diff --git a/tools/search_wikipedia.sh b/tools/search_wikipedia.sh index ebbc49d..0bf791e 100755 --- a/tools/search_wikipedia.sh +++ b/tools/search_wikipedia.sh @@ -6,6 +6,8 @@ set -e # @option --query! The query to search for. +# @env LLM_OUTPUT=/dev/stdout The output path + main() { encoded_query="$(jq -nr --arg q "$argc_query" '$q|@uri')" base_url="https://en.wikipedia.org/w/api.php" -- cgit v1.2.3