@xuda.io/ai_module 1.1.5467 → 1.1.5469

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 +4 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2947,7 +2947,7 @@ export const update_ai_agent_properties = async function (doc, app_id, uid, fiel
2947
2947
 
2948
2948
  export const update_thumbnail = async function (type, doc, app_id, uid, job_id, headers, xuda_db, tags, account_profile_info) {
2949
2949
  let prompt = '';
2950
- debugger;
2950
+
2951
2951
  // setTimeout(async () => {
2952
2952
  try {
2953
2953
  const get_db_doc = async function () {
@@ -5285,6 +5285,9 @@ const run_plugin = async function (app_id, uid, plugin_name, method, prop_data,
5285
5285
  };
5286
5286
 
5287
5287
  const get_plugin_tool = async function (app_id, uid, plugin_name, method, prop_data, dev = true, req = {}, agent_info = {}) {
5288
+ const account_profile_info = await get_active_account_profile_info(uid);
5289
+ const { account_profile_obj } = account_profile_info;
5290
+
5288
5291
  const db_module = await import(`${module_path}/db_module/index.mjs`);
5289
5292
 
5290
5293
  init(undefined, undefined, _, true, undefined, undefined, undefined, undefined, undefined, true, z);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5467",
3
+ "version": "1.1.5469",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",