@xuda.io/ai_module 1.1.5383 → 1.1.5385
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 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -3477,6 +3477,7 @@ function getFirstNWords(text, n = 10) {
|
|
|
3477
3477
|
}
|
|
3478
3478
|
|
|
3479
3479
|
export const create_conversation = async function (req, job_id, headers) {
|
|
3480
|
+
debugger;
|
|
3480
3481
|
const { profile_id, uid, prompt, perform_ai_execution = true, email_id, direction = 'out', from_mailbox, date_created, ai_model = _conf.default_ai_model } = req;
|
|
3481
3482
|
let { reference_type, reference_id = '', conversation_type, email_recipient_type } = req;
|
|
3482
3483
|
|
|
@@ -3694,6 +3695,7 @@ const contactGuardrailAgent = new Agent({
|
|
|
3694
3695
|
// };
|
|
3695
3696
|
|
|
3696
3697
|
export const submit_chat_conversation = async function (req, job_id, headers) {
|
|
3698
|
+
debugger;
|
|
3697
3699
|
const { profile_id, uid } = req;
|
|
3698
3700
|
let { conversation_id } = req;
|
|
3699
3701
|
try {
|