AIChatMessage constructor

const AIChatMessage({
  1. required String content,
  2. List<AIChatMessageToolCall> toolCalls = const [],
})

Type of message that is spoken by the AI.

Implementation

const AIChatMessage({
  required this.content,
  this.toolCalls = const [],
});