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