@xuda.io/ai_module 1.1.5281 → 1.1.5283
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.
- package/index.mjs +5 -5
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -3074,7 +3074,7 @@ const get_drive_file_response = async function (drive_type, app_id, uid, file_pa
|
|
|
3074
3074
|
}
|
|
3075
3075
|
|
|
3076
3076
|
const doc = check_existing_file_ret.duplicates[0];
|
|
3077
|
-
const _region = process.env.XUDA_HOSTNAME; // "eu.xuda.
|
|
3077
|
+
const _region = process.env.XUDA_HOSTNAME; // "eu.xuda.ai"; //
|
|
3078
3078
|
let file_location = doc?.bucket?.[_region]?.Location;
|
|
3079
3079
|
if (!file_location) {
|
|
3080
3080
|
file_location = doc?.bucket?.[process.env.XUDA_HOSTNAME_ALT]?.Location;
|
|
@@ -4805,7 +4805,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4805
4805
|
}
|
|
4806
4806
|
///////////
|
|
4807
4807
|
|
|
4808
|
-
if (reference_type === 'ai_agents' ||
|
|
4808
|
+
if (reference_type === 'ai_agents' || prompt_suggestion_activated) {
|
|
4809
4809
|
_agent = agents[0];
|
|
4810
4810
|
|
|
4811
4811
|
set_ts_to_agent();
|
|
@@ -5001,7 +5001,7 @@ setTimeout(async () => {
|
|
|
5001
5001
|
|
|
5002
5002
|
// ret = await drive_ms.delete_drive_files({ uid, drive_type: 'user', files_arr: [{ type: 'file', file_path: path.join('/Chat Thumbnails', 'conv_69368cb025208194bce284cf2185d7b80321fd7a19a74e74.png') }] });
|
|
5003
5003
|
// ret = await drive_ms.delete_file_from_bucket({
|
|
5004
|
-
// 'dev.xuda.
|
|
5004
|
+
// 'dev.xuda.ai': {
|
|
5005
5005
|
// ETag: '"0e89207990ce19d8b3e61dfea6e61919"',
|
|
5006
5006
|
// $metadata: {
|
|
5007
5007
|
// httpStatusCode: 200,
|
|
@@ -5010,8 +5010,8 @@ setTimeout(async () => {
|
|
|
5010
5010
|
// totalRetryDelay: 0,
|
|
5011
5011
|
// },
|
|
5012
5012
|
// Bucket: 'xuda-bucket-dev',
|
|
5013
|
-
// Key: 'dev.
|
|
5014
|
-
// Location: 'https://xuda-bucket-dev.nyc3.digitaloceanspaces.com/dev.xuda.
|
|
5013
|
+
// Key: 'dev.ai/user/d39126e0e2c51ffbd1aad10709fc8335/cb7353fc-4788-49b7-8e73-f7f1be108b69_drv_d39126e0e2c51ffbd1aad10709fc8335_b92337f79e090a2f287bc3dc35d0033e.png',
|
|
5014
|
+
// Location: 'https://xuda-bucket-dev.nyc3.digitaloceanspaces.com/dev.xuda.ai/user/d39126e0e2c51ffbd1aad10709fc8335/cb7353fc-4788-49b7-8e73-f7f1be108b69_drv_d39126e0e2c51ffbd1aad10709fc8335_b92337f79e090a2f287bc3dc35d0033e.png',
|
|
5015
5015
|
// },
|
|
5016
5016
|
// });
|
|
5017
5017
|
|