From 32279b7fd572c43623fef1bd0ae2233e2df50b25 Mon Sep 17 00:00:00 2001 From: anaxios Date: Fri, 9 Aug 2024 12:37:44 -0700 Subject: [PATCH] Relocated echo statements. --- aicommit | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aicommit b/aicommit index 6c7ace9..9c54f60 100755 --- a/aicommit +++ b/aicommit @@ -23,6 +23,9 @@ if ! diff=$(git diff --cached); then exit 1 fi +echo "" +echo "Please wait for AI reponse..." + if [[ "--groq" == "$1" ]]; then shift @@ -55,9 +58,6 @@ else ".message = $(jq -R -s '@json' <<<"${message_cat}")" ) - echo "" - echo "Please wait for AI reponse..." - if ! curl -s -X POST https://infer.x64.world/reset-conversation >/dev/null; then echo "Failed to reset conversation." exit 1