@xuda.io/ai_module 1.1.4022 → 1.1.4024

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 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -3318,6 +3318,7 @@ export const update_thumbnail = async function (type, doc, app_id, uid, job_id,
3318
3318
  // }
3319
3319
 
3320
3320
  case 'ai_agent': {
3321
+ debugger;
3321
3322
  const images_arr = await create_ai_agent_image({ app_id, uid, ai_agent_id: doc._id, tags }, job_id, headers);
3322
3323
  db_doc = await get_db_doc();
3323
3324
  db_doc.studio_meta.thumbnail_request_ts = Date.now();
@@ -6387,8 +6388,8 @@ export const create_mini_app = async function (req, job_id, headers) {
6387
6388
  component_doc.studio_meta.miniApp = true;
6388
6389
 
6389
6390
  const name = await submit_chat_gpt_prompt({ uid, prompt: `create title for the prompt return 5 words result maximum text only without options : ${prompt}`, model: 'gpt-5-nano', metadata: { prog_id: component_doc._id, func: 'create_mini_app' } });
6390
- component_doc.properties.menuName = name;
6391
- component_doc.properties.menuTitle = name;
6391
+ component_doc.properties.menuName = name.data;
6392
+ component_doc.properties.menuTitle = name.data;
6392
6393
  const data = await db_module.save_app_couch_doc_native(app_id, component_doc);
6393
6394
  setTimeout(async () => {
6394
6395
  debugger;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4022",
3
+ "version": "1.1.4024",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",