name property

String get name

Stable identifier for this processor within a flow's request pipeline.

Defaults to '' for anonymous processors (which cannot be looked up by name), while mapping built-in processors that are defined outside this library.

Implementation

String get name => switch (runtimeType.toString()) {
  'AuthLlmRequestProcessor' => 'auth',
  'RequestConfirmationLlmRequestProcessor' => 'request_confirmation',
  'IdentityLlmRequestProcessor' => 'identity',
  'CompactionRequestProcessor' => 'compaction',
  'OutputSchemaRequestProcessor' => 'output_schema',
  _ => '',
};