AgentAction constructor

const AgentAction({
  1. required String id,
  2. required String tool,
  3. required Map<String, dynamic> toolInput,
  4. String log = '',
  5. List<ChatMessage> messageLog = const [],
})

Agent's action to take.

Implementation

const AgentAction({
  required this.id,
  required this.tool,
  required this.toolInput,
  this.log = '',
  this.messageLog = const [],
});