@xuda.io/ai_module 1.1.5112 → 1.1.5114

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
@@ -1946,7 +1946,7 @@ export const get_ai_agent_info = async function (uid, job_id, headers, doc, from
1946
1946
  };
1947
1947
 
1948
1948
  const get_user_ai_agents = async function (uid) {
1949
- // const account_profile_info = await get_active_account_profile_info(uid);
1949
+ const account_profile_info = await get_active_account_profile_info(uid);
1950
1950
 
1951
1951
  let opt = {
1952
1952
  selector: {
@@ -10889,7 +10889,7 @@ export const get_chat_suggestions = async function (uid, ai_agents, conversation
10889
10889
  ai_agent_doc = await db_module.get_app_couch_doc_native(account_profile_info.app_id, ai_agent_doc.studio_meta.share_item_id);
10890
10890
  ai_agent_doc.reference_doc = reference_doc;
10891
10891
  }
10892
- list.push(ai_agent_doc);
10892
+ list.push({ agent_name: ai_agent_doc.properties.menuName, agent_category: ai_agent_doc.studio_meta.agent_category, agent_industry: ai_agent_doc.studio_meta.agent_industry });
10893
10893
  } catch (err) {
10894
10894
  throw new Error(err.message);
10895
10895
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5112",
3
+ "version": "1.1.5114",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",