context property

List<Map<String, Object?>> get context

The context of AG-UI's RunAgentInput: one entry for every .sees.

Implementation

List<Map<String, Object?>> get context => [
  for (final (:view, value: _, :json) in _seen)
    {
      AgUiFields.description: '${view.name}: ${view.description}',
      AgUiFields.value: json,
    },
];