v1.2.1

pipecat-ai/pipecatv1.2.1May 15, 2026by aconchillo

AI Summary

This release updates the default WebSocket endpoints for Gradium services to region-neutral URLs for automatic routing and resolves a critical bug where bots would hang when using tool calls with incomplete user turn filtering enabled.

Key Highlights

  • Updated Gradium WebSocket endpoints to region-neutral URLs (`wss://api.gradium.ai/api/speech/asr` and `wss://api.gradium.ai/api/speech/tts`) for automatic routing to the nearest endpoint.
  • Fixed a critical bug causing bot hangs when `filter_incomplete_user_turns` was enabled and the LLM called a tool.
  • Tool calls now finalize user turns immediately upon starting to ensure LLM continuation runs correctly.

Breaking Changes

  • The default WebSocket endpoints for `GradiumSTTService` and `GradiumTTSService` have changed. Users currently hardcoded to specific regional endpoints must update their URLs to prevent connection failures.

Full Release Notes

### Changed

- Changed the default WebSocket endpoints for `GradiumSTTService` and `GradiumTTSService` to the region-neutral `wss://api.gradium.ai/api/speech/asr` and `wss://api.gradium.ai/api/speech/tts`. Gradium now automatically routes traffic to the nearest endpoint. Override the url to pin to a specific region.
  (PR [#4500](https://github.com/pipecat-ai/pipecat/pull/4500))

### Fixed

- Fixed bot hangs when `filter_incomplete_user_turns` was enabled and the LLM responded by calling a tool. The user turn never finalized, so the assistant aggregator gated the tool-result context push and the LLM continuation never ran. Tool calls now finalize the turn the moment they start, before the function dispatches.
  (PR [#4501](https://github.com/pipecat-ai/pipecat/pull/4501))