@xuda.io/ai_module 1.1.5276 → 1.1.5278
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 +1 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -4213,7 +4213,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4213
4213
|
if (ret && ret.code > -1) {
|
|
4214
4214
|
emitToDashboard('stream_start');
|
|
4215
4215
|
emitToDashboard('suggestions', JSON.stringify(ret.data));
|
|
4216
|
-
emitToDashboard('stream_end');
|
|
4216
|
+
// emitToDashboard('stream_end');
|
|
4217
4217
|
}
|
|
4218
4218
|
};
|
|
4219
4219
|
|
|
@@ -4733,7 +4733,6 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4733
4733
|
resolve(null);
|
|
4734
4734
|
} else {
|
|
4735
4735
|
if (job_info.code < 0 || job_info.data.stat === 4) {
|
|
4736
|
-
debugger;
|
|
4737
4736
|
reject('aborted');
|
|
4738
4737
|
clearInterval(interval);
|
|
4739
4738
|
return;
|