@xuda.io/ai_module 1.1.4150 → 1.1.4151

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
@@ -4133,7 +4133,7 @@ export const create_conversation = async function (req, job_id, headers) {
4133
4133
 
4134
4134
  const account_profile_info = await account_module.get_active_account_profile_info(uid);
4135
4135
 
4136
- const app_id = await account_module.get_account_default_project_id(uid);
4136
+ // const app_id = await account_module.get_account_default_project_id(uid);
4137
4137
 
4138
4138
  try {
4139
4139
  const conversation_obj = await client.conversations.create();
@@ -4365,7 +4365,7 @@ const contact_chat_conversation = async function (req, job_id, headers) {
4365
4365
  let { prompt, conversation_doc, attachments = [], ai_agents } = req;
4366
4366
 
4367
4367
  const conversation_id = conversation_doc._id;
4368
-
4368
+ const { account_profile_info } = conversation_doc;
4369
4369
  const receiver_contact_doc = await account_module.get_contact_info(uid, null, conversation_doc.reference_id);
4370
4370
  const receiver_app_id = await account_module.get_account_default_project_id(receiver_contact_doc.contact_uid);
4371
4371
  let receiver_conversation_doc = await db_module.get_app_couch_doc_native(receiver_app_id, conversation_id);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4150",
3
+ "version": "1.1.4151",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",