feat: add LLM_OUTPUT=/dev/stdout to all tools/agents bashscripts (#123)

This commit is contained in:
sigoden
2024-11-14 21:54:44 +08:00
committed by GitHub
parent afbd03f963
commit 1b96d4ee4c
23 changed files with 58 additions and 12 deletions
+4 -1
View File
@@ -2,9 +2,12 @@
set -e
# @describe Extract the content from a given URL.
# @meta require-tools pandoc
# @option --url! The URL to scrape.
# @meta require-tools pandoc
# @env LLM_OUTPUT=/dev/stdout The output path
main() {
# span and div tags are dropped from the HTML https://pandoc.org/MANUAL.html#raw-htmltex and sed removes any inline SVG images in image tags from the Markdown content.
curl -fsSL "$argc_url" | \