CoAgent8 - Source API
    Preparing search index...

    Variable redactSecretsConst

    redactSecrets: (text: string) => string = redactCredentialFormats

    Preserves public Markdown and code while filtering known credential formats.

    Type Declaration

      • (text: string): string
      • Filters high-confidence credential formats in public Markdown and model answers without rewriting ordinary code or keyword assignments.

        Parameters

        • text: string

          Input text to scan and redact.

        Returns string

        Redacted text with credentials replaced by placeholders.

    Use redactCredentialFormats instead.