@xuda.io/ai_module 1.1.4929 → 1.1.4930

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 +1 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1806,7 +1806,7 @@ export const get_ai_agent_info = async function (uid, job_id, headers, doc, from
1806
1806
  if (!from_marketplace) {
1807
1807
  doc.interactions = 0;
1808
1808
  doc.chats = 0;
1809
- const chats_ret; // = await get_ai_chats({ uid, reference_id: doc._id }, job_id, headers);
1809
+ const chats_ret = []; // = await get_ai_chats({ uid, reference_id: doc._id }, job_id, headers);
1810
1810
 
1811
1811
  for (let chat of chats_ret?.data?.docs || []) {
1812
1812
  doc.chats++;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4929",
3
+ "version": "1.1.4930",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",