@xuda.io/ai_module 1.1.4508 → 1.1.4510
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 +2 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -4098,7 +4098,7 @@ export const create_conversation = async function (req, job_id, headers) {
|
|
|
4098
4098
|
const words = text.match(/\S+/g) || [];
|
|
4099
4099
|
return words.slice(0, 10).join(' ');
|
|
4100
4100
|
}
|
|
4101
|
-
|
|
4101
|
+
|
|
4102
4102
|
const account_profile_info = await account_module.get_active_account_profile_info(uid);
|
|
4103
4103
|
const { account_profile_obj } = account_profile_info;
|
|
4104
4104
|
|
|
@@ -4407,6 +4407,7 @@ const chat_note = async function (req, job_id, headers) {
|
|
|
4407
4407
|
};
|
|
4408
4408
|
|
|
4409
4409
|
const chat_email = async function (req, job_id, headers) {
|
|
4410
|
+
debugger;
|
|
4410
4411
|
const { uid, email_id, perform_ai_execution = true, from_mailbox } = req;
|
|
4411
4412
|
const account_profile_info = await account_module.get_active_account_profile_info(uid);
|
|
4412
4413
|
let { prompt: body, conversation_doc, attachments = [], ai_agents } = req;
|