2
0
Эх сурвалжийг харах

fix issue with trailing whitespace error in assistant message

Dax Raad 8 сар өмнө
parent
commit
7ed05962db

+ 1 - 0
packages/opencode/src/session/index.ts

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