render method

  1. @override
RenderedPrompt render(
  1. Iterable<ChatMessage> messages, {
  2. Iterable<AIFunctionDeclaration> tools = const <AIFunctionDeclaration>[],
  3. bool enableThinking = false,
})
override

Renders messages (with optional tools) into the family's wire format.

Implementation

@override
RenderedPrompt render(
  Iterable<ChatMessage> messages, {
  Iterable<AIFunctionDeclaration> tools = const <AIFunctionDeclaration>[],
  bool enableThinking = false,
}) => _template.render(messages, tools: tools);