@xuda.io/ai_module 1.1.3541 → 1.1.3543
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 +12 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1761,7 +1761,18 @@ export const get_ai_chats = async function (req, job_id, headers) {
|
|
|
1761
1761
|
};
|
|
1762
1762
|
|
|
1763
1763
|
if (archived) {
|
|
1764
|
-
opt.selector = 1;
|
|
1764
|
+
opt.selector.stat = 1;
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
if (conversation_type) {
|
|
1768
|
+
opt.selector.conversation_type = conversation_type;
|
|
1769
|
+
}
|
|
1770
|
+
|
|
1771
|
+
if (reference_id) {
|
|
1772
|
+
opt.selector.reference_id = reference_id;
|
|
1773
|
+
}
|
|
1774
|
+
if (reference_id) {
|
|
1775
|
+
opt.selector.shared_from_uid = { $lt: null };
|
|
1765
1776
|
}
|
|
1766
1777
|
|
|
1767
1778
|
const app_id = await account_module.get_account_default_project_id(uid);
|