v0.0.87

pipecat-ai/pipecatv0.0.87Oct 2, 2025by aconchillo

AI Summary

Added WebsocketSTTService base class for websocket-based STT services, DeepgramFluxSTTService for real-time speech recognition, RTVI messages for audio levels and system logs, cached tokens in MetricsFrame, and updated Anthropic LLM service default model.

Key Highlights

  • WebsocketSTTService base class with automatic error handling
  • DeepgramFluxSTTService for conversational flow speech recognition
  • RTVI messages for user/bot audio levels and system logs
  • Cached tokens in MetricsFrame for OpenAI-based LLM services
  • Updated Anthropic default model to claude-sonnet-4-5-20250929

Breaking Changes

  • DailyTransportMessageFrame and DailyTransportMessageUrgentFrame deprecated
  • LiveKitTransportMessageFrame and LiveKitTransportMessageUrgentFrame deprecated
  • TransportMessageFrame and TransportMessageUrgentFrame deprecated
  • InputTransportMessageUrgentFrame deprecated
  • DailyUpdateRemoteParticipantsFrame deprecated

New Features

  • WebsocketSTTService base class
  • DeepgramFluxSTTService for real-time speech recognition
  • RTVI messages for audio levels and system logs
  • Cached tokens in MetricsFrame
  • Updated Anthropic default model to claude-sonnet-4-5-20250929

Full Release Notes

### Added

- Added `WebsocketSTTService` base class for websocket-based STT services.  Combines STT functionality with websocket connectivity, providing automatic error handling and reconnection capabilities with exponential backoff.

- Added `DeepgramFluxSTTService` for real-time speech recognition using Deepgram's Flux WebSocket API. Flux understands conversational flow and automatically handles turn-taking.

- Added RTVI messages for user/bot audio levels and system logs.

- Include OpenAI-based LLM services cached tokens to `MetricsFrame`.

### Changed

- Updated the default model for `AnthropicLLMService` to `claude-sonnet-4-5-20250929`.

### Deprecated

- `DailyTransportMessageFrame` and `DailyTransportMessageUrgentFrame` are deprecated, use `DailyOutputTransportMessageFrame` and `DailyOutputTransportMessageUrgentFrame` respectively instead.

- `LiveKitTransportMessageFrame` and `LiveKitTransportMessageUrgentFrame` are deprecated, use `LiveKitOutputTransportMessageFrame` and `LiveKitOutputTransportMessageUrgentFrame` respectively instead.

- `TransportMessageFrame` and `TransportMessageUrgentFrame` are deprecated, use `OutputTransportMessageFrame` and `OutputTransportMessageUrgentFrame` respectively instead.

- `InputTransportMessageUrgentFrame` is deprecated, use `InputTransportMessageFrame` instead.

- `DailyUpdateRemoteParticipantsFrame` is deprecated and will be removed in a future version. Instead, create your own custom frame and handle it in the `@transport.output().event_handler("on_after_push_frame")` event handler or a custom processor.

## Fixed

- Fixed an issue in `AWSBedrockLLMService` where timeout exceptions weren't being detected.

- Fixed a `PipelineTask` issue that could prevent the application to exit if `task.cancel()` was called when the task was already finished.

- Fixed an issue where local SmartTurn was not being ran in a separate thread.