fromRunnable static method
BaseMultiActionAgent
fromRunnable(
- Runnable<
AgentPlanInput, RunnableOptions, List< runnable, {BaseAgentAction> > - required List<
Tool< tools,Object, ToolOptions, Object> >
Creates an agent from a Runnable.
Implementation
static BaseMultiActionAgent fromRunnable(
final Runnable<AgentPlanInput, RunnableOptions, List<BaseAgentAction>>
runnable, {
required final List<Tool> tools,
}) {
return RunnableAgent(runnable, tools: tools);
}