@xuda.io/ai_module 1.1.5355 → 1.1.5357
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/index.mjs +2 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -4236,6 +4236,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4236
4236
|
});
|
|
4237
4237
|
|
|
4238
4238
|
agent.on('agent_end', (context, output) => {
|
|
4239
|
+
debugger;
|
|
4239
4240
|
emitToDashboard('stream_end');
|
|
4240
4241
|
});
|
|
4241
4242
|
|
|
@@ -4922,7 +4923,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4922
4923
|
// },
|
|
4923
4924
|
// };
|
|
4924
4925
|
};
|
|
4925
|
-
|
|
4926
|
+
|
|
4926
4927
|
if (stream) {
|
|
4927
4928
|
const output_stream = output.toTextStream({
|
|
4928
4929
|
compatibleWithNodeStreams: true,
|