feat: adjust the way of returning data to LLM (#69)
This commit is contained in:
+2
-3
@@ -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" "$@")"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user