Skip to content

Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.

252 B
Raw Blame
import type { TFunction } from 'i18next'

export function localizeSkippedCommit(
  reason: string,
  t: TFunction<'tasksPage'>,
): string {
  return t(
    reason === 'no_messages'
      ? 'retry.noPendingMessages'
      : 'retry.commitSkipped',
  )
}