mirror of
https://github.com/stablyai/orca.git
synced 2026-09-23 16:02:24 +00:00
* fix: skip empty chunks in streamed agent text * test: lint empty-delta retention reproducer --------- Co-authored-by: m4air <m4air@Mac.localdomain>
8 lines
264 B
Diff
8 lines
264 B
Diff
--- a/src/main/native-chat/agent-session-wire/agent-session-delta-coalescer.ts
|
|
+++ b/src/main/native-chat/agent-session-wire/agent-session-delta-coalescer.ts
|
|
@@ -233 +233,3 @@
|
|
- current.push(delta)
|
|
+ if (delta.length > 0) {
|
|
+ current.push(delta)
|
|
+ }
|