open-agents-ai 0.168.0 → 0.169.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -27564,7 +27564,6 @@ ${transcript}`
|
|
|
27564
27564
|
continue;
|
|
27565
27565
|
}
|
|
27566
27566
|
if (chunk.type === "content" && chunk.content) {
|
|
27567
|
-
content += chunk.content;
|
|
27568
27567
|
const fragment = chunk.content;
|
|
27569
27568
|
let kind;
|
|
27570
27569
|
if (chunk.thinking) {
|
|
@@ -27582,6 +27581,9 @@ ${transcript}`
|
|
|
27582
27581
|
inThinkTag = false;
|
|
27583
27582
|
kind = "content";
|
|
27584
27583
|
}
|
|
27584
|
+
if (kind === "content") {
|
|
27585
|
+
content += fragment;
|
|
27586
|
+
}
|
|
27585
27587
|
this.emit({
|
|
27586
27588
|
type: "stream_token",
|
|
27587
27589
|
content: fragment,
|
|
@@ -51182,7 +51184,7 @@ var init_stream_renderer = __esm({
|
|
|
51182
51184
|
if (this.lineBuffer.length > 0) {
|
|
51183
51185
|
this.flushPartial(kind);
|
|
51184
51186
|
}
|
|
51185
|
-
},
|
|
51187
|
+
}, 150);
|
|
51186
51188
|
}
|
|
51187
51189
|
cancelFlush() {
|
|
51188
51190
|
if (this.flushTimer) {
|
package/package.json
CHANGED