diff --git a/.gitea/workflows/multi-platform.yml b/.gitea/workflows/multi-platform.yml index c1f316d..799dd8e 100644 --- a/.gitea/workflows/multi-platform.yml +++ b/.gitea/workflows/multi-platform.yml @@ -112,8 +112,8 @@ jobs: }") # Check if the API call was successful and extract the response - if echo "$RESPONSE" | jq -e '.choices[0].text' > /dev/null 2>&1; then - echo "$RESPONSE" | jq -r '.choices[0].text' > release_notes.md + if echo "$RESPONSE" | jq -e '.output[1].content[0].text' > /dev/null 2>&1; then + echo "$RESPONSE" | jq -r '.output[1].content[0].text' > release_notes.md echo "Generated AI release notes successfully" else echo "AI generation failed, falling back to simple notes"