@xuda.io/ai_module 1.1.4262 → 1.1.4263

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 +1 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -4245,7 +4245,7 @@ export const create_conversation = async function (req, job_id, headers) {
4245
4245
  await update_conversation_mood_level(uid, conversation_obj.id, prompt, uid, contact_uid_chat_conversation, true, account_profile_info);
4246
4246
  } else {
4247
4247
  // other cases rather then chat
4248
- await update_conversation_mood_level(uid, conversation_obj.id, prompt, null, receiver_contact_doc.contact_uid, conversation_doc.reference_type === 'contacts', account_profile_info);
4248
+ await update_conversation_mood_level(uid, [{ uid: account_profile_info.uid, contact_id: reference_id }], conversation_obj.id, prompt, null, receiver_contact_doc.contact_uid, conversation_doc.reference_type === 'contacts', account_profile_info);
4249
4249
  }
4250
4250
  }
4251
4251
  }, 1000);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4262",
3
+ "version": "1.1.4263",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",