From 75b14d5200030ba982dd6e60126a988b20f8614f Mon Sep 17 00:00:00 2001 From: hailin Date: Sat, 28 Feb 2026 11:32:36 -0800 Subject: [PATCH] fix: use RoomOptions instead of deprecated RoomInputOptions RoomInputOptions is deprecated in livekit-agents 1.4.x. Switch to RoomOptions with explicit audio_input/audio_output enabled. Co-Authored-By: Claude Opus 4.6 --- packages/services/voice-agent/src/agent.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/services/voice-agent/src/agent.py b/packages/services/voice-agent/src/agent.py index 56a5003..2e90fcd 100644 --- a/packages/services/voice-agent/src/agent.py +++ b/packages/services/voice-agent/src/agent.py @@ -160,7 +160,9 @@ async def entrypoint(ctx: JobContext) -> None: await session.start( agent=IT0VoiceAgent(), room=ctx.room, - room_input_options=room_io.RoomInputOptions( + room_options=room_io.RoomOptions( + audio_input=True, + audio_output=True, participant_identity=participant.identity, ), )