diff --git a/src/translation.js b/src/translation.js index 2d1b9c1..ccefb73 100644 --- a/src/translation.js +++ b/src/translation.js @@ -330,21 +330,15 @@ ${preservedText}`; console.log("Token breakdown:", tokenInfo.breakdown); // Debug logging - console.log("=== TRANSLATION DEBUG ==="); + console.log("=== RAW TRANSLATION DEBUG ==="); console.log( - "Original text:", + "Input text:", text.substring(0, 300) + (text.length > 300 ? "..." : ""), ); console.log( "Preserved text:", preservedText.substring(0, 300) + (preservedText.length > 300 ? "..." : ""), ); - console.log("Preservations found:", preservations.length); - preservations.forEach((item, index) => { - console.log( - ` ${index}: ${item.placeholder} -> ${item.content.substring(0, 50)}${item.content.length > 50 ? "..." : ""}`, - ); - }); // Use minimal system message for translation - focused purely on the task const translationHistory = [