Changed
-
Updated
FlowManager
to more predictably handle function calls:- Edge functions (which transition to a new node) now result in an LLM
completion after both the function call and messages are added to the
LLM's context. - Node functions (which execute a function call without transitioning nodes)
result in an LLM completion upon the function call result returning. - This change also improves the reliability of the pre- and post-action
execution timing.
- Edge functions (which transition to a new node) now result in an LLM
-
Breaking changes:
- The FlowManager has a new required arg,
context_aggregator
. - Pipecat's minimum version has been updated to 0.0.53 in order to use the
newFunctionCallResultProperties
frame.
- The FlowManager has a new required arg,
-
Updated all examples to align with the new changes.