@xuda.io/ai_module 1.1.4440 → 1.1.4442

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
@@ -3020,6 +3020,7 @@ const upload_agent_files = async function (uid, agent_doc) {
3020
3020
  },
3021
3021
  ],
3022
3022
  metadata: { agent_id: agent_doc._id, func: 'upload_agent_files' },
3023
+ account_profile_info,
3023
3024
  });
3024
3025
  if (ret.code < 0) {
3025
3026
  throw new Error('something went wrong try again later');
@@ -4306,7 +4307,7 @@ const contact_chat_conversation = async function (req, job_id, headers) {
4306
4307
  sender_conversation_doc.messages.push({ ...obj, ...{ read: false } });
4307
4308
  await db_module.save_app_couch_doc_native(sender_app_id, sender_conversation_doc);
4308
4309
 
4309
- update_conversation_mood_level(uid, conversation_id, prompt, uid, receiver_contact_doc.contact_uid, conversation_doc.reference_type === 'contacts');
4310
+ update_conversation_mood_level(uid, conversation_id, prompt, uid, receiver_contact_doc.contact_uid, conversation_doc.reference_type === 'contacts', account_profile_info);
4310
4311
 
4311
4312
  return { code: 15, data: item };
4312
4313
  };
@@ -6321,6 +6322,7 @@ const attachment_handler = async function (uid, app_id, conversation_id, attachm
6321
6322
  },
6322
6323
  ],
6323
6324
  metadata: { conversation_id, func: 'attachment_handler' },
6325
+ account_profile_info,
6324
6326
  });
6325
6327
 
6326
6328
  return ret;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4440",
3
+ "version": "1.1.4442",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",