@xuda.io/ai_module 1.1.4663 → 1.1.4664

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 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -4206,7 +4206,9 @@ export const create_conversation = async function (req, job_id, headers) {
4206
4206
  }
4207
4207
 
4208
4208
  setTimeout(async () => {
4209
- process_conversation(uid, conversation_doc._id, account_profile_info, job_id, headers);
4209
+ if (perform_ai_execution) {
4210
+ process_conversation(uid, conversation_doc._id, account_profile_info, job_id, headers);
4211
+ }
4210
4212
  // // Ask GPT for title
4211
4213
  // if (conversation_type !== 'email') {
4212
4214
  // if (prompt.split(' ').length > 10) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4663",
3
+ "version": "1.1.4664",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",