@xuda.io/ai_module 1.1.3542 → 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.
Files changed (2) hide show
  1. package/index.mjs +3 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1771,6 +1771,9 @@ export const get_ai_chats = async function (req, job_id, headers) {
1771
1771
  if (reference_id) {
1772
1772
  opt.selector.reference_id = reference_id;
1773
1773
  }
1774
+ if (reference_id) {
1775
+ opt.selector.shared_from_uid = { $lt: null };
1776
+ }
1774
1777
 
1775
1778
  const app_id = await account_module.get_account_default_project_id(uid);
1776
1779
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3542",
3
+ "version": "1.1.3543",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",