@xuda.io/ai_module 1.1.4944 → 1.1.4946

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 +5 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1536,7 +1536,7 @@ const get_studio_doc = async function (req) {
1536
1536
  };
1537
1537
 
1538
1538
  export const get_ai_agent_info = async function (uid, job_id, headers, doc, from_marketplace) {
1539
- const account_profile_info = await account_ms.get_active_account_profile_info(uid);
1539
+ const account_profile_info = await get_active_account_profile_info(uid);
1540
1540
 
1541
1541
  const get_contact_border = function (doc) {
1542
1542
  const disable_color = `#1a3557`;
@@ -10715,7 +10715,10 @@ const get_active_account_profile_info = async function (uid) {
10715
10715
  try {
10716
10716
  account_profile_info = db_module.get_memcached_doc(key);
10717
10717
  } catch (error) {
10718
- account_profile_info = await account_ms.get_active_account_profile_info(uid);
10718
+ try {
10719
+ account_profile_info = await account_ms.get_active_account_profile_info(uid);
10720
+ db_module.set_memcached_doc(key, account_profile_info);
10721
+ } catch (error) {}
10719
10722
  }
10720
10723
 
10721
10724
  return account_profile_info;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4944",
3
+ "version": "1.1.4946",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",