@xuda.io/ai_module 1.1.5027 → 1.1.5028

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 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1307,8 +1307,8 @@ export const get_ai_chats = async function (req, job_id, headers) {
1307
1307
  include_docs: true, // Required for list function search and data retrieval
1308
1308
  startkey: JSON.stringify(startkey),
1309
1309
  endkey: JSON.stringify(endkey),
1310
- limit,
1311
- skip,
1310
+ limit: limit || 9999,
1311
+ skip: skip || 0,
1312
1312
  descending: !reference_id, // Descending for 'ts', Ascending for 'ref'
1313
1313
  };
1314
1314
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5027",
3
+ "version": "1.1.5028",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",