/**
* Removes all content within ... blocks
* @param text The input text containing thinking blocks
* @returns The text with all thinking blocks removed
*/
export const removeThinkingBlocks = (text: string): string => {
// Use regex to identify and remove all ... blocks
// Using the 's' flag to make dot match newlines
return text.replace(/[\s\S]*?<\/think>/g, '').trim();
};