continueChat property

Future<String?> Function()? continueChat
final

Asks the user, after the agent's final answer, for a follow-up message to continue the conversation in the same context. Returns the message, or null/empty to end the agent. A null handler ends without prompting (non-interactive hosts, web, tests).

Implementation

final Future<String?> Function()? continueChat;