diff --git a/src/ui.js b/src/ui.js index 12c2f06..5d84ab3 100644 --- a/src/ui.js +++ b/src/ui.js @@ -1046,6 +1046,7 @@ async function openUncloseaiEmbeddedModalNew() { { text: "🌐 Translate", action: () => window.openTranslateModal() }, { text: "📋 Full Raw", action: async () => { try { + const { getChatHistory } = await import('./chat.js'); const history = getChatHistory(); let rawContent = ''; history.forEach(msg => { @@ -1063,6 +1064,7 @@ async function openUncloseaiEmbeddedModalNew() { }}, { text: "📄 Full HTML", action: async () => { try { + const { getChatHistory } = await import('./chat.js'); const history = getChatHistory(); let htmlContent = '