@xuda.io/ai_module 1.1.4935 → 1.1.4937
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 +4 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1536,6 +1536,8 @@ const get_studio_doc = async function (req) {
|
|
|
1536
1536
|
};
|
|
1537
1537
|
|
|
1538
1538
|
export const get_ai_agent_info = async function (uid, job_id, headers, doc, from_marketplace) {
|
|
1539
|
+
const account_profile_info = await account_ms.get_active_account_profile_info(uid);
|
|
1540
|
+
|
|
1539
1541
|
const get_contact_border = function (doc) {
|
|
1540
1542
|
const disable_color = `#1a3557`;
|
|
1541
1543
|
let ret;
|
|
@@ -1841,7 +1843,7 @@ export const get_ai_agent_info = async function (uid, job_id, headers, doc, from
|
|
|
1841
1843
|
};
|
|
1842
1844
|
|
|
1843
1845
|
const get_user_ai_agents = async function (uid) {
|
|
1844
|
-
const account_profile_info = await account_ms.get_active_account_profile_info(uid);
|
|
1846
|
+
// const account_profile_info = await account_ms.get_active_account_profile_info(uid);
|
|
1845
1847
|
|
|
1846
1848
|
let opt = {
|
|
1847
1849
|
selector: {
|
|
@@ -1981,7 +1983,7 @@ export const get_ai_agents = async function (req, job_id, headers) {
|
|
|
1981
1983
|
}
|
|
1982
1984
|
|
|
1983
1985
|
//////////////////////
|
|
1984
|
-
|
|
1986
|
+
|
|
1985
1987
|
let docs = [];
|
|
1986
1988
|
for (let doc of user_agents.docs) {
|
|
1987
1989
|
let reference_doc;
|