mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
fix issue with trailing whitespace error in assistant message
This commit is contained in:
parent
250a86ec52
commit
7ed05962db
1 changed files with 1 additions and 0 deletions
|
|
@ -1004,6 +1004,7 @@ export namespace Session {
|
|||
start: Date.now(),
|
||||
end: Date.now(),
|
||||
}
|
||||
currentText.text = currentText.text.trimEnd()
|
||||
await updatePart(currentText)
|
||||
}
|
||||
currentText = undefined
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue