@xuda.io/ai_module 1.1.4504 → 1.1.4506

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 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1733,8 +1733,12 @@ export const get_chat_conversation = async function (req) {
1733
1733
  let conversation = await db_module.find_app_couch_query(account_profile_info.app_id, {
1734
1734
  selector: {
1735
1735
  docType: 'chat_conversation_item',
1736
+ conversation_id: conversation_id,
1736
1737
  stat: 3,
1737
1738
  },
1739
+ limit,
1740
+ skip,
1741
+ sort: ['date_created_ts'],
1738
1742
  });
1739
1743
 
1740
1744
  return { code: 15, data: { conversation, ...conversation_doc } };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4504",
3
+ "version": "1.1.4506",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",