From 878606c9c5d06f45cf3f4759e112f51249132e67 Mon Sep 17 00:00:00 2001 From: Dane Sabo Date: Wed, 19 Feb 2025 23:09:14 -0500 Subject: [PATCH] test --- reddup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reddup.sh b/reddup.sh index 64a4086f1..5dfc5ba2d 100755 --- a/reddup.sh +++ b/reddup.sh @@ -124,9 +124,10 @@ for dir in "${dirs[@]}"; do # Query LLM for Summary ################# prompt="Based on the following table of contents, provide a short summary description of what this directory is about: -$(cat "$tmp_static")" +$(cat "$tmp_static"). This will go into a readme file and be read as a descriptor. Thank you!" # Query the model using the Ollama CLI with the llama3.2:latest model. summary=$(ollama run llama3.2:1b "$prompt") + echo "Creating summary..." # Build the full new content: static portion + summary section. { @@ -134,6 +135,7 @@ $(cat "$tmp_static")" echo "## Summary" echo "$summary" echo "" + echo "Generated by llama3.2:1b" } > "$readme" rm "$tmp_static"