Context adj
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user