@xuda.io/ai_module 1.1.4667 → 1.1.4669

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 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -4360,6 +4360,7 @@ const process_conversation = async function (uid, conversation_id, account_profi
4360
4360
  break;
4361
4361
  }
4362
4362
  }
4363
+ debugger;
4363
4364
  conversation_doc = await db_module.get_app_couch_doc_native(account_profile_info.app_id, conversation_doc._id);
4364
4365
  conversation_doc.category_info = category_info;
4365
4366
  await db_module.save_app_couch_doc_native(account_profile_info.app_id, conversation_doc);
@@ -4620,6 +4621,7 @@ const chat_note = async function (req, job_id, headers) {
4620
4621
  conversation_item_reference_id: item.data[0].id,
4621
4622
  direction: 'out',
4622
4623
  role: 'user',
4624
+ read: { [`${uid}`]: Date.now() },
4623
4625
  };
4624
4626
 
4625
4627
  const save_ret = await db_module.save_app_couch_doc(sender_app_id, out_conversation_item_obj);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4667",
3
+ "version": "1.1.4669",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",