diff --git a/scripts/update_changelog.sh b/scripts/update_changelog.sh index 45ae134..02715d6 100755 --- a/scripts/update_changelog.sh +++ b/scripts/update_changelog.sh @@ -132,22 +132,27 @@ Rules: # Call OpenRouter API log "Calling OpenRouter API to generate changelog..." +# Prepare the JSON payload properly +PROMPT_ESCAPED=$(echo "$PROMPT" | jq -Rs .) +REQUEST_BODY=$(cat <