File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,17 +62,6 @@ export default defineAgent<ProcessUserData>({
6262 // llm: new openai.realtime.RealtimeModel({ voice: 'marin' }),
6363 // });
6464
65- // // Add a virtual avatar to the session, if desired
66- // // For other providers, see https://docs.livekit.io/agents/models/avatar/
67- // const avatar = new anam.AvatarSession({
68- // personaConfig: {
69- // name: '...',
70- // avatarId: '...', // See https://docs.livekit.io/agents/models/avatar/plugins/anam
71- // },
72- // });
73- // // Start the avatar and wait for it to join (after session.start)
74- // await avatar.start(session, ctx.room);
75-
7665 // Start the session, which initializes the voice pipeline and warms up the models
7766 await session . start ( {
7867 agent : new Agent ( ) ,
@@ -84,6 +73,17 @@ export default defineAgent<ProcessUserData>({
8473 } ,
8574 } ) ;
8675
76+ // // Add a virtual avatar to the session, if desired
77+ // // For other providers, see https://docs.livekit.io/agents/models/avatar/
78+ // const avatar = new anam.AvatarSession({
79+ // personaConfig: {
80+ // name: '...',
81+ // avatarId: '...', // See https://docs.livekit.io/agents/models/avatar/plugins/anam
82+ // },
83+ // });
84+ // // Start the avatar and wait for it to join
85+ // await avatar.start(session, ctx.room);
86+
8787 // Join the room and connect to the user
8888 await ctx . connect ( ) ;
8989
You can’t perform that action at this time.
0 commit comments