فهرست منبع

fix issue with trailing whitespace error in assistant message

Dax Raad 1 سال پیش
والد
کامیت
7ed05962db
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      packages/opencode/src/session/index.ts

+ 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