Skip to content

Commit e9e9aff

Browse files
authored
Merge pull request #280 from pipecat-ai/aleix/multi-worker-flows-example
Add multi-worker handoff example combining Flows with the worker framework
2 parents 4fa5cf3 + 6e55c84 commit e9e9aff

3 files changed

Lines changed: 469 additions & 0 deletions

File tree

changelog/280.added.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Added `multi_worker_handoff.py` example showing how to compose Pipecat Flows with Pipecat's multi-worker framework. A structured Flows reservation worker (built as a plain `PipelineWorker` with a `FlowManager` wired onto it) hands off to and from a free-form `LLMWorker` router over the bus, sharing a single conversation context.

examples/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ See [quickstart/README.md](./quickstart/README.md) for a beginner-friendly intro
2626
#### Advanced Features
2727

2828
- `warm_transfer.py` - Transferring calls between different flows (DailyTransport only)
29+
- `multi_worker_handoff.py` - Composing Flows with Pipecat's multi-worker framework: a structured Flows reservation worker hands off to and from a free-form `LLMWorker` router over the bus, sharing a single conversation context
2930

3031
**Note:** All examples support multiple LLM providers (OpenAI, Anthropic, Google, AWS Bedrock) and transport options unless otherwise specified. Pipecat Flows handles the different function calling formats internally while maintaining a consistent API for developers.
3132

0 commit comments

Comments
 (0)