aboutsummaryrefslogtreecommitdiffstats
path: root/tools/search_wikipedia.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/search_wikipedia.sh')
-rwxr-xr-xtools/search_wikipedia.sh2
1 files changed, 2 insertions, 0 deletions
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"