aboutsummaryrefslogtreecommitdiffstats
path: root/tools/web_search_aichat.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/web_search_aichat.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/web_search_aichat.sh')
-rwxr-xr-xtools/web_search_aichat.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/web_search_aichat.sh b/tools/web_search_aichat.sh
index e35948f..6a6528e 100755
--- a/tools/web_search_aichat.sh
+++ b/tools/web_search_aichat.sh
@@ -7,6 +7,7 @@ set -e
# @option --query! The query to search for.
# @meta require-tools aichat
+
# @env WEB_SEARCH_MODEL! The model for web-searching.
#
# supported aichat models:
@@ -15,6 +16,7 @@ set -e
# - perplexity:*-online
# - ernie:*
# - lingyiwanwu:yi-large-rag
+# @env LLM_OUTPUT=/dev/stdout The output path
main() {
client="${WEB_SEARCH_MODEL%%:*}"