Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Make TEE Plugin available to launch agent & fix previous launch error #678

Merged
merged 2 commits into from
Nov 29, 2024

Conversation

HashWarlock
Copy link
Collaborator

Relates to:

Risks

Low, risks are removed by making sure default env variable WALLET_SECRET_SALT is undefined.

Background

Remove default salt in the .env.example file to remove launch agent errors with TEE Plugin. Add tee plugin back into agent startup file so users can launch a TEE agent with a character file.

What does this PR do?

  • Remove agent launch errors that use TEE Plugin
  • Adds logic for Agent to startup in a TEE Plugin with or without a simulator

What kind of change is this?

Bug fixes

Documentation changes needed?

My changes do not require a change to the project documentation.

Testing

Where should a reviewer start?

I created a short YouTube video to explain the steps.
https://youtu.be/RABERCv5FiA

Detailed testing steps

  • Add the env variable WALLET_SECRET_SALT with a value in the character config file.

Example for env vars to test locally:
DSTACK_SIMULATOR_ENDPOINT=http://localhost:8090
WALLET_SECRET_SALT=secretSalt

  • Build project pnpm build
  • Launch the TEE Simulator to test locally

docker run --rm -p 8090:8090 phalanetwork/tappd-simulator:latest

  • pnpm start

@lalalune lalalune merged commit 72d4cd1 into elizaOS:main Nov 29, 2024
1 of 2 checks passed
@HashWarlock HashWarlock deleted the fix/enable-tee-with-salt branch December 2, 2024 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants