From c26b69ad600bb023d1d802830532314f304001db Mon Sep 17 00:00:00 2001 From: Shakker Nerd Date: Sun, 22 Dec 2024 14:00:17 +0000 Subject: [PATCH 1/2] fix: explicitly set env in each step --- .github/workflows/integrationTests.yaml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/integrationTests.yaml b/.github/workflows/integrationTests.yaml index 4ed0c8732c..ed8973d360 100644 --- a/.github/workflows/integrationTests.yaml +++ b/.github/workflows/integrationTests.yaml @@ -49,17 +49,13 @@ jobs: id: check_api_key run: | if [ -z "$OPENAI_API_KEY" ]; then - echo "::set-output name=api_key_present::false" - else - echo "::set-output name=api_key_present::true" + echo "Error: OPENAI_API_KEY is not set." + exit 1 fi + env: + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - name: Run integration tests - if: steps.check_api_key.outputs.api_key_present == 'true' run: pnpm run integrationTests - - - name: Skip integration tests - if: steps.check_api_key.outputs.api_key_present == 'false' - run: | - echo "Skipping integration tests due to missing required API keys" - exit 1 + env: + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} From b38b742bb2437779edb7b37c047f6aa831b8893c Mon Sep 17 00:00:00 2001 From: V Date: Sun, 22 Dec 2024 21:28:16 +0530 Subject: [PATCH 2/2] Update README.md adding documentation for running chat client --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 8ae4ac62e3..050f7117f7 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,11 @@ cd eliza-starter cp .env.example .env pnpm i && pnpm build && pnpm start ``` +Once the agent is running, You should see the message to run "pnpm start:client" at the end. +Open another terminal and move to same directory and then run below command and follow the URL to chat to your agent. +```bash +pnpm start:client +``` Then read the [Documentation](https://elizaos.github.io/eliza/) to learn how to customize your Eliza.