render method
RenderedPrompt
render(
- Iterable<
ChatMessage> messages, { - Iterable<
AIFunctionDeclaration> tools = const <AIFunctionDeclaration>[], - 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, enableThinking: enableThinking);