@xuda.io/ai_module 1.1.4974 → 1.1.4976

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 +3 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -61,7 +61,7 @@ const { init, check, check_structure, get_zod_schema, get_fields_z_schema } = aw
61
61
 
62
62
  const { get_xuda_couch } = _common;
63
63
 
64
- const db_ms = await import(`${module_path}/db_module/index_ms.mjs`);
64
+ const db_module = await import(`${module_path}/db_module/index.mjs`);
65
65
  const account_ms = await import(`${module_path}/account_module/index_ms.mjs`);
66
66
  const drive_ms = await import(`${module_path}/drive_module/index_ms.mjs`);
67
67
  const jobs_ms = await import(`${module_path}/jobs_module/index_ms.mjs`);
@@ -3375,7 +3375,7 @@ export const create_conversation = async function (req, job_id, headers) {
3375
3375
  throw new Error('The user profile must include a defined email_account_id');
3376
3376
  }
3377
3377
  }
3378
- debugger;
3378
+
3379
3379
  let { data: ai_credits } = await account_ms.get_account_ai_usage({ uid: account_profile_info.uid });
3380
3380
 
3381
3381
  if (ai_credits.credits.total - ai_credits.usage.total < -0.5) {
@@ -3441,6 +3441,7 @@ export const create_conversation = async function (req, job_id, headers) {
3441
3441
  }
3442
3442
 
3443
3443
  setTimeout(async () => {
3444
+ debugger;
3444
3445
  if (perform_ai_execution) {
3445
3446
  await process_conversation(uid, conversation_doc._id, account_profile_info, job_id, headers);
3446
3447
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4974",
3
+ "version": "1.1.4976",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",