@xuda.io/ai_module 1.1.3736 → 1.1.3738

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
@@ -2486,6 +2486,7 @@ export const get_ai_agents = async function (req, job_id, headers) {
2486
2486
  reference_doc = _.cloneDeep(doc);
2487
2487
  doc = await db_module.get_app_couch_doc_native(reference_doc.studio_meta.installed_from_app_id, doc._id);
2488
2488
  doc.reference_doc = reference_doc;
2489
+ doc.stat = reference_doc.stat;
2489
2490
  }
2490
2491
 
2491
2492
  let info_doc = await get_ai_agent_info(uid, job_id, headers, doc);
@@ -2500,7 +2501,7 @@ export const get_ai_agents = async function (req, job_id, headers) {
2500
2501
  };
2501
2502
 
2502
2503
  export const delete_ai_agent = async function (req) {
2503
- let { agent_id, uid } = req;
2504
+ let { agent_id, uid, app_id } = req;
2504
2505
 
2505
2506
  const project_db = await get_account_project_db(uid);
2506
2507
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3736",
3
+ "version": "1.1.3738",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",