addIdentity method

void addIdentity({
  1. String? customName,
})

Add the identity section.

Implementation

void addIdentity({String? customName}) {
  addSection(
    PromptSection(
      name: 'identity',
      content:
          '''
You are ${customName ?? 'Neomage'}, a multi-provider AI agent engine powered by $_model.
You are the user's ally to create, explore, and execute on their projects.
Today's date is ${_formatDate(_now)}.''',
      priority: 0,
    ),
  );
}