@xuda.io/ai_module 1.1.5187 → 1.1.5189

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 +3 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -4719,6 +4719,8 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4719
4719
  prompt_suggestion_activated = true;
4720
4720
  ai_agents = job_info.data.payload.ai_agents;
4721
4721
  agents = await get_agents();
4722
+ } else {
4723
+ emitToDashboard('response_start');
4722
4724
  }
4723
4725
  }
4724
4726
  }
@@ -10923,7 +10925,7 @@ export const open_ai_alive_check = async function () {};
10923
10925
 
10924
10926
  export const get_chat_suggestions = async function (req) {
10925
10927
  const { uid, ai_agents, conversation_item_id, no_of_suggestions = 3, ai_model = _conf.default_ai_model } = req;
10926
-
10928
+ debugger;
10927
10929
  try {
10928
10930
  const account_profile_info = await get_active_account_profile_info(uid);
10929
10931
  const account_doc = await db_module.get_couch_doc_native('xuda_accounts', uid);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5187",
3
+ "version": "1.1.5189",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",