Repository navigation
Added
-
expand_percentages()now returns the transform, likeexpand_numbers(), and takes aread_trailing_zerosoption, with a matchingpercentage_trailing_zerosoption onVoiceFormatter. When set, a percentage's fraction is read one digit at a time likeexpand_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()topipecat.audio.utils, which mixes interleaved 16-bit PCM channels down to mono by averaging them.
(PR #6685) -
SarvamLLMService.Settings.reasoning_effortaccepts"none", which turns reasoning off on the models that allow it, and"max", whichglm5.3takes.
(PR #6762) -
Added
sip_porttoSIPConnection(andSIP_PORTto 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 fixedhost:port.
(PR #6877) -
Added a
dict_idsetting toSarvamTTSServiceandSarvamHttpTTSServiceto apply a Sarvam pronunciation dictionary during synthesis.
(PR #6900) -
Added
repeat_channels()topipecat.audio.utils, which repeats 16-bit mono PCM across interleaved channels, the counterpart ofmix_channels().
(PR #6903) -
Added
DeepgramLLMService, which runs Deepgram-hosted LLMs (default modelthink-fast) through Deepgram's OpenAI-compatible/v1/thinkendpoint. It supports tool calling, areasoning_effortsetting, and amip_opt_outconstructor argument for the Deepgram Model Improvement Program.pipecat initoffers it as an LLM choice.
(PR #6918) -
Added
EvalSessionParams.function_call_report_level(nameorfull), so a scripted eval run can ask the bot to report its function calls' names, or names and arguments, inevents_seen, whatever the scenario asserts.
(PR #6953) -
Added a
redact_usagesetting to the Deepgram STT services, which storeskeyterm,keywords,replace,searchandextra(pluscustom_topicandcustom_intenton pre-recorded requests) as[REDACTED]in Deepgram's usage records.DeepgramSTTServiceneeds deepgram-sdk 7.19.0 or later for it.
(PR #6963) -
HeyGenHttpTTSServicesettings now include HeyGen'sapply_text_normalization,expressiveness_boost,speed,pitch_shift,pitch_varianceandseedcontrols.
(PR #6969) -
Added
PlivoTTSServiceandPlivoHttpTTSService, text-to-speech with Koyal, Plivo's TTS model.PlivoTTSServicestreams over Plivo's Realtime API on one WebSocket, with one context per turn and word timestamps;PlivoHttpTTSServicesends one Batch API request per sentence. Install withpipecat-ai[plivo].
(PR #6987) -
The development runner now prints a
pipecat://connectlink 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 needssegno, which therunnerextra 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)
- Filtering function calls.
-
Added
enable_reconnecttoSonioxSTTService.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 initoffers 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'sSIP_MEDIA_ENCRYPTION, which encrypt every call with SRTP and refuse a received call that offers none.SIPConnection.media_encryptedreports whether the active call is encrypted.
(PR #7037) -
Added
SIPConnection(extra_config=...)and the runner'sSIP_EXTRA_CONFIG: raw lines for the SIP stack's configuration, for settings pipecat does not model.sip_verify_server noturns TLS verification off for a development server.
(PR #7037) -
Added
SIPTransport.connection, theSIPConnectionthe call runs over. A bot whose transport came fromcreate_transport()can now answer or refuse a ringing call itself: setSIPParams(auto_answer=False), handle the connection'sincomingevent, and callconnection.answer()orconnection.reject().
(PR #7037) -
Added the
on_sip_infoevent toSIPTransport(infoonSIPConnection): a SIP INFO request the far end sent on the call, with its content type and raw body.
(PR #7037) -
Added
sipHeaderstoSIPTransport.sip_refer()settings, andheaderstoSIPConnection.transfer(), to carry call context such asUser-to-Userto the party a caller is transferred to.SIPTransport.sip_attended_transfer()takessipHeaderstoo, and sends them on the consultation call to the target.
(PR #7037) -
SIPConnection.reject()now takes astatus, areasonandheaders, so a bot can refuse a call with 503 or 603 instead of486 Busy Here.
(PR #7037) -
Added
SIPTransport.set_hangup_headers()andSIPConnection.set_hangup_headers(): custom headers for the BYE that ends a SIP call, sent whichever way the bot ends it (EndFrame,stop_dialout()orhangup()). A contact-center platform reads its routing instructions from that BYE.
(PR #7037) -
Added
group_idtoFunctionCallsStartedFrame. It is the identifier shared by the tool calls of one LLM response whengroup_parallel_toolsis enabled, andNoneotherwise.
(PR #7067) -
Added
OpenAIRealtimeTTSService, which speaks text through OpenAI's Realtime API withgpt-realtime-2.1-miniby 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 includevoice, deliveryinstructions,speedandreasoning_effort("minimal"by default).
(PR #7153) -
Added
BaseWorker.on_job_group_created()and theon_job_group_createdevent, 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.UIWorkerannounces 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
-
SarvamLLMServicenow sendsgemma4,deepseekv4.1-flashandglm5.3the lowest reasoning setting Sarvam's/v2API accepts for each, unlessreasoning_effortis configured:"none"for the first two and"low"forglm5.3.sarvam-105b, the default model, still reasons by default; setreasoning_effort="none"for faster replies, at some cost to tool calling in Hindi and Hinglish. Setuse_provider_thinking_default=Trueto keep Sarvam's defaults for every model.
(PR #6762) -
Google's Gemini services now send
gemini-4-carbon,gemini-4-hydrogenandgemini-4-neonthe lowest thinking level Google documents for them,low, as they already do forgemini-4-argon.
(PR #6962) -
Google LLM services now send
thinking_level: low, the lowest level each accepts, togemini-4-carbon,gemini-4-hydrogenandgemini-4-neon, which otherwise run at Google's higher default.
(PR #6967) -
InworldRealtimeLLMServicesession properties now carry Inworld's generation controls:max_output_tokens,tool_choice,truncationandtext_generation_config(reasoning effort, top-p, penalties and token ceilings).
(PR #6970) -
NvidiaSegmentedSTTServicenow defaults toparakeet-1.1b-rnnt-multilingual, since NVIDIA retired the hostedcanary-1b-asrAPI on 2026-11-23.
(PR #6971) -
TurnDetectionfor OpenAI Realtime now takesidle_timeout_ms, so the model prompts a user who has gone silent for that long.
(PR #6972) -
OpenAIResponsesLLMServiceandOpenAIResponsesHttpLLMServicenow sendreasoning.effort="low", the lowest effort OpenAI documents, forgpt-6.2-astraandgpt-6.2-sol.
(PR #6973) -
RimeTTSServiceandRimeHttpTTSServicenow send thetimeScaleFactorsetting for every model, so Mist v3 requests can use the speed control Rime documents for it.
(PR #6974) -
SarvamLLMServicenow acceptsdeepseekv4.1-flash-1017,deepseekv4.1-flash-1017-interactiveandglm5.3-flash, the models Sarvam serves on its chat completions API.
(PR #6975) -
SmallestTTSService.Settingsgainedcomplete_backoff_ms, Waves' control over how long the server waits after the last audio chunk before sending thecompletestatus that ends the service's metrics.
(PR #6977) -
TogetherTTSServicenow resolves German, Korean and Russian to verified Together language codes, the languages Qwen3-TTS adds over the service's previous set.
(PR #6980) -
XAITTSServicenow has areplacesetting that sends xAI's pronunciation map to the streaming WebSocket endpoint, matchingXAIHttpTTSService.
(PR #6981) -
PredictiveDelegationnow runs its race between the classifier and the frontend's inference as aPredictiveDelegationRaceLLMExtensionon the frontend, the LLM extension "closest" to it. Predictive delegation behaves as before.
(PR #6995) -
AssemblyAISTTServicenow uses AssemblyAI's manual turn mode by default with
vad_force_turn_endpoint=True(the default) and the
assemblyai-stt-3-7-realtime-agentmodel (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'sstop_secs
(inside a phone number, for example) no longer split it into several finals.
Manual mode isn't used withspeaker_labels, andmode="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,
SarvamRealtimeSTTServicedefaults tosaaras:v4(previouslysaaras:v3-realtime); the 1.17.0 notes didn't mention it.saaras:v3-realtimeis in beta and Sarvam refuses it for API keys not enrolled in the beta. Select it withSettings(model="saaras:v3-realtime")to keep using it.
(PR #7007) -
The
runnerextra now requirespipecat-ai-prebuilt>=1.5.0.
(PR #7009) -
⚠️ A SIP call closed byrtp_timeout(SIP_RTP_TIMEOUTin 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 requiresbaresip-python>=0.7.0, which verifies TLS servers: atransport="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, pointSIP_CA_FILEat 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 throughsips: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 withreg_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")orOpenAILLMService(system_instruction="..."). The value is still ignored, as before, and the warning names the field to use instead, such assettings=CartesiaTTSService.Settings(voice=...). Provider-specific names that areSettingsaliases, such as Sarvam'sspeaker, are reported with the field they map to. Constructor parameters a service still accepts as deprecated, such asvoice_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,KoalaFilterandRNNoiseFilterraise fromstart()when they can't start, so the transport reports the error with anErrorFrameinstead 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 failingpyrnnoise.
(PR #7149) -
An audio filter that fails no longer stops the transport's audio or makes the transport unusable. When
audio_in_filteroraudio_out_filterraises fromstart()orfilter(), the transport pushes a non-fatalErrorFrame(handled inon_pipeline_error) and passes audio through unfiltered for the rest of the session.
(PR #7149) -
pipecat initnow generatesOpenAIRealtimeTTSServicewhen OpenAI TTS is chosen.
(PR #7153) -
NovitaLLMServicenow defaults todeepseek/deepseek-v4.1-flash, since Novita no longer servesmoonshotai/kimi-k2.5.
(PR #7189) -
SambaNovaLLMServicenow defaults togemma-4-31B-it, since SambaNova retiredMeta-Llama-3.3-70B-Instruct.
(PR #7189)
Deprecated
-
Passing
expand_percentagesitself as a text transform is deprecated and will be removed in 2.0.0. Call it to get the transform instead:expand_percentages(), orexpand_percentages(read_trailing_zeros=True). The old form keeps its output and emits aDeprecationWarning.
(PR #5901) -
OpenAITTSServiceis deprecated and will be removed in 2.0.0 or in the first release after January 6, 2027, whichever comes first. UseOpenAIRealtimeTTSServiceinstead. OpenAI shuts down every model the Speech API serves (gpt-4o-mini-tts,tts-1andtts-1-hd) on January 6, 2027, after whichOpenAITTSServicecan no longer synthesize speech.
(PR #7153)
Removed
pipecat initno longer offers the deprecated Inception LLM and XTTS TTS services. Both services remain in Pipecat until 2.0.0.
(PR #7028)
Fixed
-
Fixed
GeminiLiveLLMServicefailing with a1007error on the first audio turn after text input wheninference_on_context_initialization=Falseon Gemini 2.5.
(PR #4427) -
Fixed
GoogleSTTServicelosing 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 sharedSTTServicereconnect 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 forDeepgramFluxTTSService,DeepgramFluxSageMakerTTSServiceandBlandTTSService) not reporting usage metrics for text already sent for synthesis when an interruption or aCancelFramearrived before theLLMFullResponseEndFrameorEndFramethat reports it.
(PR #5615) -
Fixed Flows actions never finishing when the user interrupted a
tts_sayorfunctionaction before it reached the end of the pipeline. The interruption dropped the frame that ends the action, soexecute_actions()hung (stalling the node transition forpre_actions) and deferred post-actions stopped running for the rest of the session. Afunctionaction queued behind interrupted speech now still runs, and afunctionaction whose handler raises now ends too.
(PR #5912) -
Fixed
LLMContextSummarizer'smax_context_tokenstrigger ignoring audio in the context.LLMContextSummarizationUtil.estimate_context_tokens()now estimates the WAV audio ininput_audioparts, such as those added byLLMContext.add_audio_frames_message(), from its duration.
(PR #5923) -
Fixed
MCPClientreplacing a successful call'stools_output_filtersoutput withSorry, could not call the MCP toolwhen 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) -
SarvamTTSServicereports a Sarvam error once and ends the turn it cut short right away, instead of reporting it twice and holding up the next turn forstop_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
MCPClientdropping a tool schema's$defs, which the MCP Python SDK writes for model and enum arguments, so each$refinto them pointed at nothing. Gemini rejected every request carrying such a tool, soGoogleLLMServicenever replied andGeminiLiveLLMServicenever got the tools. The definitions are now inlined; where a model refers to itself, any value is accepted.
(PR #6420) -
Fixed
AudioBufferProcessorrecordings treating interleaved multi-channel input as mono audio.
(PR #6685) -
Fixed
expand_unitsexpanding only the part of a rate before the slash:100 km/hread "100 kilometers/h" and9.8 m/sread "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_unitsleaving the degree sign for the TTS engine:25°C,25°c,98.6°F, and90°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
SarvamRealtimeSTTServiceretrying 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'serrorevent, 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_percentagesleaving 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_currencyandexpand_numbersleaving 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
StripMarkdownleaving 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_numbersgarbling dotted number sequences such as versions and IP addresses ("1.2.3"became"one point two.three"). Likeexpand_currency, it now leaves such a sequence whole.
(PR #6786) -
Reject non-finite values for
max_duration_sandmax_silence_swhen loading a simulation eval.
(PR #6792) -
Fixed TTS services reporting a context as having no audio, and pushing its
TTSStoppedFrameahead of the audio, whenrun_ttstook longer thanstop_frame_timeout_sto produce its first audio. Services with word timestamps also left that text out of the LLM context.
(PR #6805) -
Fixed
LangchainProcessorpushing 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,ChatBedrockConverseandChatOpenAIon the Responses API.
(PR #6825) -
Fixed Pipecat Flows' built-in
tts_say,end_conversationandfunctionactions printing theDeprecationWarningfor single-argument action handlers, though the application registered no such handler.
(PR #6832) -
expand_currencyreads 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_markdownandVoiceFormattersending*,**,_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
AssemblyAITTSServicegoing silent after an interruption when the server skipsflush_ids afterCancel. Requests sent afterCancelnow take their IDs from the server's firstAudioorFlushDone.
(PR #6898) -
Fixed user turns with
ZoomAISTTServiceandvad_force_turn_endpoint=Trueending 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_currencydropping the part of an amount below one cent:$0.0085was read as "zero dollars" and$1.005as "one dollar". Such an amount is now read as a decimal, e.g. "zero point zero zero eight five dollars".
(PR #6943) -
StripMarkdownnow 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,OpenAIResponsesHttpLLMServiceandPerplexityAgentHttpLLMServiceleaving their HTTP client open after cleanup.
(PR #6947) -
GladiaSTTServicenow converts Burmese (Language.MY,Language.MY_MR) tomy, the language code Gladia accepts;mymrwas rejected with a 400 at session init.
(PR #6961) -
GeminiLiveLLMServicenow sends its defaultthinking_levelas aThinkingLevel, so connecting a Gemini Live thinking model no longer emits a Pydantic serializer warning.
(PR #6965) -
SarvamTTSServiceandSarvamHttpTTSServicenow sendpitch,loudnessandtemperatureon bothbulbul:v3andbulbul:v4-flash, which Sarvam documents as supporting all four voice controls; previously each model silently dropped some of them.
(PR #6976) -
TogetherSTTServicenow resamples input audio to the 16 kHz Together AI's transcription endpoint takes, so pipelines running at another rate transcribe correctly.
(PR #6979) -
Fixed
STTServicetext_transformsnot applying to the eager transcript (EagerTranscriptionFrame) thatDeepgramFluxSTTService,DeepgramFluxSageMakerSTTServiceandCartesiaTurnsSTTServicepush withenable_eager_end_of_turn=True. Its untransformed text reached the speculative LLM context and RTVIuser-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(withvad_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
AssemblyAISTTServicesometimes 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
EvalJudgeignoringmax_tokenswhen its explainer explains a whole conversation. That call now getsmax_tokenswhen 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
FunctionFiltercalling its filter function on frames it passes through unfiltered (lifecycle frames, system frames whenfilter_system_framesis off, and frames moving in the other direction).
(PR #6999) -
Fixed installation failing on Apple Silicon Macs running macOS 15 or earlier when the
rnnoiseextra is included: on macOS,pyrnnoiseis pinned to 0.4.3, the last release whose macOS wheel does not require macOS 26, along with theaudiolabandavversions it works with. Other platforms keeppyrnnoise0.4.5+.
(PR #7000) -
SegmentedSTTService(Whisper, fal, Moonshine and the other segmented STT services) drops audio received while muted withSTTMuteFrame, as streaming STT services do, instead of transcribing it when the user stops speaking.
(PR #7021) -
CartesiaTTSServicerecords 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 inTTSTextFrames, instead of dropping them.
(PR #7027) -
Fixed
pipecat initprojects using HeyGen video ignoringHEYGEN_AVATAR_IDfrom.env: the generated bot passed the literal string"HEYGEN_AVATAR_ID"as the avatar ID.
(PR #7028) -
Fixed
expand_unitsleaving 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_unitsreading 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_unitsleaving the pound abbreviationlbsunexpanded:10 lbsnow reads "10 pounds", like10 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_channelsinstead 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_currencyleaving 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_progressstayedTrue, 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_cancelleddoesn't fire for it.
(PR #7067) -
Fixed
group_parallel_toolsnot 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 withrun_in_parallel=False, wheregroup_parallel_toolseffectively 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 thegroup_idthatFunctionCallsStartedFramenow carries.
(PR #7067) -
Fixed Daily pinless dial-in with newer
daily-pythonversions.DailyTransportnow reads the SIP endpoint from theon_dialin_readydata when it is a mapping, so the caller is no longer left on hold after Daily rejects thepinlessCallUpdaterequest 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_numbersreading numbers written with thousand separators digit by digit when they are abovedigit_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
PipelineWorkerwithadd_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_currencyreads 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_unitsreads 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_numbersreading 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_numbersandexpand_percentagesleaving the dot in front of a decimal written without a leading zero: ".5" now reads as "zero point five" instead of ".five".expand_unitswrites the zero too, so ".1km" reads as "0.1 kilometers" instead of ".1 kilometer".
(PR #7113) -
Fixed
expand_currencyleaving an amount written without a leading zero, such as "$.99", unread. It now reads like "$0.99".
(PR #7115) -
expand_currencyreads an amount written with theRscode as rupees, so "Rs 500" and "Rs 42.50" are spoken instead of being left as written.
(PR #7122) -
Fixed
AICFilterending the input transport's audio task when the ai-coustics SDK raised during processing (e.g.ProcessingNotAllowedErrorfrom a license check). The transport now reports the error and passes audio through unfiltered for the rest of the session.
(PR #7133) -
Fixed
expand_currencyleaving 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
KoalaFilterpassing audio through unfiltered after a restart at the right sample rate, when an earlier start had used the wrong one.
(PR #7149) -
Fixed
KrispVivaFilterdropping 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 asDoç.andCad., so TTS gets whole sentences instead of fragments likeKartınızın 3.. Polishr.andgodz.and Spanish and German ordinal indicators (º,ª) no longer end a sentence either. These come from updatingsentencexto 1.0.37.
(PR #7154) -
Fixed a job's
timeoutbeing 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_numberssplitting Indian lakh/crore grouped numbers at the first comma (e.g.1,00,000now reads as "one hundred thousand" instead of "one,zero").
(PR #7162) -
Fixed
OLLamaLLMService.run_inference(max_tokens=...)not limiting the reply. Ollama ignoresmax_completion_tokens, so the cap is now sent asmax_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 initwriting aserver/bot.pythat fails withSyntaxError: unmatched ')'when Gemini Vertex Live is the realtime service.
(PR #7197)
Security
- Raised the
aiortcminimum version to1.17.0, which hardens SCTP parsing (aiortc#1516).
(PR #7016)