Listening to flow events
You can listen to flow events by passing onFlowStart
and onFlowFinish
options to execute
function.
Changing default model
You can configure the model for all built-in agents by passing model
option to execute
function. By default, all built-in agents use gpt-4o
model.
Overriding built-in agents
If, for some reason, you want to override the built-in agents, you can do so by simply including them in the agents
object.