Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix ci

Louis Beaumontd51302912691
diff --git a/.github/scripts/generate_changelog_md.sh b/.github/scripts/generate_changelog_md.sh
index cc61dcd02..06a80f2c9 100755
--- a/.github/scripts/generate_changelog_md.sh
+++ b/.github/scripts/generate_changelog_md.sh
@@ -49,6 +49,11 @@ fi
COMMITS=$(git log --oneline $COMMIT_LAST_RELEASE..$COMMIT_CURRENT_RELEASE --oneline | tr '\n' ', ' | sed 's/"/\\"/g')
+# Debug: Print the commits being sent
+echo "DEBUG: Commits being sent to OpenAI:"
+echo "$COMMITS"
+echo "---"
+
CONTENT=$(
curl https://api.openai.com/v1/chat/completions \
-H "Content-Type: application/json" \
@@ -68,6 +73,11 @@ CONTENT=$(
}"
)
+# Debug: Print the raw response from OpenAI
+echo "DEBUG: Raw OpenAI response:"
+echo "$CONTENT"
+echo "---"
+
CONTENT=$(jq '.choices[0].message.content' <<< $CONTENT)
# exit if the content is null