@xuda.io/ai_module 1.1.5020 → 1.1.5022

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 +3 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1284,6 +1284,7 @@ export const get_ai_chats = async function (req, job_id, headers) {
1284
1284
  };
1285
1285
 
1286
1286
  const get_data_view = async function () {
1287
+ debugger;
1287
1288
  const { account_profile_info, filter_type = 'default', conversation_type, reference_id, conversation_id, search, limit = 9999, skip = 0 } = params;
1288
1289
 
1289
1290
  const profileId = account_profile_info.is_main ? 'ADMIN_OR_ALL' : account_profile_info.account_profile_id;
@@ -1387,8 +1388,8 @@ export const get_ai_chats = async function (req, job_id, headers) {
1387
1388
 
1388
1389
  if (filter_type !== 'pending') {
1389
1390
  ai_chats = await get_data_find();
1390
- // get_data_view();
1391
-
1391
+ let aa = await get_data_view();
1392
+ debugger;
1392
1393
  // ai_chats = await db_module.find_app_couch_query(account_profile_info.app_id, opt);
1393
1394
  // if (!limit || conversation_id) {
1394
1395
  // ai_chats.total_docs = ai_chats.docs.length;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5020",
3
+ "version": "1.1.5022",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",