diff --git a/bin/commit-with-llm b/bin/commit-with-llm index c14c20d..5d11350 100755 --- a/bin/commit-with-llm +++ b/bin/commit-with-llm @@ -3,7 +3,7 @@ commit-with-llm() { mkdir -p tmp - local prompt_file="tmp/llm_update" + local prompt_file="tmp/llm_prompt" echo -e "\nWrite prompt to $prompt_file." cat << EOF > "$prompt_file" Look at the git log and the git diff below and reply with a git commit message matching the changes and style of the log. @@ -27,7 +27,7 @@ EOF fi # Save the result to a file - local result_file="tmp/llm_update_result" + local result_file="tmp/llm_prompt_result" echo "$result" > "$result_file" echo -e "Saved response to $result_file.\n" diff --git a/bin/update-with-llm b/bin/update-with-llm index 952733e..2cc66c0 100755 --- a/bin/update-with-llm +++ b/bin/update-with-llm @@ -32,7 +32,7 @@ $(cat "$file") # Define prompt content mkdir -p tmp - local prompt_file="tmp/llm_update" + local prompt_file="tmp/llm_prompt" echo -e "\\nWrite prompt to $prompt_file." cat << EOF > "$prompt_file" Look at the code files below and do the following: @@ -60,7 +60,7 @@ EOF fi # Save the result to a file - local result_file="tmp/llm_update_result" + local result_file="tmp/llm_prompt_result" echo "$result" > "$result_file" echo -e "Saved response to $result_file.\\n"