Context adj

This commit is contained in:
2026-05-02 18:47:47 +02:00
parent 7dccc51ce1
commit c93d26d696
4 changed files with 52 additions and 41 deletions

View File

@@ -627,7 +627,7 @@ function TutorApp({ currentUser, onLogout }) {
const cleanText = text.trim()
if (!cleanText) return ''
const sentences = cleanText.match(/[^.!?]+[.!?]+|[^.!?]+$/g) || [cleanText]
return sentences.slice(0, 2).join(' ').trim()
return sentences.slice(0, 3).join(' ').trim()
}
async function finishSpeechPlayback(debugMessage) {