@xuda.io/ai_module 1.1.3761 → 1.1.3763

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 +4 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1810,7 +1810,7 @@ export const get_ai_chats = async function (req, job_id, headers) {
1810
1810
  }
1811
1811
 
1812
1812
  if (conversation_id) {
1813
- opt._id = conversation_id;
1813
+ opt.selector._id = conversation_id;
1814
1814
  }
1815
1815
 
1816
1816
  if (search) {
@@ -2453,7 +2453,7 @@ export const get_ai_agents = async function (req, job_id, headers) {
2453
2453
  }
2454
2454
 
2455
2455
  if (ai_agent_id) {
2456
- opt._id = ai_agent_id;
2456
+ opt.selector._id = ai_agent_id;
2457
2457
  }
2458
2458
  //////////////
2459
2459
 
@@ -5639,6 +5639,8 @@ export const convert_profile_image_to_avatar = async function (req, job_id, head
5639
5639
  imageBase64 = ai_avatar_response.data[0].b64_json;
5640
5640
  avatar_source = 'fictional';
5641
5641
  } else {
5642
+ debugger;
5643
+ /// PERSONAL
5642
5644
  const create_avatar_from_pic = async function () {
5643
5645
  const { first_name, last_name, bio, country, mainCategory, subCategory } = account_obj.account_info;
5644
5646
  const ai_avatar_response = await client.images.edit({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3761",
3
+ "version": "1.1.3763",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",