open-agents-ai 0.185.85 → 0.185.86
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 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -68137,7 +68137,10 @@ Respond conversationally. Call task_complete with your final response.`;
|
|
|
68137
68137
|
try {
|
|
68138
68138
|
const evt = JSON.parse(line);
|
|
68139
68139
|
if (evt.type === "text" && evt.content) {
|
|
68140
|
-
|
|
68140
|
+
const t = evt.content;
|
|
68141
|
+
const skip = /^(open-agents |i Context|⚡ |✅ |✔ |Tokens:|Previous conversation:|Respond conversationally|▸ Stream|▹ )/.test(t) || t === "\u2714 Done" || t === "\u2705 Complete";
|
|
68142
|
+
if (!skip)
|
|
68143
|
+
content += t + "\n";
|
|
68141
68144
|
} else if (evt.status === "completed" || evt.status === "failed") {
|
|
68142
68145
|
if (evt.text)
|
|
68143
68146
|
content = evt.text;
|
package/package.json
CHANGED