@xuda.io/ai_module 1.1.4789 → 1.1.4791

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 +2 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -6353,6 +6353,7 @@ export const conversation_actions = async function (req, job_id, headers) {
6353
6353
  // };
6354
6354
 
6355
6355
  export const modify_profile_avatar = async function (req, job_id, headers) {
6356
+ // the function modify human avatar
6356
6357
  const { methods = [], docType, uid, url, _id, name, account_type } = req;
6357
6358
  let { metadata } = req;
6358
6359
  const account_profile_info = await account_module.get_active_account_profile_info(uid);
@@ -6399,7 +6400,7 @@ export const modify_profile_avatar = async function (req, job_id, headers) {
6399
6400
  metadata = account_info;
6400
6401
  }
6401
6402
 
6402
- metadata.is_user = true;
6403
+ metadata.is_user = true; // create building with sign
6403
6404
  return await get_profile_avatar(url, uid, prompt, account_profile_info, account_type, docType, _id, metadata, account_info, name, account_info.email, job_id, headers);
6404
6405
  } catch (err) {
6405
6406
  return { code: -111, data: err.message };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4789",
3
+ "version": "1.1.4791",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",