@xuda.io/ai_module 1.1.4937 → 1.1.4938

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 +2 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1819,9 +1819,8 @@ export const get_ai_agent_info = async function (uid, job_id, headers, doc, from
1819
1819
  }
1820
1820
  if (!from_marketplace) {
1821
1821
  doc.interactions = 0;
1822
- doc.chats = 0;
1823
- debugger;
1824
- const aa = await agent_conversation_count(doc._id);
1822
+ doc.chats = await agent_conversation_count(doc._id);
1823
+
1825
1824
  // const chats_ret = await get_ai_chats({ uid, reference_id: doc._id }, job_id, headers);
1826
1825
 
1827
1826
  // for (let chat of chats_ret?.data?.docs || []) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4937",
3
+ "version": "1.1.4938",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",