@xuda.io/ai_module 1.1.3722 → 1.1.3724

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
@@ -2361,7 +2361,7 @@ export const get_ai_agent_info = async function (uid, job_id, headers, doc, from
2361
2361
  doc.border = get_contact_border(doc);
2362
2362
  doc.card_background = get_background(doc);
2363
2363
  doc.icon_pattern = 'ai-agent-pattern.png';
2364
- debugger;
2364
+
2365
2365
  if (!from_marketplace) {
2366
2366
  if (doc.studio_meta.shared_from_uid) {
2367
2367
  const shared_from_uid_ret = await account_module.get_account_name({ uid_query: doc.studio_meta.shared_from_uid });
@@ -2469,7 +2469,7 @@ export const get_ai_agents = async function (req, job_id, headers) {
2469
2469
  let docs = [];
2470
2470
  for (let doc of user_agents.docs) {
2471
2471
  let reference_doc;
2472
- if (doc.studio_meta.shared_from_uid) {
2472
+ if (doc.studio_meta.shared_from_uid && doc.studio_meta.shared_from_app_id) {
2473
2473
  debugger;
2474
2474
  reference_doc = _.cloneDeep(doc);
2475
2475
  doc = await db_module.get_app_couch_doc_native(reference_doc.studio_meta.shared_from_app_id, reference_doc.studio_meta.share_item_id);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3722",
3
+ "version": "1.1.3724",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",