openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
9 lines (8 loc) • 317 B
JavaScript
//#region src/infra/migration-warning-summary.ts
const MIGRATION_WARNING_EXAMPLE_LIMIT = 5;
function formatMigrationWarningSummary(e) {
const t = Math.min(e.count, 5);
return `${e.summary}; showing ${t} example(s), ${e.count - t} omitted. ` + e.detail;
}
//#endregion
export { formatMigrationWarningSummary as t };