@xuda.io/ai_module 1.1.5385 → 1.1.5387

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 +0 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -3477,7 +3477,6 @@ function getFirstNWords(text, n = 10) {
3477
3477
  }
3478
3478
 
3479
3479
  export const create_conversation = async function (req, job_id, headers) {
3480
- debugger;
3481
3480
  const { profile_id, uid, prompt, perform_ai_execution = true, email_id, direction = 'out', from_mailbox, date_created, ai_model = _conf.default_ai_model } = req;
3482
3481
  let { reference_type, reference_id = '', conversation_type, email_recipient_type } = req;
3483
3482
 
@@ -3695,7 +3694,6 @@ const contactGuardrailAgent = new Agent({
3695
3694
  // };
3696
3695
 
3697
3696
  export const submit_chat_conversation = async function (req, job_id, headers) {
3698
- debugger;
3699
3697
  const { profile_id, uid } = req;
3700
3698
  let { conversation_id } = req;
3701
3699
  try {
@@ -4194,7 +4192,6 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4194
4192
  emitToDashboard('stream_phase', 'Deep thinking...', { allow_skip: true });
4195
4193
  return new Promise(async (resolve, reject) => {
4196
4194
  let interval = setInterval(async function () {
4197
- console.log(interval);
4198
4195
  const job_info = await jobs_ms.get_job_info({ job_id });
4199
4196
 
4200
4197
  if (job_info.code < 0 || job_info.data.stat === 4) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5385",
3
+ "version": "1.1.5387",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",