openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
3 lines • 356 B
JavaScript
import{r as truncateUtf16Safe}from"./utf16-slice-DA3Mllbx.mjs";import{c as redactSensitiveText}from"./redact-BT59pdZ_.mjs";
//!src/infra/diagnostic-content.ts
const MAX_DIAGNOSTIC_CONTENT_CHARS=131072;function truncateDiagnosticContent(e){return truncateUtf16Safe(redactSensitiveText(e),MAX_DIAGNOSTIC_CONTENT_CHARS)}export{truncateDiagnosticContent as t};