KernelPromptHandler typedef
KernelPromptHandler =
Future<KernelGetPromptResult> Function(Map<String, dynamic> args)
Prompt handler signature used by the kernel core. Receives the caller-supplied arguments (validated upstream against the prompt's declared KernelPromptArgument list) and returns the assembled message list.
Implementation
typedef KernelPromptHandler = Future<KernelGetPromptResult> Function(
Map<String, dynamic> args,
);