@xuda.io/ai_module 1.1.5380 → 1.1.5382
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 +1 -3
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -3694,7 +3694,6 @@ const contactGuardrailAgent = new Agent({
|
|
|
3694
3694
|
// };
|
|
3695
3695
|
|
|
3696
3696
|
export const submit_chat_conversation = async function (req, job_id, headers) {
|
|
3697
|
-
debugger;
|
|
3698
3697
|
const { profile_id, uid } = req;
|
|
3699
3698
|
let { conversation_id } = req;
|
|
3700
3699
|
try {
|
|
@@ -3748,7 +3747,7 @@ export const submit_chat_conversation = async function (req, job_id, headers) {
|
|
|
3748
3747
|
conversation_doc.conversation_item_id = ret.data.id;
|
|
3749
3748
|
await db_module.save_app_couch_doc(account_profile_info.app_id, conversation_doc);
|
|
3750
3749
|
}
|
|
3751
|
-
|
|
3750
|
+
|
|
3752
3751
|
return ret;
|
|
3753
3752
|
} catch (err) {
|
|
3754
3753
|
return { code: -14, data: err.message || String(err) };
|
|
@@ -4741,7 +4740,6 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4741
4740
|
let counter = 0;
|
|
4742
4741
|
emitToDashboard('suggestions', JSON.stringify(prompt_suggestions), { countdown: true });
|
|
4743
4742
|
let interval = setInterval(async function () {
|
|
4744
|
-
console.log(interval);
|
|
4745
4743
|
counter++;
|
|
4746
4744
|
const job_info = await jobs_ms.get_job_info({ job_id });
|
|
4747
4745
|
|