@xuda.io/ai_module 1.1.5025 → 1.1.5026
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.
- package/index.mjs +2 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1384,9 +1384,10 @@ export const get_ai_chats = async function (req, job_id, headers) {
|
|
|
1384
1384
|
let ai_chats = { docs: [], total_docs: 0 };
|
|
1385
1385
|
|
|
1386
1386
|
if (filter_type !== 'pending') {
|
|
1387
|
-
ai_chats = await get_data_find();
|
|
1388
1387
|
let aa = await get_data_view();
|
|
1389
1388
|
debugger;
|
|
1389
|
+
ai_chats = await get_data_find();
|
|
1390
|
+
|
|
1390
1391
|
// ai_chats = await db_module.find_app_couch_query(account_profile_info.app_id, opt);
|
|
1391
1392
|
// if (!limit || conversation_id) {
|
|
1392
1393
|
// ai_chats.total_docs = ai_chats.docs.length;
|