Changed
-
Nodes now have two message types to better delineate defining the role or
persona of the bot from the task it needs to accomplish. The message types are:role_messages
, which defines the personality or role of the bottask_messages
, which defines the task to be completed for a given node
-
role_messages
can be defined for the initial node and then inherited by
subsequent nodes. You can treat this as an LLM "system" message. -
Simplified FlowManager initialization by removing the need for manual context
setup in both static and dynamic flows. Now, you need to create aFlowManager
and initialize it to start the flow. -
All examples have been updated to align with the API changes.
Fixed
- Fixed an issue where importing the Flows module would require OpenAI,
Anthropic, and Google LLM modules.