@xuda.io/ai_module 1.1.4194 → 1.1.4196
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.
- package/index.mjs +1 -3
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -4171,7 +4171,7 @@ export const create_conversation = async function (req, job_id, headers) {
|
|
|
4171
4171
|
conversation_obj,
|
|
4172
4172
|
conversation_type,
|
|
4173
4173
|
initiator_uid: uid,
|
|
4174
|
-
|
|
4174
|
+
|
|
4175
4175
|
account_profile_info,
|
|
4176
4176
|
};
|
|
4177
4177
|
const save_ret = await db_module.save_app_couch_doc(account_profile_info.app_id, conversation_doc);
|
|
@@ -4450,8 +4450,6 @@ const chat_note = async function (req, job_id, headers) {
|
|
|
4450
4450
|
sender_conversation_doc.messages.push({ ...obj, ...{ read: false } });
|
|
4451
4451
|
await db_module.save_app_couch_doc_native(sender_app_id, sender_conversation_doc);
|
|
4452
4452
|
|
|
4453
|
-
// update_conversation_mood_level(conversation_id, prompt, uid, receiver_contact_doc.contact_uid, conversation_doc.reference_type === 'contacts');
|
|
4454
|
-
|
|
4455
4453
|
return { code: 15, data: item };
|
|
4456
4454
|
};
|
|
4457
4455
|
|