Skip to content

v1.18.0

Latest

Choose a tag to compare

@github-actions github-actions released this 05 Dec 06:26
8ffe551

Added

  • expand_percentages() now returns the transform, like expand_numbers(), and takes a read_trailing_zeros option, with a matching percentage_trailing_zeros option on VoiceFormatter. When set, a percentage's fraction is read one digit at a time like expand_numbers, so "1.10%" reads as "one point one zero percent". The default is unchanged ("1.10%" still reads as "one point one percent").
    (PR #5901)

  • Added mix_channels() to pipecat.audio.utils, which mixes interleaved 16-bit PCM channels down to mono by averaging them.
    (PR #6685)

  • SarvamLLMService.Settings.reasoning_effort accepts "none", which turns reasoning off on the models that allow it, and "max", which glm5.3 takes.
    (PR #6762)

  • Added sip_port to SIPConnection (and SIP_PORT to the development runner) to listen on a fixed local SIP port, so a registration-less (trunk mode) bot can receive calls a carrier routes to a fixed host:port.
    (PR #6877)

  • Added a dict_id setting to SarvamTTSService and SarvamHttpTTSService to apply a Sarvam pronunciation dictionary during synthesis.
    (PR #6900)

  • Added repeat_channels() to pipecat.audio.utils, which repeats 16-bit mono PCM across interleaved channels, the counterpart of mix_channels().
    (PR #6903)

  • Added DeepgramLLMService, which runs Deepgram-hosted LLMs (default model think-fast) through Deepgram's OpenAI-compatible /v1/think endpoint. It supports tool calling, a reasoning_effort setting, and a mip_opt_out constructor argument for the Deepgram Model Improvement Program. pipecat init offers it as an LLM choice.
    (PR #6918)

  • Added EvalSessionParams.function_call_report_level (name or full), so a scripted eval run can ask the bot to report its function calls' names, or names and arguments, in events_seen, whatever the scenario asserts.
    (PR #6953)

  • Added a redact_usage setting to the Deepgram STT services, which stores keyterm, keywords, replace, search and extra (plus custom_topic and custom_intent on pre-recorded requests) as [REDACTED] in Deepgram's usage records. DeepgramSTTService needs deepgram-sdk 7.19.0 or later for it.
    (PR #6963)

  • HeyGenHttpTTSService settings now include HeyGen's apply_text_normalization, expressiveness_boost, speed, pitch_shift, pitch_variance and seed controls.
    (PR #6969)

  • Added PlivoTTSService and PlivoHttpTTSService, text-to-speech with Koyal, Plivo's TTS model. PlivoTTSService streams over Plivo's Realtime API on one WebSocket, with one context per turn and word timestamps; PlivoHttpTTSService sends one Batch API request per sentence. Install with pipecat-ai[plivo].
    (PR #6987)

  • The development runner now prints a pipecat://connect link and a QR code of it when it listens on a network address (e.g. --host 0.0.0.0) with the WebRTC or Daily transport enabled. Scanning the code with a phone opens the Pipecat Playground app connected to the bot. The QR code needs segno, which the runner extra now installs; without it, only the link is printed.
    (PR #6993)

  • Added two kinds of new affordances to LLM extensions (BaseLLMExtension):

    • Filtering function calls. filter_function_calls() takes the function calls the service is about to run and returns the ones to run. A call it drops is not run, and nothing of it reaches the context or the pipeline.
    • New ways of asking the service to act, akin to how an extension asks it to push a frame:
      • run_function_calls() runs function calls of the extension's own.
      • queue_frame() queues a frame for the service to process.
      • cancel_inference_in_progress() cancels the service's inference for a context frame, if it is the one in progress.
        (PR #6995)
  • Added enable_reconnect to SonioxSTTService.Settings, supporting Soniox stream reconnect: a dropped connection resumes the same stream, so no audio or transcript is lost. Off by default, since Soniox bills the up to 20 s a dropped stream waits for the reconnect.
    (PR #7001)

  • Added DeepgramFluxHttpTTSService, which synthesizes Deepgram Flux TTS voices over HTTP (POST /v2/speak). Use it where a websocket TTS service does not fit, such as the caller voice in evals, including for languages that only have Flux voices, like Hindi.
    (PR #7006)

  • pipecat init offers ten more services: FunASR, Sarvam Realtime and Together for STT; Nebius for LLM; Rime WebSocket v1, Speechmatics and Together for TTS; and Inworld Realtime, OpenAI Live and Rime Realtime for realtime speech-to-speech.
    (PR #7028)

  • Added SIPConnection(media_encryption=SIPMediaEncryption.SRTP) and the runner's SIP_MEDIA_ENCRYPTION, which encrypt every call with SRTP and refuse a received call that offers none. SIPConnection.media_encrypted reports whether the active call is encrypted.
    (PR #7037)

  • Added SIPConnection(extra_config=...) and the runner's SIP_EXTRA_CONFIG: raw lines for the SIP stack's configuration, for settings pipecat does not model. sip_verify_server no turns TLS verification off for a development server.
    (PR #7037)

  • Added SIPTransport.connection, the SIPConnection the call runs over. A bot whose transport came from create_transport() can now answer or refuse a ringing call itself: set SIPParams(auto_answer=False), handle the connection's incoming event, and call connection.answer() or connection.reject().
    (PR #7037)

  • Added the on_sip_info event to SIPTransport (info on SIPConnection): a SIP INFO request the far end sent on the call, with its content type and raw body.
    (PR #7037)

  • Added sipHeaders to SIPTransport.sip_refer() settings, and headers to SIPConnection.transfer(), to carry call context such as User-to-User to the party a caller is transferred to. SIPTransport.sip_attended_transfer() takes sipHeaders too, and sends them on the consultation call to the target.
    (PR #7037)

  • SIPConnection.reject() now takes a status, a reason and headers, so a bot can refuse a call with 503 or 603 instead of 486 Busy Here.
    (PR #7037)

  • Added SIPTransport.set_hangup_headers() and SIPConnection.set_hangup_headers(): custom headers for the BYE that ends a SIP call, sent whichever way the bot ends it (EndFrame, stop_dialout() or hangup()). A contact-center platform reads its routing instructions from that BYE.
    (PR #7037)

  • Added group_id to FunctionCallsStartedFrame. It is the identifier shared by the tool calls of one LLM response when group_parallel_tools is enabled, and None otherwise.
    (PR #7067)

  • Added OpenAIRealtimeTTSService, which speaks text through OpenAI's Realtime API with gpt-realtime-2.1-mini by default. Each sentence is sent as an out-of-band response the model reads aloud word for word, so it keeps working after OpenAI shuts down its Speech API models. Settings include voice, delivery instructions, speed and reasoning_effort ("minimal" by default).
    (PR #7153)

  • Added BaseWorker.on_job_group_created() and the on_job_group_created event, fired when a worker creates a job group, before the group's job requests go out. The group is cancelled if the method raises or is cancelled. UIWorker announces a job group to the client from it, so the client sees the group start before any of its workers report back.
    (PR #7160)

Changed

  • SarvamLLMService now sends gemma4, deepseekv4.1-flash and glm5.3 the lowest reasoning setting Sarvam's /v2 API accepts for each, unless reasoning_effort is configured: "none" for the first two and "low" for glm5.3. sarvam-105b, the default model, still reasons by default; set reasoning_effort="none" for faster replies, at some cost to tool calling in Hindi and Hinglish. Set use_provider_thinking_default=True to keep Sarvam's defaults for every model.
    (PR #6762)

  • Google's Gemini services now send gemini-4-carbon, gemini-4-hydrogen and gemini-4-neon the lowest thinking level Google documents for them, low, as they already do for gemini-4-argon.
    (PR #6962)

  • Google LLM services now send thinking_level: low, the lowest level each accepts, to gemini-4-carbon, gemini-4-hydrogen and gemini-4-neon, which otherwise run at Google's higher default.
    (PR #6967)

  • InworldRealtimeLLMService session properties now carry Inworld's generation controls: max_output_tokens, tool_choice, truncation and text_generation_config (reasoning effort, top-p, penalties and token ceilings).
    (PR #6970)

  • NvidiaSegmentedSTTService now defaults to parakeet-1.1b-rnnt-multilingual, since NVIDIA retired the hosted canary-1b-asr API on 2026-11-23.
    (PR #6971)

  • TurnDetection for OpenAI Realtime now takes idle_timeout_ms, so the model prompts a user who has gone silent for that long.
    (PR #6972)

  • OpenAIResponsesLLMService and OpenAIResponsesHttpLLMService now send reasoning.effort="low", the lowest effort OpenAI documents, for gpt-6.2-astra and gpt-6.2-sol.
    (PR #6973)

  • RimeTTSService and RimeHttpTTSService now send the timeScaleFactor setting for every model, so Mist v3 requests can use the speed control Rime documents for it.
    (PR #6974)

  • SarvamLLMService now accepts deepseekv4.1-flash-1017, deepseekv4.1-flash-1017-interactive and glm5.3-flash, the models Sarvam serves on its chat completions API.
    (PR #6975)

  • SmallestTTSService.Settings gained complete_backoff_ms, Waves' control over how long the server waits after the last audio chunk before sending the complete status that ends the service's metrics.
    (PR #6977)

  • TogetherTTSService now resolves German, Korean and Russian to verified Together language codes, the languages Qwen3-TTS adds over the service's previous set.
    (PR #6980)

  • XAITTSService now has a replace setting that sends xAI's pronunciation map to the streaming WebSocket endpoint, matching XAIHttpTTSService.
    (PR #6981)

  • PredictiveDelegation now runs its race between the classifier and the frontend's inference as a PredictiveDelegationRaceLLMExtension on the frontend, the LLM extension "closest" to it. Predictive delegation behaves as before.
    (PR #6995)

  • AssemblyAISTTService now uses AssemblyAI's manual turn mode by default with
    vad_force_turn_endpoint=True (the default) and the
    assemblyai-stt-3-7-realtime-agent model (the default). AssemblyAI then ends
    no turns on its own: each VAD stop sends a ForceEndpoint and gets one final
    transcript for the whole turn, so pauses shorter than the VAD's stop_secs
    (inside a phone number, for example) no longer split it into several finals.
    Manual mode isn't used with speaker_labels, and mode="manual" can also be
    set explicitly. To keep AssemblyAI's turn detection running under the VAD's
    ForceEndpoint, set a preset:

    stt = AssemblyAISTTService(
        api_key=os.environ["ASSEMBLYAI_API_KEY"],
        settings=AssemblyAISTTService.Settings(mode="balanced"),
    )

    (PR #6996)

  • Since 1.17.0, SarvamRealtimeSTTService defaults to saaras:v4 (previously saaras:v3-realtime); the 1.17.0 notes didn't mention it. saaras:v3-realtime is in beta and Sarvam refuses it for API keys not enrolled in the beta. Select it with Settings(model="saaras:v3-realtime") to keep using it.
    (PR #7007)

  • The runner extra now requires pipecat-ai-prebuilt>=1.5.0.
    (PR #7009)

  • ⚠️ A SIP call closed by rtp_timeout (SIP_RTP_TIMEOUT in the runner) now reports the close reason "rtp timeout" instead of "rtp stream error", and logs a warning naming the timeout.
    (PR #7037)

  • ⚠️ The SIP transport now requires baresip-python>=0.7.0, which verifies TLS servers: a transport="tls" account fails to register when the server's certificate does not chain to a trusted CA or does not name the host connected to. For a server with a private or self-signed certificate, point SIP_CA_FILE at its CA certificate; a server reached by IP address needs a certificate that carries that address. With the new version a received call that offers SRTP is answered and encrypted where it was refused with 488, a blind transfer sends its target in angle brackets, and calls routed through sips: addresses complete.
    (PR #7037)

  • ⚠️ A SIP account that registers now sends its calls through its registrar, on the connection the registration keeps alive, so a far-end hang-up reaches the bot on a long call. SIPConnection(registrar=...) defaults to the account's own domain. The far end sees the registrar's address, not the bot's, and a registrar that does not relay calls to other domains refuses them; use a connection with reg_interval=0, addressed at that domain, to call it directly.
    (PR #7045)

  • AI services now log a warning when a setting is passed straight to the constructor, such as CartesiaTTSService(voice="x") or OpenAILLMService(system_instruction="..."). The value is still ignored, as before, and the warning names the field to use instead, such as settings=CartesiaTTSService.Settings(voice=...). Provider-specific names that are Settings aliases, such as Sarvam's speaker, are reported with the field they map to. Constructor parameters a service still accepts as deprecated, such as voice_id, keep working as they did.
    (PR #7101)

  • The ElevenLabs examples no longer fall back to the Alice and Roger voices, which ElevenLabs retires on December 31, 2026 and which accounts created after March 2026 can't use. They use Alicia and Darian, ElevenLabs' listed replacements.
    (PR #7104)

  • AICFilter, KoalaFilter and RNNoiseFilter raise from start() when they can't start, so the transport reports the error with an ErrorFrame instead of the filter only logging it. This covers a rejected ai-coustics license key, a sample rate other than Koala's, and a missing or failing pyrnnoise.
    (PR #7149)

  • An audio filter that fails no longer stops the transport's audio or makes the transport unusable. When audio_in_filter or audio_out_filter raises from start() or filter(), the transport pushes a non-fatal ErrorFrame (handled in on_pipeline_error) and passes audio through unfiltered for the rest of the session.
    (PR #7149)

  • pipecat init now generates OpenAIRealtimeTTSService when OpenAI TTS is chosen.
    (PR #7153)

  • NovitaLLMService now defaults to deepseek/deepseek-v4.1-flash, since Novita no longer serves moonshotai/kimi-k2.5.
    (PR #7189)

  • SambaNovaLLMService now defaults to gemma-4-31B-it, since SambaNova retired Meta-Llama-3.3-70B-Instruct.
    (PR #7189)

Deprecated

  • Passing expand_percentages itself as a text transform is deprecated and will be removed in 2.0.0. Call it to get the transform instead: expand_percentages(), or expand_percentages(read_trailing_zeros=True). The old form keeps its output and emits a DeprecationWarning.
    (PR #5901)

  • OpenAITTSService is deprecated and will be removed in 2.0.0 or in the first release after January 6, 2027, whichever comes first. Use OpenAIRealtimeTTSService instead. OpenAI shuts down every model the Speech API serves (gpt-4o-mini-tts, tts-1 and tts-1-hd) on January 6, 2027, after which OpenAITTSService can no longer synthesize speech.
    (PR #7153)

Removed

  • pipecat init no longer offers the deprecated Inception LLM and XTTS TTS services. Both services remain in Pipecat until 2.0.0.
    (PR #7028)

Fixed

  • Fixed GeminiLiveLLMService failing with a 1007 error on the first audio turn after text input when inference_on_context_initialization=False on Gemini 2.5.
    (PR #4427)

  • Fixed GoogleSTTService losing the utterance in progress when STT settings changed mid-speech. A settings update tore the recognition stream down the moment it arrived, and the audio already sent for that utterance was never transcribed. The reconnect now goes through the shared STTService reconnect handling: it waits until the user stops speaking, and audio arriving while the new stream is established is buffered and replayed.
    (PR #5590)

  • Fixed TTS services in TextAggregationMode.TOKEN (the default for DeepgramFluxTTSService, DeepgramFluxSageMakerTTSService and BlandTTSService) not reporting usage metrics for text already sent for synthesis when an interruption or a CancelFrame arrived before the LLMFullResponseEndFrame or EndFrame that reports it.
    (PR #5615)

  • Fixed Flows actions never finishing when the user interrupted a tts_say or function action before it reached the end of the pipeline. The interruption dropped the frame that ends the action, so execute_actions() hung (stalling the node transition for pre_actions) and deferred post-actions stopped running for the rest of the session. A function action queued behind interrupted speech now still runs, and a function action whose handler raises now ends too.
    (PR #5912)

  • Fixed LLMContextSummarizer's max_context_tokens trigger ignoring audio in the context. LLMContextSummarizationUtil.estimate_context_tokens() now estimates the WAV audio in input_audio parts, such as those added by LLMContext.add_audio_frames_message(), from its duration.
    (PR #5923)

  • Fixed MCPClient replacing a successful call's tools_output_filters output with Sorry, could not call the MCP tool when the filter returned a non-string value or the empty string. Filter output is now delivered to the model as-is; a failed call or a filter that raises still reports the error.
    (PR #6111)

  • SarvamTTSService reports a Sarvam error once and ends the turn it cut short right away, instead of reporting it twice and holding up the next turn for stop_frame_timeout_s.
    (PR #6244)

  • Fixed OpenAI-compatible LLM services leaving their HTTP client open after cleanup.
    (PR #6284)

  • Pronunciation transforms preserve case-insensitive Unicode matches without raising a lookup error.
    (PR #6360)

  • StripMarkdown removes closing ATX heading markers while preserving heading text and line breaks.
    (PR #6388)

  • Fixed MCPClient dropping a tool schema's $defs, which the MCP Python SDK writes for model and enum arguments, so each $ref into them pointed at nothing. Gemini rejected every request carrying such a tool, so GoogleLLMService never replied and GeminiLiveLLMService never got the tools. The definitions are now inlined; where a model refers to itself, any value is accepted.
    (PR #6420)

  • Fixed AudioBufferProcessor recordings treating interleaved multi-channel input as mono audio.
    (PR #6685)

  • Fixed expand_units expanding only the part of a rate before the slash: 100 km/h read "100 kilometers/h" and 9.8 m/s read "9.8 meters/s". A unit followed by a time unit after a slash (/h, /hr, /s, /sec, /min, ...) now reads as a rate, e.g. "100 kilometers per hour" and "100 megabytes per second".
    (PR #6756)

  • Fixed expand_units leaving the degree sign for the TTS engine: 25°C, 25°c, 98.6°F, and 90° now read "25 degrees Celsius", "98.6 degrees Fahrenheit", and "90 degrees". A lowercase scale letter (72°f, 72 °f) is the same unit. A degree sign followed by another letter or a digit (40°N, 40°30′) is unchanged.
    (PR #6757)

  • Fixed SarvamRealtimeSTTService retrying connections that Sarvam refused for good. An invalid API key, a model the account can't use, or a rejected setting now gets the matching error category from Sarvam's error event, so the service stops after one attempt and becomes unusable instead of reconnecting until its retry limit. A rate limit or exhausted credits is still retried.
    (PR #6761)

  • Fixed expand_percentages leaving the dash of a range and a leading minus sign next to the spoken words. "5-10%" now reads as "5 to ten percent" and "-5%" as "minus five percent".
    (PR #6779)

  • Fixed expand_currency and expand_numbers leaving a leading minus sign next to the spoken amount. "-$5" now reads as "minus five dollars" and "-5" as "minus five". The sign must touch the amount, so ranges ("$10-$20", "5-10"), phone numbers, dates, "COVID-19" and spaced dashes ("Latte - $4.50", "10 - 5") are unchanged.
    (PR #6780)

  • Fixed StripMarkdown leaving list bullets, headers and horizontal rules inside a blockquote ("> - item" became "- item") and a marker of a nested blockquote ("> > text" became "> text").
    (PR #6785)

  • Fixed expand_numbers garbling dotted number sequences such as versions and IP addresses ("1.2.3" became "one point two.three"). Like expand_currency, it now leaves such a sequence whole.
    (PR #6786)

  • Reject non-finite values for max_duration_s and max_silence_s when loading a simulation eval.
    (PR #6792)

  • Fixed TTS services reporting a context as having no audio, and pushing its TTSStoppedFrame ahead of the audio, when run_tts took longer than stop_frame_timeout_s to produce its first audio. Services with word timestamps also left that text out of the LLM context.
    (PR #6805)

  • Fixed LangchainProcessor pushing the Python repr of a chat model's content blocks instead of their text, which made TTS speak things like [{'type': 'text', 'text': 'Hello'}] and stored them in the context. This affected models that stream list content, such as Gemini 3, ChatBedrockConverse and ChatOpenAI on the Responses API.
    (PR #6825)

  • Fixed Pipecat Flows' built-in tts_say, end_conversation and function actions printing the DeprecationWarning for single-argument action handlers, though the application registered no such handler.
    (PR #6832)

  • expand_currency reads amounts written with Indian lakh/crore digit grouping as one number, so "₹1,00,000" is spoken as "one hundred thousand rupees".
    (PR #6843)

  • Fixed strip_markdown and VoiceFormatter sending *, **, _ or __ to the TTS when an emphasized span ends in sentence punctuation, as in **Great question!** Let me explain. The closing marker now stays with its sentence, so the assistant context also keeps the span as written.
    (PR #6857)

  • Fixed AssemblyAITTSService going silent after an interruption when the server skips flush_ids after Cancel. Requests sent after Cancel now take their IDs from the server's first Audio or FlushDone.
    (PR #6898)

  • Fixed user turns with ZoomAISTTService and vad_force_turn_endpoint=True ending late, after the STT timeout, when the user's last sound had no words, such as a breath or a cough.
    (PR #6902)

  • Fixed expand_currency dropping the part of an amount below one cent: $0.0085 was read as "zero dollars" and $1.005 as "one dollar". Such an amount is now read as a decimal, e.g. "zero point zero zero eight five dollars".
    (PR #6943)

  • StripMarkdown now keeps a backslash-escaped character (\_, \#, \[) as plain text without its backslash, instead of passing the backslash to TTS or reading escaped underscores as emphasis.
    (PR #6945)

  • Fixed OpenAIResponsesLLMService, OpenAIResponsesHttpLLMService and PerplexityAgentHttpLLMService leaving their HTTP client open after cleanup.
    (PR #6947)

  • GladiaSTTService now converts Burmese (Language.MY, Language.MY_MR) to my, the language code Gladia accepts; mymr was rejected with a 400 at session init.
    (PR #6961)

  • GeminiLiveLLMService now sends its default thinking_level as a ThinkingLevel, so connecting a Gemini Live thinking model no longer emits a Pydantic serializer warning.
    (PR #6965)

  • SarvamTTSService and SarvamHttpTTSService now send pitch, loudness and temperature on both bulbul:v3 and bulbul:v4-flash, which Sarvam documents as supporting all four voice controls; previously each model silently dropped some of them.
    (PR #6976)

  • TogetherSTTService now resamples input audio to the 16 kHz Together AI's transcription endpoint takes, so pipelines running at another rate transcribe correctly.
    (PR #6979)

  • Fixed STTService text_transforms not applying to the eager transcript (EagerTranscriptionFrame) that DeepgramFluxSTTService, DeepgramFluxSageMakerSTTService and CartesiaTurnsSTTService push with enable_eager_end_of_turn=True. Its untransformed text reached the speculative LLM context and RTVI user-llm-text, and a transform that changed words made the speculative response miss, so a second inference ran. It is now rewritten with the transforms for a final transcript.
    (PR #6984)

  • Deepgram Flux STT now keeps updated turn detection settings when the WebSocket reconnects.
    (PR #6988)

  • Fixed the user turn waiting for the STT timeout when AssemblyAISTTService (with vad_force_turn_endpoint=True) returns an empty final transcript because nothing was said; the turn now ends as soon as the empty final arrives.
    (PR #6996)

  • Fixed AssemblyAISTTService sometimes ending the session with error 3007 on disconnect: the audio left in its buffer could be shorter than the 20 ms AssemblyAI accepts, and is now padded with silence.
    (PR #6996)

  • Fixed EvalJudge ignoring max_tokens when its explainer explains a whole conversation. That call now gets max_tokens when it is larger than the budget sized from the number of verdicts, so an explainer that thinks before answering can be given room to write its reasons.
    (PR #6998)

  • Fixed FunctionFilter calling its filter function on frames it passes through unfiltered (lifecycle frames, system frames when filter_system_frames is off, and frames moving in the other direction).
    (PR #6999)

  • Fixed installation failing on Apple Silicon Macs running macOS 15 or earlier when the rnnoise extra is included: on macOS, pyrnnoise is pinned to 0.4.3, the last release whose macOS wheel does not require macOS 26, along with the audiolab and av versions it works with. Other platforms keep pyrnnoise 0.4.5+.
    (PR #7000)

  • SegmentedSTTService (Whisper, fal, Moonshine and the other segmented STT services) drops audio received while muted with STTMuteFrame, as streaming STT services do, instead of transcribing it when the user stops speaking.
    (PR #7021)

  • CartesiaTTSService records Thai in the assistant transcript and word frames as it was written, instead of one character per word (ส วั ส ดี). Each Thai vowel, tone mark and punctuation mark joins the character before it, as in Chinese and Japanese, and the spaces between phrases are kept.
    (PR #7027)

  • Word-timestamp TTS services whose words carry their own spacing (includes_inter_frame_spaces), such as Chinese and Japanese, keep the spaces the text has in the assistant transcript and in TTSTextFrames, instead of dropping them.
    (PR #7027)

  • Fixed pipecat init projects using HeyGen video ignoring HEYGEN_AVATAR_ID from .env: the generated bot passed the literal string "HEYGEN_AVATAR_ID" as the avatar ID.
    (PR #7028)

  • Fixed expand_units leaving the dash of a range and a leading minus sign next to the spoken unit. "5-10km" now reads as "5 to 10 kilometers", "20-25°C" as "20 to 25 degrees Celsius", and "-5°C" as "minus 5 degrees Celsius".
    (PR #7031)

  • Fixed expand_units reading a rate with spaces around the slash as just the unit before it. "100 km / h" now reads as "100 kilometers per hour" and "9.8 m / s" as "9.8 meters per second", matching the compact "km/h" and "m/s" forms.
    (PR #7032)

  • Fixed expand_units leaving the pound abbreviation lbs unexpanded: 10 lbs now reads "10 pounds", like 10 lb.
    (PR #7033)

  • Fixed the last audio chunk of a bot turn playing at half length on a SIP call with two audio channels. The chunk was labelled with audio_out_channels instead of the channel count of its audio, so the SIP transport wrote mono TTS audio as if it were already stereo.
    (PR #7036)

  • Fixed expand_currency leaving the dash of a price range between the spoken amounts. "$10-$20" now reads as "ten dollars to twenty dollars", like a percentage range.
    (PR #7039)

  • Fixed the SIP transport going deaf when a call's codec changed in mid-call. A far end that renegotiated the call to another sample rate, such as a softphone resuming a held call on opus instead of PCMU, stopped the bot's audio reader for the rest of the call; sending failed the same way.
    (PR #7050)

  • Fixed a tool call staying "in progress" for the rest of the session when the user interrupted the speech before the call, or the call timed out while that speech played. has_function_calls_in_progress stayed True, so a Pipecat Flows transition waiting for its function calls never ran. The call is now recorded as cancelled, and a timeout runs inference so the LLM learns the call timed out.
    (PR #7067)

  • Fixed an interruption replacing a tool call's result with "CANCELLED" when the handler had already reported its final result but was still running, for instance cleaning up. Such a call is no longer cancelled: its handler runs to completion, its result reaches the context, and on_function_calls_cancelled doesn't fire for it.
    (PR #7067)

  • Fixed group_parallel_tools not grouping the tool calls of one LLM response when they finished at different times. The bot could reply twice, or reply before every result was in, whenever a call's result reached the context aggregator before another call of the same response had started. This happened with run_in_parallel=False, where group_parallel_tools effectively had no effect, and with parallel handlers that answered without yielding. The aggregator now holds inference until every call in the response has settled, whether the calls run at the same time or one after another. It learns which calls belong to the response from the group_id that FunctionCallsStartedFrame now carries.
    (PR #7067)

  • Fixed Daily pinless dial-in with newer daily-python versions. DailyTransport now reads the SIP endpoint from the on_dialin_ready data when it is a mapping, so the caller is no longer left on hold after Daily rejects the pinlessCallUpdate request with a 400.
    (PR #7079)

  • Fixed eval simulations leaving a bot line that an interruption cut short out of the judged conversation. The persona heard and answered the line, but the judge never saw it.
    (PR #7085)

  • Fixed expand_numbers reading numbers written with thousand separators digit by digit when they are above digit_cutoff ("5,000 people" became "5 0 0 0 people"). A grouped number is a quantity, so it is now read as words; ungrouped numbers above the cutoff are still read digit by digit.
    (PR #7089)

  • Fixed observers added to a running PipelineWorker with add_observer() never being set up. They are now set up with the worker's task manager before they get any event, and adding an observer that is already added has no effect.
    (PR #7093)

  • expand_currency reads an amount followed by lakh or crore scale words as one amount, so "₹1.5 crore" is spoken as "one point five crore rupees" and "₹2 lakh crore" as "two lakh crore rupees".
    (PR #7096)

  • expand_units reads plural unit abbreviations ("kgs", "kms", "hrs", "mins", "secs") and bare time abbreviations ("30 sec", "5 min", "2 hr") as their spoken form.
    (PR #7097)

  • Fixed expand_numbers reading clock times and ratios as separate numbers ("9:05" became "nine:five", which TTS speaks as "nine five"). Like a dotted version number, a time or ratio is now left whole for the TTS engine to read.
    (PR #7106)

  • Fixed expand_numbers and expand_percentages leaving the dot in front of a decimal written without a leading zero: ".5" now reads as "zero point five" instead of ".five". expand_units writes the zero too, so ".1km" reads as "0.1 kilometers" instead of ".1 kilometer".
    (PR #7113)

  • Fixed expand_currency leaving an amount written without a leading zero, such as "$.99", unread. It now reads like "$0.99".
    (PR #7115)

  • expand_currency reads an amount written with the Rs code as rupees, so "Rs 500" and "Rs 42.50" are spoken instead of being left as written.
    (PR #7122)

  • Fixed AICFilter ending the input transport's audio task when the ai-coustics SDK raised during processing (e.g. ProcessingNotAllowedError from a license check). The transport now reports the error and passes audio through unfiltered for the rest of the session.
    (PR #7133)

  • Fixed expand_currency leaving the second amount of a price range unread when the symbol is written once. "$10-20" now reads as "ten dollars to twenty dollars", and "$20-30 million" as "twenty million dollars to thirty million dollars".
    (PR #7135)

  • Fixed KoalaFilter passing audio through unfiltered after a restart at the right sample rate, when an earlier start had used the wrong one.
    (PR #7149)

  • Fixed KrispVivaFilter dropping buffered audio, repeating part of the current chunk, and logging a traceback for every chunk when Krisp processing failed. The error is now reported once by the transport, which then passes audio through.
    (PR #7149)

  • Turkish text is no longer split into sentences after ordinals (3. taksit) or abbreviations such as Doç. and Cad., so TTS gets whole sentences instead of fragments like Kartınızın 3.. Polish r. and godz. and Spanish and German ordinal indicators (º, ª) no longer end a sentence either. These come from updating sentencex to 1.0.37.
    (PR #7154)

  • Fixed a job's timeout being counted twice, once while waiting for its workers to be ready and again for the job, and a job group staying open when its requester was cancelled while the job request was being sent.
    (PR #7160)

  • Fixed expand_numbers splitting Indian lakh/crore grouped numbers at the first comma (e.g. 1,00,000 now reads as "one hundred thousand" instead of "one,zero").
    (PR #7162)

  • Fixed OLLamaLLMService.run_inference(max_tokens=...) not limiting the reply. Ollama ignores max_completion_tokens, so the cap is now sent as max_tokens.
    (PR #7191)

  • Fixed doubled bot-track duration when recording stereo bot output with AudioBufferProcessor.
    (PR #7194)

  • Fixed eval simulations sending a persona reply to the bot after the run had ended.
    (PR #7196)

  • Fixed eval simulations failing the bot when the persona's LLM was slow to reply. Waiting on the persona no longer counts as silence: its reply gets 60 s, and a reply that never comes ends the run as a harness error.
    (PR #7196)

  • Fixed pipecat init writing a server/bot.py that fails with SyntaxError: unmatched ')' when Gemini Vertex Live is the realtime service.
    (PR #7197)

Security

  • Raised the aiortc minimum version to 1.17.0, which hardens SCTP parsing (aiortc#1516).
    (PR #7016)