@xuda.io/ai_module 1.1.4121 → 1.1.4123

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
@@ -5476,7 +5476,7 @@ const get_plugin_tool = async function (app_id, uid, plugin_name, method, prop_d
5476
5476
  }
5477
5477
  };
5478
5478
 
5479
- const create_and_upload_image_to_drive = async function (drive_type, file_path, file_name, prompt, numGenerations, uid, app_id, job_id, headers, is_system, tags = [], width, height) {
5479
+ const create_and_upload_image_to_drive = async function (drive_type, file_path, file_name, prompt, numGenerations, uid, app_id, job_id, headers = {}, is_system, tags = [], width, height) {
5480
5480
  try {
5481
5481
  // 1. Generate the images
5482
5482
  let result = await create_image(uid, prompt, undefined, undefined, numGenerations, undefined, undefined, { drive_type, file_path, file_name });
@@ -6043,7 +6043,7 @@ export const get_ai_workspace_pending_counts = async function (req, job_id, head
6043
6043
  break;
6044
6044
 
6045
6045
  case 'account_profile':
6046
- data['account_profile'] = item.value;
6046
+ data['account_profiles'] = item.value;
6047
6047
  break;
6048
6048
 
6049
6049
  case 'user_drive':
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4121",
3
+ "version": "1.1.4123",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",