@xuda.io/ai_module 1.1.3739 → 1.1.3741

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
@@ -2363,8 +2363,8 @@ export const get_ai_agent_info = async function (uid, job_id, headers, doc, from
2363
2363
  doc.icon_pattern = 'ai-agent-pattern.png';
2364
2364
 
2365
2365
  if (!from_marketplace) {
2366
- if (doc.studio_meta.shared_from_uid) {
2367
- const shared_from_uid_ret = await account_module.get_account_name({ uid_query: doc.studio_meta.shared_from_uid });
2366
+ if (doc?.reference_doc?.studio_meta?.shared_from_uid) {
2367
+ const shared_from_uid_ret = await account_module.get_account_name({ uid_query: doc.reference_doc.studio_meta.shared_from_uid });
2368
2368
  doc.icon_pattern = shared_from_uid_ret.data.profile_avatar;
2369
2369
  }
2370
2370
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3739",
3
+ "version": "1.1.3741",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",