Agent constructor

Agent({
  1. required String id,
  2. String? name,
  3. String? description,
  4. String? systemPrompt,
  5. List<String> tools = const [],
  6. String? icon,
  7. String? color,
  8. bool? isDefault,
  9. bool? isPreconfigured,
  10. DateTime? createdAt,
  11. DateTime? updatedAt,
  12. Map<String, Object> metadata = const {},
})

Returns a new Agent instance.

Implementation

Agent({
  required this.id,
  this.name,
  this.description,
  this.systemPrompt,
  this.tools = const [],
  this.icon,
  this.color,
  this.isDefault,
  this.isPreconfigured,
  this.createdAt,
  this.updatedAt,
  this.metadata = const {},
});