@xuda.io/ai_module 1.1.4883 → 1.1.4884
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
|
@@ -3972,7 +3972,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
3972
3972
|
|
|
3973
3973
|
let out_conversation_item_obj = {
|
|
3974
3974
|
_id: await _common.xuda_get_uuid('chat_conversation_item'),
|
|
3975
|
-
stat: 1,
|
|
3975
|
+
stat: 3, //1,
|
|
3976
3976
|
docType: 'chat_conversation_item',
|
|
3977
3977
|
uid,
|
|
3978
3978
|
conversation_type: 'ai_chat',
|
|
@@ -4644,7 +4644,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4644
4644
|
let conversation_items = await client.conversations.items.list(conversation_doc.reference_conversation_id, { order: 'asc', after: last_conversation_item });
|
|
4645
4645
|
|
|
4646
4646
|
let out_conversation_item_doc = await db_module.get_app_couch_doc_native(account_profile_info.app_id, out_conversation_item_obj._id);
|
|
4647
|
-
out_conversation_item_doc.stat = 3;
|
|
4647
|
+
// out_conversation_item_doc.stat = 3;
|
|
4648
4648
|
out_conversation_item_doc.conversation_item_reference_id = conversation_items?.data?.[0]?.id;
|
|
4649
4649
|
await db_module.save_app_couch_doc_native(account_profile_info.app_id, out_conversation_item_doc);
|
|
4650
4650
|
|