@xuda.io/ai_module 1.1.5386 → 1.1.5388

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.
Files changed (2) hide show
  1. package/index.mjs +2 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -4192,7 +4192,6 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4192
4192
  emitToDashboard('stream_phase', 'Deep thinking...', { allow_skip: true });
4193
4193
  return new Promise(async (resolve, reject) => {
4194
4194
  let interval = setInterval(async function () {
4195
- console.log(interval);
4196
4195
  const job_info = await jobs_ms.get_job_info({ job_id });
4197
4196
 
4198
4197
  if (job_info.code < 0 || job_info.data.stat === 4) {
@@ -4736,9 +4735,10 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4736
4735
  };
4737
4736
 
4738
4737
  const render_prompt_suggestions = async function () {
4738
+ emitToDashboard('stream_phase', 'Rendering suggestions', { allow_skip: true });
4739
4739
  return new Promise(async (resolve, reject) => {
4740
4740
  let counter = 0;
4741
- emitToDashboard('suggestions', JSON.stringify(prompt_suggestions), { countdown: true, allow_skip: true });
4741
+ emitToDashboard('suggestions', JSON.stringify(prompt_suggestions), { countdown: true });
4742
4742
  let interval = setInterval(async function () {
4743
4743
  counter++;
4744
4744
  const job_info = await jobs_ms.get_job_info({ job_id });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5386",
3
+ "version": "1.1.5388",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",