@xuda.io/ai_module 1.1.3868 → 1.1.3870

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
@@ -2919,6 +2919,7 @@ const upload_agent_files = async function (uid, agent_doc) {
2919
2919
  ],
2920
2920
  },
2921
2921
  ],
2922
+ metadata: { agent_id: agent_doc._id, func: 'upload_agent_files' },
2922
2923
  });
2923
2924
  if (ret.code < 0) {
2924
2925
  throw new Error('something went wrong try again later');
@@ -5620,7 +5621,7 @@ export const convert_profile_image_to_avatar = async function (req, job_id, head
5620
5621
  response_format: z.object({
5621
5622
  is_real_person_in_picture: z.boolean().describe('if a postrate of real person in the picture return true otherwise return false'),
5622
5623
  }),
5623
- metadata: { account_id: account_obj._id },
5624
+ metadata: { account_id: account_obj._id, func: 'detect_real_person_in_image' },
5624
5625
  });
5625
5626
 
5626
5627
  const res = JSON5.parse(ret.data);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3868",
3
+ "version": "1.1.3870",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",