normalizeForAPI method
Normalize this attachment into user messages for the API.
Implementation
@override
List<UserMessage> normalizeForAPI() {
return [
createUserMessage(
content:
'<system-reminder>\nMax turns reached ($turnCount / $maxTurns). '
'Please wrap up your current task.\n</system-reminder>',
isMeta: true,
),
];
}