From 92b7d071649fd7a7594ad59fab6cf508bf311f04 Mon Sep 17 00:00:00 2001 From: hadar-co Date: Wed, 13 Nov 2024 20:18:17 +0200 Subject: [PATCH] Update createGuide.yml --- .github/workflows/createGuide.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/createGuide.yml b/.github/workflows/createGuide.yml index a96c6a9..b83b25c 100644 --- a/.github/workflows/createGuide.yml +++ b/.github/workflows/createGuide.yml @@ -91,7 +91,7 @@ jobs: -H "OpenAI-Beta: assistants=v2") ASSISTANT_MESSAGE=$(echo "$MESSAGES" | jq -r '.data[] | select(.role=="assistant") | .content') echo "Assistant's Response:\n$ASSISTANT_MESSAGE" - echo "$ASSISTANT_MESSAGE" > guide.md + echo "$ASSISTANT_MESSAGE" | jq --slurp '.[0].[].text.value' > guide.md shell: bash # - name: Configure Git