@xuda.io/ai_module 1.1.5576 → 1.1.5578

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 +2 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1960,7 +1960,6 @@ export const get_ai_agent_info = async function (uid, job_id, headers, doc, from
1960
1960
  };
1961
1961
 
1962
1962
  const agent_conversation_count = async function (agent_id) {
1963
- debugger;
1964
1963
  const counts_ret = await db_module.get_app_couch_view(account_profile_info.app_id, 'chat_conversation_item_counts', {
1965
1964
  reduce: true,
1966
1965
  group_level: 1,
@@ -2006,6 +2005,7 @@ export const get_ai_agent_info = async function (uid, job_id, headers, doc, from
2006
2005
  };
2007
2006
 
2008
2007
  const get_user_ai_agents = async function (uid) {
2008
+ debugger;
2009
2009
  const account_profile_info = await get_active_account_profile_info(uid);
2010
2010
 
2011
2011
  let opt = {
@@ -2161,6 +2161,7 @@ export const get_ai_agents = async function (req, job_id, headers) {
2161
2161
  //////////////////////
2162
2162
 
2163
2163
  let docs = [];
2164
+ debugger;
2164
2165
  for (let doc of user_agents.docs) {
2165
2166
  let reference_doc;
2166
2167
  // shares
@@ -2191,7 +2192,6 @@ export const get_ai_agents = async function (req, job_id, headers) {
2191
2192
 
2192
2193
  return { code: 8, data: { docs: [...requests_from.docs, ...docs], total_docs: user_agents.total_docs + requests_from.total_docs } };
2193
2194
  } catch (err) {
2194
- debugger;
2195
2195
  return { code: -8, data: err.message };
2196
2196
  }
2197
2197
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5576",
3
+ "version": "1.1.5578",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",