@xuda.io/ai_module 1.1.4656 → 1.1.4658
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 +4 -3
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -4180,6 +4180,7 @@ export const create_conversation = async function (req, job_id, headers) {
|
|
|
4180
4180
|
reference_conversation_id: conversation_obj.id,
|
|
4181
4181
|
|
|
4182
4182
|
account_profiles: [account_profile_obj._id],
|
|
4183
|
+
prompt,
|
|
4183
4184
|
};
|
|
4184
4185
|
const save_ret = await db_module.save_app_couch_doc(account_profile_info.app_id, conversation_doc);
|
|
4185
4186
|
|
|
@@ -4343,9 +4344,9 @@ const process_conversation = async function (uid, conversation_id, account_profi
|
|
|
4343
4344
|
contact_doc.category_info = category_info;
|
|
4344
4345
|
await db_module.save_app_couch_doc_native(account_profile_info.app_id, conversation_doc);
|
|
4345
4346
|
|
|
4346
|
-
if (perform_ai_execution) {
|
|
4347
|
-
|
|
4348
|
-
}
|
|
4347
|
+
// if (perform_ai_execution) {
|
|
4348
|
+
await update_thumbnail('conversation', conversation_doc, account_profile_info.app_id, uid, job_id, headers, null, null, account_profile_info);
|
|
4349
|
+
// }
|
|
4349
4350
|
if (conversation_doc.reference_type === 'contacts') {
|
|
4350
4351
|
if (recipient_uid) {
|
|
4351
4352
|
// valid for chat conversation
|