@xuda.io/ai_module 1.1.3857 → 1.1.3858

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 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -4955,6 +4955,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4955
4955
  ],
4956
4956
  },
4957
4957
  ],
4958
+ metadata: { conversation_id },
4958
4959
  });
4959
4960
 
4960
4961
  return ret;
@@ -5616,6 +5617,7 @@ export const convert_profile_image_to_avatar = async function (req, job_id, head
5616
5617
  response_format: z.object({
5617
5618
  is_real_person_in_picture: z.boolean().describe('if a postrate of real person in the picture return true otherwise return false'),
5618
5619
  }),
5620
+ metadata: { account_id: account_obj._id },
5619
5621
  });
5620
5622
 
5621
5623
  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.3857",
3
+ "version": "1.1.3858",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",