AiAgent constructor
- required AiStreamClient client,
- List<
AiTool> tools = const [], - int maxIterations = 8,
- void onEvent(
- Object event
Implementation
const AiAgent({
required this.client,
this.tools = const [],
this.maxIterations = 8,
this.onEvent,
});