From 732eae532c8e8632db95ab80e0dde5071e744386 Mon Sep 17 00:00:00 2001 From: sigoden Date: Wed, 10 Jul 2024 18:53:32 +0800 Subject: feat: adjust the way of returning data to LLM (#69) --- tools/search_exa.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tools/search_exa.sh') diff --git a/tools/search_exa.sh b/tools/search_exa.sh index 33d4564..ccb14cf 100755 --- a/tools/search_exa.sh +++ b/tools/search_exa.sh @@ -23,9 +23,8 @@ main() { } } }' | \ - jq '[.results[] | {title: .title, url: .url, text: .text}]' + jq '[.results[] | {title: .title, url: .url, text: .text}]' \ + >> "$LLM_OUTPUT" } eval "$(argc --argc-eval "$0" "$@")" - - -- cgit v1.2.3