@xuda.io/ai_module 1.1.3856 → 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 +3 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -4920,6 +4920,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4920
4920
  ],
4921
4921
  },
4922
4922
  ],
4923
+ metadata: { conversation_id },
4923
4924
  });
4924
4925
  if (ret.code < 0) {
4925
4926
  throw new Error('something went wrong try again later');
@@ -4954,6 +4955,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4954
4955
  ],
4955
4956
  },
4956
4957
  ],
4958
+ metadata: { conversation_id },
4957
4959
  });
4958
4960
 
4959
4961
  return ret;
@@ -5615,6 +5617,7 @@ export const convert_profile_image_to_avatar = async function (req, job_id, head
5615
5617
  response_format: z.object({
5616
5618
  is_real_person_in_picture: z.boolean().describe('if a postrate of real person in the picture return true otherwise return false'),
5617
5619
  }),
5620
+ metadata: { account_id: account_obj._id },
5618
5621
  });
5619
5622
 
5620
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.3856",
3
+ "version": "1.1.3858",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",