@xuda.io/ai_module 1.1.4558 → 1.1.4559
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 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -4097,10 +4097,10 @@ function getFirstNWords(text, n = 10) {
|
|
|
4097
4097
|
}
|
|
4098
4098
|
|
|
4099
4099
|
export const create_conversation = async function (req, job_id, headers) {
|
|
4100
|
-
const { uid, prompt, perform_ai_execution = true, email_id, email_direction = 'out', from_mailbox } = req;
|
|
4100
|
+
const { profile_id, uid, prompt, perform_ai_execution = true, email_id, email_direction = 'out', from_mailbox } = req;
|
|
4101
4101
|
let { reference_type, reference_id = '', conversation_type } = req;
|
|
4102
4102
|
|
|
4103
|
-
const account_profile_info = await account_module.get_active_account_profile_info(uid);
|
|
4103
|
+
const account_profile_info = await account_module.get_active_account_profile_info(uid, profile_id);
|
|
4104
4104
|
const { account_profile_obj } = account_profile_info;
|
|
4105
4105
|
try {
|
|
4106
4106
|
if (conversation_type === 'email') {
|