@xuda.io/ai_module 1.1.3968 → 1.1.3970

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 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2380,11 +2380,10 @@ const get_user_ai_agents = async function (uid) {
2380
2380
  stat: 3,
2381
2381
  'properties.menuType': 'ai_agent',
2382
2382
  },
2383
- limit: limit || 9999,
2384
- skip: skip || 0,
2383
+
2385
2384
  sort: ['ts'],
2386
2385
  };
2387
- user_agents = await db_module.find_app_couch_query(app_id, opt);
2386
+ return await db_module.find_app_couch_query(app_id, opt);
2388
2387
  };
2389
2388
 
2390
2389
  export const get_ai_agents = async function (req, job_id, headers) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3968",
3
+ "version": "1.1.3970",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",