@xuda.io/ai_module 1.1.5361 → 1.1.5363
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 -3
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -4745,13 +4745,11 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4745
4745
|
resolve(null);
|
|
4746
4746
|
} else {
|
|
4747
4747
|
if (job_info.code < 0 || job_info.data.stat === 4) {
|
|
4748
|
-
debugger;
|
|
4749
4748
|
reject('aborted');
|
|
4750
4749
|
clearInterval(interval);
|
|
4751
4750
|
return;
|
|
4752
4751
|
}
|
|
4753
4752
|
if (job_info?.data?.payload?.skip_suggestions) {
|
|
4754
|
-
debugger;
|
|
4755
4753
|
resolve(null);
|
|
4756
4754
|
clearInterval(interval);
|
|
4757
4755
|
return;
|
|
@@ -4803,7 +4801,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4803
4801
|
// 2. Now wait for it specifically
|
|
4804
4802
|
// emitToDashboard('stream_phase', 'Analyzing suggestions');
|
|
4805
4803
|
const prompt_suggestions_ret = await get_prompt_suggestions(); // suggestionsPromise;
|
|
4806
|
-
|
|
4804
|
+
debugger;
|
|
4807
4805
|
if (prompt_suggestions_ret && prompt_suggestions_ret.code > -1) {
|
|
4808
4806
|
prompt_suggestions = prompt_suggestions_ret.data;
|
|
4809
4807
|
}
|