diff --git a/src/agent.py b/src/agent.py index c4fcfac..b434fae 100644 --- a/src/agent.py +++ b/src/agent.py @@ -98,14 +98,6 @@ async def my_agent(ctx: JobContext): # llm=openai.realtime.RealtimeModel(voice="marin") # ) - # # Add a virtual avatar to the session, if desired - # # For other providers, see https://docs.livekit.io/agents/models/avatar/ - # avatar = hedra.AvatarSession( - # avatar_id="...", # See https://docs.livekit.io/agents/models/avatar/plugins/hedra - # ) - # # Start the avatar and wait for it to join - # await avatar.start(session, room=ctx.room) - # Start the session, which initializes the voice pipeline and warms up the models await session.start( agent=Assistant(), @@ -119,6 +111,17 @@ async def my_agent(ctx: JobContext): ), ) + # # Add a virtual avatar to the session, if desired + # # For other providers, see https://docs.livekit.io/agents/models/avatar/ + # avatar = anam.AvatarSession( + # persona_config=anam.PersonaConfig( + # name="...", + # avatarId="...", # See https://docs.livekit.io/agents/models/avatar/plugins/anam + # ), + # ) + # # Start the avatar and wait for it to join + # await avatar.start(session, room=ctx.room) + # Join the room and connect to the user await ctx.connect()