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

Release @livekit/agents-plugin-silero compatible with @livekit/rtc-node version 0.13.1 #253

Open
FlorDonnaSanders opened this issue Jan 14, 2025 · 6 comments

Comments

@FlorDonnaSanders
Copy link
Contributor

Hi all!

I appreciate the release of the patches today.
However, it seems no new version of @livekit/agents-plugin-silero has been released with the @livekit/rtc-node version bump from #247, resulting in peer dependency issues when trying to update the packages.

A version bump release for this package would be appreciated.

@nbsp
Copy link
Member

nbsp commented Jan 14, 2025

that's odd — thanks for the heads up!

@nbsp
Copy link
Member

nbsp commented Jan 14, 2025

should be fixed now — can you confirm?

@FlorDonnaSanders
Copy link
Contributor Author

Works now indeed. Thanks!

@FlorDonnaSanders
Copy link
Contributor Author

FlorDonnaSanders commented Jan 15, 2025

Actually re-opening this issue (CC @nbsp ).

While installing the packages now works, the full flow does not.
As a minimum example to validate this, I ran the multimodal agent example and started a session using the voice assistant frontend.

The runner starts up but then seems to disconnect from the room immediately.
This does not happen on 0.6.0 with otherwise the same code.

LOGS:

{"version":"0.1.0","message":"starting worker","timestamp":"2025-01-15T12:23:01.188Z","level":"info"}
{"message":"Server is listening on port 53030","timestamp":"2025-01-15T12:23:01.210Z","level":"info"}
{"version":"0.1.0","message":"connected to LiveKit server","timestamp":"2025-01-15T12:23:01.317Z","level":"debug"}
{"id":"AW_CPbcWHya4EGA","server_info":{"edition":"Cloud","version":"1.8.3","protocol":15,"region":"France","nodeId":"NC_OMARSEILLE1A_kjfPqMGvsEf2","debugInfo":"","agentProtocol":0},"message":"registered worker","timestamp":"2025-01-15T12:23:01.345Z","level":"info"}
{"job":{"id":"AJ_YcYqzBTCjk54","type":"JT_ROOM","room":{"sid":"RM_NhHzoCQYhyAB","name":"voice_assistant_room_7457","emptyTimeout":300,"maxParticipants":0,"creationTime":"1736943429","turnPassword":"","enabledCodecs":[{"mime":"video/H264","fmtpLine":""},{"mime":"video/VP8","fmtpLine":""},{"mime":"video/VP9","fmtpLine":""},{"mime":"video/AV1","fmtpLine":""},{"mime":"audio/red","fmtpLine":""},{"mime":"audio/opus","fmtpLine":""}],"metadata":"","numParticipants":0,"activeRecording":false,"numPublishers":0,"version":{"unixMicro":"1736943429904954","ticks":0},"departureTimeout":20},"namespace":"","metadata":"","agentName":"","state":{"status":"JS_RUNNING","error":"","startedAt":"1736943786344073858","endedAt":"0","updatedAt":"1736943786344073858","participantIdentity":""},"dispatchId":""},"resuming":false,"agentName":"","message":"received job request","timestamp":"2025-01-15T12:23:06.360Z","level":"info"}
{"pid":23993,"message":"initializing job runner","timestamp":"2025-01-15T12:23:06.622Z","level":"debug"}
{"pid":23993,"message":"job runner initialized","timestamp":"2025-01-15T12:23:06.623Z","level":"debug"}
{"jobID":"AJ_YcYqzBTCjk54","message":"job started","timestamp":"2025-01-15T12:23:06.626Z","level":"debug"}
{"job":{"id":"AJ_Yx2AZDnr4Sjb","type":"JT_ROOM","room":{"sid":"RM_3nYBaFVyjuGH","name":"voice_assistant_room_6160","emptyTimeout":300,"maxParticipants":0,"creationTime":"1736943786","turnPassword":"","enabledCodecs":[{"mime":"video/H264","fmtpLine":""},{"mime":"video/VP8","fmtpLine":""},{"mime":"video/VP9","fmtpLine":""},{"mime":"video/AV1","fmtpLine":""},{"mime":"audio/red","fmtpLine":""},{"mime":"audio/opus","fmtpLine":""}],"metadata":"","numParticipants":0,"activeRecording":false,"numPublishers":0,"version":{"unixMicro":"1736943786646564","ticks":0},"departureTimeout":20},"namespace":"","metadata":"","agentName":"","state":{"status":"JS_RUNNING","error":"","startedAt":"1736943786750473484","endedAt":"0","updatedAt":"1736943786750473484","participantIdentity":""},"dispatchId":""},"resuming":false,"agentName":"","message":"received job request","timestamp":"2025-01-15T12:23:06.760Z","level":"info"}
waiting for participant
{"pid":23994,"message":"initializing job runner","timestamp":"2025-01-15T12:23:07.057Z","level":"debug"}
{"pid":23994,"message":"job runner initialized","timestamp":"2025-01-15T12:23:07.058Z","level":"debug"}
{"jobID":"AJ_Yx2AZDnr4Sjb","message":"job started","timestamp":"2025-01-15T12:23:07.061Z","level":"debug"}
waiting for participant
starting assistant example agent for XXXXXXXXX (redacted)
{"jobID":"AJ_YcYqzBTCjk54","message":"shutting down","timestamp":"2025-01-15T12:23:28.924Z","level":"debug"}
{"jobID":"AJ_YcYqzBTCjk54","message":"disconnected from room","timestamp":"2025-01-15T12:23:28.924Z","level":"debug"}
{"message":"job exiting","timestamp":"2025-01-15T12:23:28.925Z","level":"debug"}

@nbsp
Copy link
Member

nbsp commented Jan 15, 2025

we are aware of and have fixed the issue causing this, expect a new patch release soon

@FlorDonnaSanders
Copy link
Contributor Author

Great!
Thanks for the quick follow-up. I'll close this issue once the new patch release comes out.

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

No branches or pull requests

2 participants