@xuda.io/ai_module 1.1.5007 → 1.1.5009

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 +4 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1287,7 +1287,10 @@ export const get_ai_chats = async function (req, job_id, headers) {
1287
1287
  let stat = 3;
1288
1288
 
1289
1289
  const ret = await db_module.get_app_couch_view(account_profile_info.app_id, 'ai_chat_list', {
1290
- key: [stat, reference_id],
1290
+ startkey: [stat, reference_id, 0],
1291
+ endkey: [stat, reference_id, 9999999999999],
1292
+ limit: limit || 9999,
1293
+ skip: skip || 0,
1291
1294
  include_docs: true,
1292
1295
  });
1293
1296
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5007",
3
+ "version": "1.1.5009",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",