llmLiveTrailRetryMessage function

String llmLiveTrailRetryMessage(
  1. LlmRetry retry
)

The words of a retry, as the trail file writes them.

Implementation

String llmLiveTrailRetryMessage(LlmRetry retry) =>
    'Retrying'
    '${retry.attempt == null ? '' : ' (attempt ${retry.attempt})'}'
    '${retry.delay == null ? '' : ' in ${(retry.delay!.inMilliseconds / 1000).toStringAsFixed(0)} s'}'
    '.';