File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ async def my_agent(ctx: JobContext):
6969 session = AgentSession (
7070 # Speech-to-text (STT) is your agent's ears, turning the user's speech into text that the LLM can understand
7171 # See all available models at https://docs.livekit.io/agents/models/stt/
72- stt = inference .STT (model = "deepgram/flux-general " , language = "en " ),
72+ stt = inference .STT (model = "deepgram/nova-3 " , language = "multi " ),
7373 # A Large Language Model (LLM) is your agent's brain, processing user input and generating a response
7474 # See all available models at https://docs.livekit.io/agents/models/llm/
7575 llm = inference .LLM (model = "openai/gpt-4.1-mini" ),
@@ -111,9 +111,12 @@ async def my_agent(ctx: JobContext):
111111 room = ctx .room ,
112112 room_options = room_io .RoomOptions (
113113 audio_input = room_io .AudioInputOptions (
114- noise_cancellation = lambda params : noise_cancellation .BVCTelephony ()
115- if params .participant .kind == rtc .ParticipantKind .PARTICIPANT_KIND_SIP
116- else noise_cancellation .BVC (),
114+ noise_cancellation = lambda params : (
115+ noise_cancellation .BVCTelephony ()
116+ if params .participant .kind
117+ == rtc .ParticipantKind .PARTICIPANT_KIND_SIP
118+ else noise_cancellation .BVC ()
119+ ),
117120 ),
118121 ),
119122 )
You can’t perform that action at this time.
0 commit comments