@xuda.io/ai_module 1.1.3635 → 1.1.3637

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 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -3077,11 +3077,10 @@ export const update_thumbnail = async function (type, doc, app_id, uid, job_id,
3077
3077
  // }
3078
3078
 
3079
3079
  case 'ai_agent': {
3080
- debugger;
3081
3080
  const images_arr = await create_ai_agent_image({ app_id, uid, ai_agent_id: doc._id }, job_id, headers);
3082
3081
  db_doc = await get_db_doc();
3083
3082
  db_doc.studio_meta.thumbnail_request_ts = Date.now();
3084
- db_doc.studio_meta.agent_image = images_arr;
3083
+ db_doc.studio_meta.agent_image = images_arr.data;
3085
3084
  // db_doc.studio_meta.agent_assistant_name = agent_assistant_name.data;
3086
3085
 
3087
3086
  break;
@@ -5843,7 +5842,9 @@ const create_ai_agent_image = async function (req, job_id, headers) {
5843
5842
  Use a consistent, fixed color palette across all generations. Do not introduce new colors.
5844
5843
  All variation must come from geometry, materials, texture, and lighting.
5845
5844
  Vary at least two of the following:
5846
- - Head geometry - Surface structure - Material finish
5845
+ - Head geometry
5846
+ - Surface structure
5847
+ - Material finish
5847
5848
  - Light interaction Use advanced or reflective materials to convey intelligence and sophistication.
5848
5849
  The overall composition should symbolize the fusion of human creativity and machine intelligence.
5849
5850
  `,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3635",
3
+ "version": "1.1.3637",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",