@xuda.io/ai_module 1.1.4505 → 1.1.4507

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
@@ -1713,7 +1713,7 @@ const check_studio_doc_tool = tool({
1713
1713
  // };
1714
1714
 
1715
1715
  export const get_chat_conversation = async function (req) {
1716
- let { conversation_id, order = 'asc', limit, after, _id, uid } = req;
1716
+ let { conversation_id, order = 'asc', limit = 9999, skip = 0, _id, uid } = req;
1717
1717
 
1718
1718
  const account_profile_info = await account_module.get_active_account_profile_info(uid);
1719
1719
 
@@ -1736,6 +1736,9 @@ export const get_chat_conversation = async function (req) {
1736
1736
  conversation_id: conversation_id,
1737
1737
  stat: 3,
1738
1738
  },
1739
+ limit,
1740
+ skip,
1741
+ sort: ['date_created_ts'],
1739
1742
  });
1740
1743
 
1741
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.4505",
3
+ "version": "1.1.4507",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",