rewrite abstract method
Asks the model to rewrite text according to instruction.
Plain text in, plain text out — no tool call, and nothing is executed as a result. Used to polish a generated changelog, where the model's job is editorial rather than deciding what the CLI does.
Throws AiException on transport or protocol failure.
Implementation
Future<String> rewrite({
required String instruction,
required String text,
});