@xuda.io/ai_module 1.1.5490 → 1.1.5492

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 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -4123,6 +4123,9 @@ const auto_response = async function (uid, profile_id, conversation_id) {
4123
4123
  let account_doc = await db_module.get_couch_doc_native('xuda_accounts', uid);
4124
4124
 
4125
4125
  if (account_profile_doc.auto_respond_mode === 'when_offline' && account_doc.socket_id) return;
4126
+ if (account_profile_doc.auto_respond_mode !== 'always') return;
4127
+
4128
+ ///
4126
4129
  };
4127
4130
 
4128
4131
  const ai_chat_conversation = async function (req, job_id, headers) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5490",
3
+ "version": "1.1.5492",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",