@xuda.io/ai_module 1.1.4735 → 1.1.4736
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
|
@@ -4629,6 +4629,7 @@ const chat_note = async function (req, job_id, headers) {
|
|
|
4629
4629
|
direction: 'out',
|
|
4630
4630
|
role: 'user',
|
|
4631
4631
|
read: { [uid]: Date.now() },
|
|
4632
|
+
rtl: _common.detectRTL(body),
|
|
4632
4633
|
};
|
|
4633
4634
|
|
|
4634
4635
|
const save_ret = await db_module.save_app_couch_doc(sender_app_id, out_conversation_item_obj);
|
|
@@ -4749,6 +4750,7 @@ const chat_email = async function (req, job_id, headers) {
|
|
|
4749
4750
|
email_id,
|
|
4750
4751
|
subject,
|
|
4751
4752
|
last_email_item_id: last_email_item?._id,
|
|
4753
|
+
rtl: _common.detectRTL(body),
|
|
4752
4754
|
};
|
|
4753
4755
|
|
|
4754
4756
|
const save_ret = await db_module.save_app_couch_doc(sender_app_id, out_conversation_item_obj);
|