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

MultimodalAgent error on participant rejoin #214

Open
kristina-fefelova opened this issue Dec 18, 2024 · 3 comments
Open

MultimodalAgent error on participant rejoin #214

kristina-fefelova opened this issue Dec 18, 2024 · 3 comments

Comments

@kristina-fefelova
Copy link

kristina-fefelova commented Dec 18, 2024

I'm trying to use MultimodalAgent and was faced with the problem:
if participants rejoin in the same room, I see theese error

node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@livekit/agents/dist/multimodal/multimodal_agent.js:306
          reject(new Error("Task cancelled"));

This happens due to the repeated event RoomEvent.Track Subscribed

After this error the agent stops responding

@Ali-Raza995
Copy link

@kristina-fefelova Is it resolved ? or you are facing the issue?

plus are you facing this kind of this kind of issue ?
SyntaxError: The requested module '@bufbuild/protobuf' does not provide an export named 'Duration'

@kristina-fefelova
Copy link
Author

@kristina-fefelova Is it resolved ? or you are facing the issue?

plus are you facing this kind of this kind of issue ? SyntaxError: The requested module '@bufbuild/protobuf' does not provide an export named 'Duration'

It isn't resolved, I just facing the issue.

I saw something like this, it was an error from livekit-server-sdk(@livekit/agents dependency)

Solved with fixing version:

  "pnpm": {
    "overrides": {
      "livekit-server-sdk": "2.8.1"
    }
  },

Not sure if you have the same problem

@Ali-Raza995
Copy link

@kristina-fefelova Thanks. My issue fixed with this
"pnpm": {
"overrides": {
"livekit-server-sdk": "2.8.1"
}
},

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