mirror of
https://github.com/aljazceru/opencode.git
synced 2026-01-09 19:04:53 +01:00
fix issue with trailing whitespace error in assistant message
This commit is contained in:
@@ -1004,6 +1004,7 @@ export namespace Session {
|
||||
start: Date.now(),
|
||||
end: Date.now(),
|
||||
}
|
||||
currentText.text = currentText.text.trimEnd()
|
||||
await updatePart(currentText)
|
||||
}
|
||||
currentText = undefined
|
||||
|
||||
Reference in New Issue
Block a user