@xuda.io/ai_module 1.1.3948 → 1.1.3950

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
@@ -6401,10 +6401,11 @@ export const create_mini_app = async function (req) {
6401
6401
  component_doc.studio_meta.miniApp = true;
6402
6402
 
6403
6403
  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' } });
6404
-
6404
+ component_doc.properties.menuName = name;
6405
+ component_doc.properties.menuTitle = name;
6405
6406
  const data = await db_module.save_app_couch_doc_native(app_id, component_doc);
6406
6407
  setTimeout(async () => {
6407
- await update_thumbnail('mini_app', agent_doc, app_id, uid, job_id, headers);
6408
+ await update_thumbnail('mini_app', component_doc, app_id, uid, job_id, headers);
6408
6409
  }, 500);
6409
6410
  return { code: 33, data };
6410
6411
  } catch (err) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3948",
3
+ "version": "1.1.3950",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",