@xuda.io/ai_module 1.1.4937 → 1.1.4939
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 +3 -4
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1815,13 +1815,12 @@ export const get_ai_agent_info = async function (uid, job_id, headers, doc, from
|
|
|
1815
1815
|
}
|
|
1816
1816
|
|
|
1817
1817
|
if (doc?.studio_meta?.createdByUid) {
|
|
1818
|
-
doc.user_contact = await account_ms.get_user_card(uid, doc.studio_meta.createdByUid);
|
|
1818
|
+
// doc.user_contact = await account_ms.get_user_card(uid, doc.studio_meta.createdByUid);
|
|
1819
1819
|
}
|
|
1820
1820
|
if (!from_marketplace) {
|
|
1821
1821
|
doc.interactions = 0;
|
|
1822
|
-
doc.chats =
|
|
1823
|
-
|
|
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 || []) {
|