agents icon indicating copy to clipboard operation
agents copied to clipboard

The testing on agents-playground.livekit.io is not functioning properly

Open makeryangcom opened this issue 1 year ago • 6 comments

When using LiveKit Cloud on agents-playground.livekit.io, it keeps loading indefinitely, making it unusable and impossible to test.

20240813162552

makeryangcom avatar Aug 13 '24 08:08 makeryangcom

did you connect an agent?

davidzhao avatar Aug 19 '24 05:08 davidzhao

same here for the agent. having the actual livekit cloud url, key and secret, but is still unable to connect.

Screenshot 2024-08-23 at 00 07 13

robert-sarosi avatar Aug 22 '24 17:08 robert-sarosi

This looks like an issue on your agent. It's likely that it doesn't have the LIVKIT_URL LIVEKIT_API_KEY and LIVEKIT_API_SECRET environment variables set properly

keepingitneil avatar Aug 23 '24 16:08 keepingitneil

Do you also need to set up your own agent when using cloud services? If so, where do I need to configure it?

The agent is continuously loading, and both the microphone and camera permissions have been granted.

image

makeryangcom avatar Aug 25 '24 15:08 makeryangcom

it works like 1/100 of the time. super frustrating

ryanleecode avatar Sep 06 '24 23:09 ryanleecode

https://github.com/livekit/agents/issues/717

ryanleecode avatar Sep 07 '24 00:09 ryanleecode

same here, any solution?

MatheusRDG avatar May 28 '25 19:05 MatheusRDG

@MatheusRDG For me this seemed to be because I had included agent_name in the WorkerOptions. This enables explicit dispatch, which prevents it from automatically joining the playground.

agent_name: str = ""
"""Set agent_name to enable explicit dispatch. When explicit dispatch is enabled, jobs will
 not be dispatched to rooms automatically. Instead, you can either specify the agent(s) to
 be dispatched in the end-user's token, or use the AgentDispatch.createDispatch API"""  # noqa: E501

sjportalatin avatar Jun 25 '25 18:06 sjportalatin

@sjportalatin thanks, I think in my case is just some small structure issue of the agent, already working.

MatheusRDG avatar Jun 25 '25 18:06 MatheusRDG

Do you also need to set up your own agent when using cloud services? If so, where do I need to configure it?

The agent is continuously loading, and both the microphone and camera permissions have been granted.

image

I get the same is there any fix?

lodwf81 avatar Sep 03 '25 15:09 lodwf81

same for me.

Tried running https://github.com/livekit-examples/agent-starter-node locally with pnpm dev

pax-k avatar Oct 10 '25 13:10 pax-k