@xuda.io/ai_module 1.1.5344 → 1.1.5346

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 +5 -4
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -4811,9 +4811,10 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4811
4811
  prompt_suggestion_activated = true;
4812
4812
  local_ai_agents = prompt_selected_suggestion;
4813
4813
  agents = await get_agents();
4814
- } else {
4815
- emitToDashboard('response_start');
4816
4814
  }
4815
+ // else {
4816
+ // emitToDashboard('response_start');
4817
+ // }
4817
4818
  }
4818
4819
  }
4819
4820
  ///////////
@@ -4959,7 +4960,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4959
4960
  // console.log('string_debug', string_debug);
4960
4961
  }
4961
4962
  // else {
4962
- await update_job('finalizing');
4963
+ // await update_job('finalizing');
4963
4964
 
4964
4965
  const save_ret = await done(output);
4965
4966
 
@@ -6914,7 +6915,7 @@ const get_chat_picture_cache = async function (uid, docType, key) {
6914
6915
  },
6915
6916
  limit: 1,
6916
6917
  };
6917
- debugger;
6918
+
6918
6919
  const ret = await db_module.find_couch_query('xuda_cache', query);
6919
6920
 
6920
6921
  if (ret.docs.length > 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5344",
3
+ "version": "1.1.5346",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",