@xuda.io/ai_module 1.1.3767 → 1.1.3769

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 -4
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2697,9 +2697,7 @@ export const update_ai_agent = async function (req, job_id, headers) {
2697
2697
 
2698
2698
  const data = await db_module.save_app_couch_doc_native(app_id, agent_doc);
2699
2699
 
2700
- // update_thumbnail('ai_agent', agent_doc, app_id, uid, job_id, headers);
2701
2700
  setTimeout(async () => {
2702
- debugger;
2703
2701
  if (!name_changed) return;
2704
2702
  await update_ai_agent_properties(agent_doc, app_id);
2705
2703
  await update_thumbnail('ai_agent', agent_doc, app_id, uid, job_id, headers);
@@ -5931,7 +5929,7 @@ const create_ai_agent_image = async function (req, job_id, headers) {
5931
5929
 
5932
5930
  const ai_agent_doc = await db_module.get_app_couch_doc_native(app_id, ai_agent_id);
5933
5931
  const account_doc = await db_module.get_couch_doc_native('xuda_accounts', uid);
5934
-
5932
+ // faceless humanoid for business
5935
5933
  if (account_doc.account_info.account_type === 'business') {
5936
5934
  const prompt = `
5937
5935
  Create a futuristic, faceless humanoid profile portrait with a transparent background.
@@ -5970,7 +5968,7 @@ const create_ai_agent_image = async function (req, job_id, headers) {
5970
5968
  const images_arr = await create_and_upload_image_to_drive('studio', 'Progs Thumbnails', ai_agent_id, prompt, 1, uid, app_id, job_id, headers, false, tags);
5971
5969
  return images_arr[0];
5972
5970
  }
5973
- debugger;
5971
+
5974
5972
  let url = account_doc.account_info.profile_avatar;
5975
5973
 
5976
5974
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3767",
3
+ "version": "1.1.3769",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",