@xuda.io/ai_module 1.1.4154 → 1.1.4155
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 +2 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -3300,7 +3300,7 @@ export const update_ai_agent_properties = async function (doc, app_id, uid, fiel
|
|
|
3300
3300
|
return save_ret;
|
|
3301
3301
|
};
|
|
3302
3302
|
|
|
3303
|
-
export const update_thumbnail = async function (type, doc, app_id, uid, job_id, headers, xuda_db, tags) {
|
|
3303
|
+
export const update_thumbnail = async function (type, doc, app_id, uid, job_id, headers, xuda_db, tags, account_profile_info) {
|
|
3304
3304
|
let prompt = '';
|
|
3305
3305
|
|
|
3306
3306
|
// setTimeout(async () => {
|
|
@@ -4190,7 +4190,7 @@ export const create_conversation = async function (req, job_id, headers) {
|
|
|
4190
4190
|
|
|
4191
4191
|
await db_module.save_app_couch_doc_native(account_profile_info.app_id, conversation_doc);
|
|
4192
4192
|
|
|
4193
|
-
await update_thumbnail('conversation', conversation_doc, app_id, uid, job_id, headers);
|
|
4193
|
+
await update_thumbnail('conversation', conversation_doc, app_id, uid, job_id, headers, null, null, account_profile_info);
|
|
4194
4194
|
|
|
4195
4195
|
if (conversation_doc.reference_type === 'contacts') {
|
|
4196
4196
|
if (contact_uid_chat_conversation) {
|