fix issue with trailing whitespace error in assistant message

pull/1325/head
Dax Raad 2025-07-25 10:56:16 -04:00
parent 250a86ec52
commit 7ed05962db
1 changed files with 1 additions and 0 deletions

View File

@ -1004,6 +1004,7 @@ export namespace Session {
start: Date.now(),
end: Date.now(),
}
currentText.text = currentText.text.trimEnd()
await updatePart(currentText)
}
currentText = undefined