synthesize method

  1. @override
Future<Map<String, dynamic>> synthesize(
  1. AiRunContext context
)
override

Produces the final structured output after plan execution.

Implementation

@override
Future<Map<String, dynamic>> synthesize(AiRunContext context) async {
  return {
    'task': context.goal.task,
    'state': context.state,
  };
}