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

UI Doesn't Appear to Load #3360

Open
Mer-idium opened this issue Feb 7, 2025 · 2 comments
Open

UI Doesn't Appear to Load #3360

Mer-idium opened this issue Feb 7, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@Mer-idium
Copy link

Describe the bug
Starting the service with pnpm start --character="characters/character.json" appears to work and load my character file, however, when I attempt to access the agent via the UI I am greeted with a message "Welcome, this is the REST API!" and nothing else. I have specified port 3000 within my .env file and I am using this to access the UI. Additionally, the start up appears to halt on "initialising LlamaService" even though I have specified OpenAI within my character and .env file.

I am also quite confused between the pnpm start --character="characters/character.json" and the pnpm start:client, where the latter does not register as a command. Is there a specific way in which to run these commands?

To Reproduce

  • Build Eliza-Starter
  • Create character and specify OpenAI
  • Set OpenAI API Key within .env
  • Start the service with pnpm start --character="characters/character.json"

Expected behaviour

Im not entirely sure, it is the first time I am starting the service without the build breaking. I have seen a few images/videos with people interacting with the agents via a UI. I would assume this loads and you can interact with it in such a way.

Screenshots

Image

@Mer-idium Mer-idium added the bug Something isn't working label Feb 7, 2025
@lalalune
Copy link
Member

lalalune commented Feb 7, 2025

It's an annoying thing (fixed in the next release, which we're working on) but pnpm run start:client -- the run is required if it's not start. Anyways it's a bad design and it's being fixed :)

@Mer-idium
Copy link
Author

Mer-idium commented Feb 7, 2025

So if I am correct the sequence is:

pnpm start --character="characters/character.json"
followed by
pnpm run start:client

or does the "start:client" supersede like this pnpm run start:client --character="characters/character.json"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants