diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 26bca68..2279741 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -32,8 +32,9 @@ jobs: role-to-assume: arn:aws:iam::407839483216:role/admin - name: Deploy - uses: DefangLabs/defang-github-action@v1.0.4 + uses: DefangLabs/defang-github-action@v1.0.9 with: config-env-vars: OPENAI_API_KEY + env: OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} diff --git a/generated_response = response['choices'] b/generated_response = response['choices'] deleted file mode 100644 index 315c55c..0000000 --- a/generated_response = response['choices'] +++ /dev/null @@ -1,2 +0,0 @@ -generated_response = response['choices'][0]['message']['content'].strip() - full_response = f"Context:\n{context}\n\nGenerated Response:\n{generated_response}" \ No newline at end of file