@xuda.io/ai_module 1.1.5012 → 1.1.5014
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 +3 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1349,7 +1349,8 @@ export const get_ai_chats = async function (req, job_id, headers) {
|
|
|
1349
1349
|
|
|
1350
1350
|
if (filter_type !== 'pending') {
|
|
1351
1351
|
ai_chats = await get_data_find();
|
|
1352
|
-
get_data_view();
|
|
1352
|
+
// get_data_view();
|
|
1353
|
+
|
|
1353
1354
|
// ai_chats = await db_module.find_app_couch_query(account_profile_info.app_id, opt);
|
|
1354
1355
|
// if (!limit || conversation_id) {
|
|
1355
1356
|
// ai_chats.total_docs = ai_chats.docs.length;
|
|
@@ -1923,6 +1924,7 @@ const get_user_ai_agents = async function (uid) {
|
|
|
1923
1924
|
};
|
|
1924
1925
|
|
|
1925
1926
|
export const get_ai_agents = async function (req, job_id, headers) {
|
|
1927
|
+
debugger;
|
|
1926
1928
|
let { uid, _id, search, filter_type = 'all', limit, skip, agent_id, profile_id } = req;
|
|
1927
1929
|
const account_profile_info = await get_active_account_profile_info(uid, profile_id);
|
|
1928
1930
|
try {
|