Python livekit-agents@1.4.6 Released

Released to support xAI TTS with emotion, now available on LiveKit Inference. See the video demo:

What’s Changed

  • fix(types): replace TypeGuard with TypeIs in is_given for bidirectional narrowing by @longcw in #5079

  • [inworld] websocket _recv_loop to flush the audio immediately by @ianbbqzy in #5071

  • fix: include null in enum array for nullable enum schemas by @MSameerAbbas in #5080

  • (openai chat completions): drop reasoning_effort when function tools are present by @tinalenguyen in #5088

  • (google realtime): replace deprecated mediaChunks by @tinalenguyen in #5089

  • fix: omit required field in tool schema when function has no parameters by @longcw in #5082

  • fix(sarvam-tts): correct mime_type from audio/mp3 to audio/wav by @shmundada93 in #5086

  • add trunk_config to WarmTransferTask for SIP endpoint transfers by @longcw in #5016

  • healthcare example by @tinalenguyen in #5031

  • fix(openai): only reuse previous_response_id when pending tool calls are completed by @longcw in #5094

  • feat(assemblyai): add speaker diarization support by @dlange-aai in #5074

  • fix: prevent _cancel_speech_pause from poisoning subsequent user turns by @giulio-leone in #5101

  • feat(google): support universal credential types in STT and TTS credentials_file by @rafallezanko in #5056

  • Add Murf AI - TTS Plugin Support by @gaurav-murf in #3000

  • feat(voice): add callable TextTransforms support with built-in replace transform by @longcw in #5104

  • fix(eou): only reset speech/speaking time when no new speech by @chenghao-mou in #5083

  • (xai): add tts by @tinalenguyen in #5120

  • (xai tts): add language parameter by @tinalenguyen in #5122

  • livekit-agents 1.4.6 by @theomonnom in #5123

New Contributors

Full Changelog: https://github.com/livekit/agents/compare/livekit-agents@1.4.5…livekit-agents@1.4.6

1 Like