@xuda.io/ai_module 1.1.4929 → 1.1.4931
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
|
@@ -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++;
|