@xuda.io/ai_module 1.1.4998 → 1.1.4999

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 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -70,6 +70,7 @@ const email_ms = await import(`${module_path}/email_module/index_ms.mjs`);
70
70
 
71
71
  const ws_dashboard_msa = await import(`${module_path}/ws_dashboard_module/index_msa.mjs`);
72
72
  const account_msa = await import(`${module_path}/account_module/index_msa.mjs`);
73
+ const drive_msa = await import(`${module_path}/drive_module/index_msa.mjs`);
73
74
 
74
75
  var open_ai_status = {};
75
76
  const report_ai_status = function (model, err) {
@@ -1404,7 +1405,7 @@ export const delete_ai_chat = async function (req) {
1404
1405
  }
1405
1406
 
1406
1407
  if (conversation_doc?.chat_image?.[0]) {
1407
- drive_ms.delete_drive_files({ uid, drive_type: 'user', files_arr: [{ type: 'file', file_path: path.join(conversation_doc.chat_image[0].file_path, conversation_doc.chat_image[0].filename) }] });
1408
+ drive_msa.delete_drive_files({ uid, drive_type: 'user', files_arr: [{ type: 'file', file_path: path.join(conversation_doc.chat_image[0].file_path, conversation_doc.chat_image[0].filename) }] });
1408
1409
  }
1409
1410
  }
1410
1411
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4998",
3
+ "version": "1.1.4999",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",