@xuda.io/ai_module 1.1.4467 → 1.1.4468
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.
- package/index.mjs +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -6176,7 +6176,7 @@ export const create_mini_app = async function (req, job_id, headers) {
|
|
|
6176
6176
|
const param = { uid, properties: { menuName: prompt, menuTitle: prompt, menuType: 'component' }, checkedInUserName: account_info.first_name + ' ' + account_info.last_name, app_id, parentId: 'programs' };
|
|
6177
6177
|
let component_doc = createDoc(param);
|
|
6178
6178
|
component_doc.studio_meta.miniApp = true;
|
|
6179
|
-
component_doc.studio_meta.account_profiles[account_profile_obj._id];
|
|
6179
|
+
component_doc.studio_meta.account_profiles = [account_profile_obj._id];
|
|
6180
6180
|
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' } }, account_profile_info);
|
|
6181
6181
|
component_doc.properties.menuName = name.data;
|
|
6182
6182
|
component_doc.properties.menuTitle = name.data;
|