Skip to content

Unable to pass dynamic variables #1

Description

@AnuragBalhra

I've used this template to create elevenlabs conversational agent with simliai. But the agent breaks as soonas I added dynamic variables to my elevenlabs agent.

I tried to pass in additonal variables while starting the session with the Conversation Manager

conversation.startSession({
      agentId: agentId,
      signedUrl: res.signed_url,
      username: "Dummy username"
});

but this doesn't seem to pass the username to elevenlabs agent and the websocket server just disconnects with message.
Missing required dynamic variables in first message: {'username'}

Image

Could someone tell me what's the right way to pass dynamic variables using this elevenlabs and simliai integration?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions