export function cleanSystemTags(text: string): string { return text.replace(/.*?<\/system>\s*/gs, "").trim(); }