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 <noreply@anthropic.com>
This commit is contained in:
parent
46a2d06be3
commit
75b14d5200
|
|
@ -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,
|
||||
),
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue