NormalizedMessage constructor

const NormalizedMessage({
  1. required String role,
  2. List<String> textParts = const [],
  3. List<String> thinkingParts = const [],
  4. List<Map<String, dynamic>> toolCalls = const [],
  5. String? rawProvider,
})

Implementation

const NormalizedMessage({
  required this.role,
  this.textParts = const [],
  this.thinkingParts = const [],
  this.toolCalls = const [],
  this.rawProvider,
});