Repository navigation
v1.3.0
Added
-
Added
multi_worker_handoff.pyexample showing how to compose Pipecat Flows
with Pipecat's multi-worker framework. A structured Flows reservation worker
(built as a plainPipelineWorkerwith aFlowManagerwired onto it) hands
off to and from a free-formLLMWorkerrouter over the bus, sharing a single
conversation context. (PR #280) -
Added an
append_text_to_contextoption to thetts_sayand
end_conversationactions, controlling whether the spoken text is written to
the LLM context. (PR #281) -
Added the
@flows_tool_options(cancel_on_interruption=..., timeout_secs=...)
decorator for configuring a Flows direct function's call options. It is the
Flows-flavored counterpart to Pipecat's@tool_options(and is built on it),
replacing@flows_direct_functionwith a name that makes clearer that it
configures call options. (PR #282)
Changed
-
⚠️ The initial flow node now follows its context strategy (defaultAPPEND)
instead of always replacing the context. With the default strategy, context
written before the node's first inference — for example by atts_say
pre-action — is now preserved rather than discarded. Set
context_strategy=RESETon the initial node for the previous clean-slate
behavior. (PR #281) -
⚠️ Thetts_sayandend_conversationactions now append their spoken text
to the LLM context by default (append_text_to_contextdefaults toTrue).
Setappend_text_to_context=Falseto opt out. (PR #281) -
⚠️ FlowsFunctionSchema.handleris no longer typed as optional. In practice,
it wasn't optional anyway: the optionality was a holdover from the removed
transition_to/transition_callbackfields, which once let a function
transition without a handler. Transitions now happen via a handler that
returns(result, next_node). Constructing aFlowsFunctionSchemawithout a
handlernow raises an error. (PR #283) -
Flows now relies on Pipecat's tool-handler auto-registration, rather than
explicitly invokingLLMService.register_function. (PR #283)
Deprecated
- Deprecated the
@flows_direct_functiondecorator. It is now an alias of
@flows_tool_optionsthat emits aDeprecationWarning; switch to
@flows_tool_options. The alias will be removed in a future version. (PR #282)