@xuda.io/ai_module 1.1.5469 → 1.1.5471

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 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -3006,6 +3006,7 @@ export const update_thumbnail = async function (type, doc, app_id, uid, job_id,
3006
3006
  }
3007
3007
 
3008
3008
  case 'mini_app': {
3009
+ debugger;
3009
3010
  if (doc.studio_meta.agent_image) return;
3010
3011
  prompt = `create image: ${doc.properties.menuName}`;
3011
3012
 
@@ -5364,7 +5365,7 @@ const get_plugin_tool = async function (app_id, uid, plugin_name, method, prop_d
5364
5365
 
5365
5366
  const fields = await get_fields_data(_method.fields, prop_data);
5366
5367
  const params = fields;
5367
- const env = { couch, app_id, uid, userName, agent_info };
5368
+ const env = { couch, app_id, uid, userName, agent_info, account_profile_obj };
5368
5369
  const setup_doc = plugin_doc.setup || { OPENAI_API_KEY: _conf.OPENAI_API_KEY };
5369
5370
 
5370
5371
  ///////////////////////
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5469",
3
+ "version": "1.1.5471",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",