@xuda.io/ai_module 1.1.5142 → 1.1.5144

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 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -4076,7 +4076,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4076
4076
  direction: 'out',
4077
4077
  role: 'user',
4078
4078
  };
4079
- const out_conversation_item_save_ret = await db_module.save_app_couch_doc_native(account_profile_info.app_id, out_conversation_item_obj);
4079
+ const out_conversation_item_save_ret = await db_module.save_app_couch_doc(account_profile_info.app_id, out_conversation_item_obj);
4080
4080
 
4081
4081
  // const { account_profile_info } = conversation_doc;
4082
4082
  const emitToDashboard = (type, content) => {
@@ -4159,6 +4159,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4159
4159
  await update_job('initiating conversation');
4160
4160
  let prompt_suggestions = [];
4161
4161
  setTimeout(async () => {
4162
+ debugger;
4162
4163
  const prompt_suggestions_ret = await get_chat_suggestions(uid, ai_agents, out_conversation_item_save_ret.data.id);
4163
4164
  if (prompt_suggestions_ret.code > -1) prompt_suggestions = prompt_suggestions_ret.data;
4164
4165
  }, 1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5142",
3
+ "version": "1.1.5144",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",