From 29ce7101c9ff4546c5f7ef61e1dca6247ee42074 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 21 Dec 2024 18:51:41 -0600 Subject: [PATCH 1/4] add documentation on pnpm node version --- docs/docs/quickstart.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/docs/quickstart.md b/docs/docs/quickstart.md index ba4143abf4..d08607b8c0 100644 --- a/docs/docs/quickstart.md +++ b/docs/docs/quickstart.md @@ -225,6 +225,14 @@ pnpm start --characters="characters/trump.character.json,characters/tate.charact - Ensure Node.js 23.3.0 is installed - Use `node -v` to check version - Consider using [nvm](https://github.com/nvm-sh/nvm) to manage Node versions + + NOTE: pnpm may be bundled with a different node version, ignoring nvm. If this is the case, you can use + ```bash + pnpm env use --global 23.3.0 + ``` + to force it to use the correct one. + + 2. **Sharp Installation** If you see Sharp-related errors: From 69a85994724b4684ae4fd30a4d95ff02ef81aaa0 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 21 Dec 2024 18:54:48 -0600 Subject: [PATCH 2/4] remove extra spacing --- docs/docs/quickstart.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/docs/quickstart.md b/docs/docs/quickstart.md index d08607b8c0..07366163f6 100644 --- a/docs/docs/quickstart.md +++ b/docs/docs/quickstart.md @@ -232,8 +232,6 @@ pnpm start --characters="characters/trump.character.json,characters/tate.charact ``` to force it to use the correct one. - - 2. **Sharp Installation** If you see Sharp-related errors: From c26b69ad600bb023d1d802830532314f304001db Mon Sep 17 00:00:00 2001 From: Shakker Nerd Date: Sun, 22 Dec 2024 14:00:17 +0000 Subject: [PATCH 3/4] 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 4/4] 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.