@xuda.io/ai_module 1.1.3539 → 1.1.3540
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 +11 -6
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1749,15 +1749,20 @@ export const get_ai_chats = async function (req, job_id, headers) {
|
|
|
1749
1749
|
return ret;
|
|
1750
1750
|
};
|
|
1751
1751
|
|
|
1752
|
-
let opt = {
|
|
1753
|
-
docType: 'chat_conversation',
|
|
1754
|
-
stat: 3,
|
|
1755
|
-
reference_id: '',
|
|
1756
|
-
};
|
|
1757
|
-
|
|
1758
1752
|
try {
|
|
1759
1753
|
if (_id) return await get_ai_doc({ _id, uid });
|
|
1760
1754
|
|
|
1755
|
+
let opt = {
|
|
1756
|
+
selector: {
|
|
1757
|
+
docType: 'chat_conversation',
|
|
1758
|
+
stat: 3,
|
|
1759
|
+
reference_id: '',
|
|
1760
|
+
},
|
|
1761
|
+
};
|
|
1762
|
+
|
|
1763
|
+
if (archived) {
|
|
1764
|
+
}
|
|
1765
|
+
|
|
1761
1766
|
const app_id = await account_module.get_account_default_project_id(uid);
|
|
1762
1767
|
|
|
1763
1768
|
////// FROM - IN
|