@xuda.io/ai_module 1.1.5075 → 1.1.5076
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 +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1346,7 +1346,7 @@ 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') docs.push(conversations[val.value.conversation_id]);
|
|
1350
1350
|
}
|
|
1351
1351
|
|
|
1352
1352
|
return { docs };
|