import { v4 as uuidv4 } from 'uuid'; import sha256 from 'js-sha256'; ////////////////////////// // Helper functions ////////////////////////// export const sanitizeResponseContent = (content: string) => { // First, temporarily replace valid