open-agents-ai 0.185.98 → 0.186.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 +5 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -26867,6 +26867,9 @@ Then use file_read on individual FILES inside it.`);
|
|
|
26867
26867
|
if (tc.name === "task_complete") {
|
|
26868
26868
|
completed = true;
|
|
26869
26869
|
summary = tc.arguments.summary || "";
|
|
26870
|
+
if (summary) {
|
|
26871
|
+
this.emit({ type: "assistant_text", content: summary, turn, timestamp: (/* @__PURE__ */ new Date()).toISOString() });
|
|
26872
|
+
}
|
|
26870
26873
|
break;
|
|
26871
26874
|
}
|
|
26872
26875
|
}
|
|
@@ -27219,6 +27222,8 @@ Full content available via: repl_exec(code="data = retrieve('${handleId}')") or
|
|
|
27219
27222
|
if (tc.name === "task_complete") {
|
|
27220
27223
|
completed = true;
|
|
27221
27224
|
summary = tc.arguments.summary || "";
|
|
27225
|
+
if (summary)
|
|
27226
|
+
this.emit({ type: "assistant_text", content: summary, turn, timestamp: (/* @__PURE__ */ new Date()).toISOString() });
|
|
27222
27227
|
break;
|
|
27223
27228
|
}
|
|
27224
27229
|
}
|
package/package.json
CHANGED