@xuda.io/ai_module 1.1.5075 → 1.1.5077

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 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1346,7 +1346,9 @@ export const get_ai_chats = async function (req, job_id, headers) {
1346
1346
  }
1347
1347
 
1348
1348
  for (let val of ret.rows || []) {
1349
- docs.push(conversations[val.value.conversation_id]);
1349
+ if (val.value.type === 'conversation') {
1350
+ docs.push(conversations[val.value.conversation_id]);
1351
+ }
1350
1352
  }
1351
1353
 
1352
1354
  return { docs };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5075",
3
+ "version": "1.1.5077",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",